diff options
author | Marco <marpan@google.com> | 2017-06-22 14:59:27 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2017-06-23 11:44:50 -0700 |
commit | 18805eee6c2a0c01b045a59a6ea95a1e02ab718a (patch) | |
tree | cc101fc3c5dc085000608583b04014a6d87fa2c7 /vp9/encoder/vp9_ratectrl.h | |
parent | 88a302e7430298de028c69408f151e3583b29021 (diff) | |
download | libvpx-18805eee6c2a0c01b045a59a6ea95a1e02ab718a.tar libvpx-18805eee6c2a0c01b045a59a6ea95a1e02ab718a.tar.gz libvpx-18805eee6c2a0c01b045a59a6ea95a1e02ab718a.tar.bz2 libvpx-18805eee6c2a0c01b045a59a6ea95a1e02ab718a.zip |
vp9: Use scene detection for CBR mode.
Use the scene detection for CBR mode, and use it to reset the
rate control if large source sad is detected and rate
correctioni fact/QP is at minimum state.
Avoids large frame sizes after big content change following
low content period.
Only affects CBR mode for 1 pass at speeds 5, 6, 7.
Change-Id: I56dd853478cd5849b32db776e9221e258998d874
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h index 9e4623195..c5bc173e2 100644 --- a/vp9/encoder/vp9_ratectrl.h +++ b/vp9/encoder/vp9_ratectrl.h @@ -169,6 +169,7 @@ typedef struct { int avg_frame_low_motion; int af_ratio_onepass_vbr; int force_qpmin; + int reset_high_source_sad; } RATE_CONTROL; struct VP9_COMP; |