]> granicus.if.org Git - libvpx/commit
Use source frame difference to make partition decision
authorYunqing Wang <yunqingwang@google.com>
Wed, 2 Apr 2014 00:32:20 +0000 (17:32 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 9 Apr 2014 00:03:02 +0000 (17:03 -0700)
commit4e66293fcb5b4779490faf8f40300e7e0096640e
treed770fe0a5fe94c6363be6a25c591208537d87ec5
parent06159fcd18b3438bb703a2baff4019aa6393b267
Use source frame difference to make partition decision

Calculate the difference variance between last source frame and
current source frame. The variance is calculated at 16x16 block
level. The variances are compared to several thresholds to decide
final partition sizes.

An adaptive strategy is implemented to decide using
SOURCE_VAR_BASED_PARTITION or FIXED_PARTITION based on motions
in the video. The switching test is done once every
search_type_check_frequency frames.

The selection of source_var_thresh needs to be investigated
further later.

RTC set Borg test showed 0.424% overall psnr gain, and 0.357%
ssim gain. For clips with large enough static area, the
encoding speedup is around 2% to 15%.

Change-Id: Id7d268f1d8cbca7fb8026aa4a53b3c77459dc156
vp9/common/vp9_rtcd_defs.pl
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.h
vp9/encoder/vp9_onyx_int.h
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h
vp9/encoder/vp9_variance.c