summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_svc_layercontext.h
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_svc_layercontext.h
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_svc_layercontext.h')
-rw-r--r--vp9/encoder/vp9_svc_layercontext.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_svc_layercontext.h b/vp9/encoder/vp9_svc_layercontext.h
index f1f2457b2..c25644617 100644
--- a/vp9/encoder/vp9_svc_layercontext.h
+++ b/vp9/encoder/vp9_svc_layercontext.h
@@ -143,10 +143,11 @@ typedef struct SVC {
INTER_LAYER_PRED disable_inter_layer_pred;
- // Flag to indicate scene change at current superframe, scene detection is
- // currently checked for each superframe prior to encoding, on the full
- // resolution source.
+ // Flag to indicate scene change and high num of motion blocks at current
+ // superframe, scene detection is currently checked for each superframe prior
+ // to encoding, on the full resolution source.
int high_source_sad_superframe;
+ int high_num_blocks_with_motion;
// Flags used to get SVC pattern info.
int update_buffer_slot[VPX_SS_MAX_LAYERS];