]> granicus.if.org Git - libvpx/commit
Enable various thresholds of motion detection
authorYaowu Xu <yaowu@google.com>
Tue, 20 May 2014 18:36:44 +0000 (11:36 -0700)
committerYaowu Xu <yaowu@google.com>
Wed, 21 May 2014 19:08:56 +0000 (12:08 -0700)
commit3bda7ec1bab9b7336cf3218d1e7596f79930208c
tree1844c8247fd81024eb1f3896fda9f02b3af3243c
parentd83295f2e1642461d2ac1415942258af95475781
Enable various thresholds of motion detection

This commit changed to enable the encoder to adjust motion dection
speed threshold based on picture size. In addition, cpu-used 1 now
does a partition search every other frame instead of every third
frame for low resolution inputs.

The change has no quality/speed impact for 720p and above. Test
showed the change increase encoding time by between 3% to 6% for
cpu-used 2 encodiong of 360p sequences. It also has a compression
gain about .3%.

For cpu-used 2, the change resolved some very disturbing visual
artifacts in certain sequences when large block partitionings and
transforms are used as a result of copying the partition from a
previous frame.

Change-Id: Ic7fd22508cdb811d4ca935655adbf20109286cfa
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h