summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2018-12-17 13:23:01 -0800
committerMarco Paniconi <marpan@google.com>2018-12-17 13:42:05 -0800
commite3e770dbf7fb49c7199b6d0378cf80d62e0666c8 (patch)
tree151a0c00af5d4f8ad4038d02be6ce099ffb438dc /vp9/encoder/vp9_encodeframe.c
parentc88a39bfeeb5223adf15670921b00bbeec72801a (diff)
downloadlibvpx-e3e770dbf7fb49c7199b6d0378cf80d62e0666c8.tar
libvpx-e3e770dbf7fb49c7199b6d0378cf80d62e0666c8.tar.gz
libvpx-e3e770dbf7fb49c7199b6d0378cf80d62e0666c8.tar.bz2
libvpx-e3e770dbf7fb49c7199b6d0378cf80d62e0666c8.zip
vp9-svc: Define rc scene change flag per superframe
Define the rc->high_num_blocks_with_motion, set in the scene change analysis, to be defined per superframe. This is used for increasing motion search area on some (super)frames, e.g., for scrolling. Also some code cleanup in rt_speed_feature_. No change in behavior. Change-Id: I1a5c04b9cd4aef1723ce42f82e981a2ca15c8b9d
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 98343f0d2..20fdf94cd 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1382,7 +1382,7 @@ static int choose_partitioning(VP9_COMP *cpi, const TileInfo *const tile,
x->sb_mvrow_part = mi->mv[0].as_mv.row;
if (cpi->oxcf.content == VP9E_CONTENT_SCREEN &&
cpi->svc.spatial_layer_id == 0 &&
- cpi->rc.high_num_blocks_with_motion && !x->zero_temp_sad_source &&
+ cpi->svc.high_num_blocks_with_motion && !x->zero_temp_sad_source &&
cm->width > 640 && cm->height > 480) {
// Disable split below 16x16 block size when scroll motion is detected.
// TODO(marpan/jianj): Improve this condition: issue is that search