vp9: Compute source sad for every superblock when partition copy is on.
authorJerome Jiang <jianj@google.com>
Thu, 5 Jan 2017 00:19:42 +0000 (16:19 -0800)
committerJerome Jiang <jianj@google.com>
Fri, 6 Jan 2017 17:59:02 +0000 (17:59 +0000)
commitafc8c4836fa711501f81a6d54cf0ffa49a2fb99f
tree36af487b1926c4648314c4f3317b942230658e29
parent72746c079d0b8631dad90f7c172ae19193405571
vp9: Compute source sad for every superblock when partition copy is on.

The source sad could be used to copy the partition without going into
choose_partitioning function to speed up vp9 encoding. Computing source
sad takes little time. Speed test on Android and Linux shows little
encoding time gain (less than 1.4%).

Turned off for now since partition copy is turned off.

Change-Id: I61c9d5b8f22329760cb29a4ee30a7f9c232ce8d3
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c