diff options
author | Marco <marpan@google.com> | 2016-04-21 14:00:26 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2016-04-22 08:09:39 -0700 |
commit | adf8533cee11093dfe200ba7e9b60b09237aa272 (patch) | |
tree | 9cba913a5e89b062ce72693f031cf3cfadd0b822 /vp9/encoder/vp9_encoder.h | |
parent | d179b784f93e7a1a4f4e89248edaf0a6dee81952 (diff) | |
download | libvpx-adf8533cee11093dfe200ba7e9b60b09237aa272.tar libvpx-adf8533cee11093dfe200ba7e9b60b09237aa272.tar.gz libvpx-adf8533cee11093dfe200ba7e9b60b09237aa272.tar.bz2 libvpx-adf8533cee11093dfe200ba7e9b60b09237aa272.zip |
vp9: Move consec_zero_mv from cyclic refresh to cpi struct.
So it can be used even with aq-mode=3 not enabled.
Also cleans up some code in the places where its used.
No change in behavior.
Change-Id: Ib6b265308dbd483f691200da9a0be4da4b380dbc
Diffstat (limited to 'vp9/encoder/vp9_encoder.h')
-rw-r--r-- | vp9/encoder/vp9_encoder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h index 2def941ef..8a5c4f40b 100644 --- a/vp9/encoder/vp9_encoder.h +++ b/vp9/encoder/vp9_encoder.h @@ -499,6 +499,9 @@ typedef struct VP9_COMP { NOISE_ESTIMATE noise_estimate; + // Count on how many consecutive times a block uses small/zeromv for encoding. + uint8_t *consec_zero_mv; + // VAR_BASED_PARTITION thresholds // 0 - threshold_64x64; 1 - threshold_32x32; // 2 - threshold_16x16; 3 - vbp_threshold_8x8; |