diff options
author | Marco <marpan@google.com> | 2016-10-06 16:01:04 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2016-10-07 11:13:06 -0700 |
commit | df66f8e830eef4e95323f87cc0a3697168a512e7 (patch) | |
tree | ce7817c59dcd1e2bdffe0724ca41f1f481dd8108 /vp8/encoder/onyx_int.h | |
parent | efb56ec3ff6c8bfdeb1b29c97374017e1556aa16 (diff) | |
download | libvpx-df66f8e830eef4e95323f87cc0a3697168a512e7.tar libvpx-df66f8e830eef4e95323f87cc0a3697168a512e7.tar.gz libvpx-df66f8e830eef4e95323f87cc0a3697168a512e7.tar.bz2 libvpx-df66f8e830eef4e95323f87cc0a3697168a512e7.zip |
vp8: Change default gf behavior for 1 pass cbr.
In 1 pass CBR, with error_resilience off, allow for
special logic to change the default gf behaviour.
In this CL: boost is turned off and the gf period
is set to a multiple of cyclic refresh period.
Change only affect 1 pass CBR mode, i.e, when the flag
gf_update_onepass_cbr is set.
Including the previous change (3ec8e11: to allow cyclic refresh
for error_resilience off), comparing metrics on RTC set for
error_resilience off vs on: avgPSNR/SSIM up by ~6%.
Change-Id: Id5b3fb62a4f04de5a805bd1b418f2b349574e0bc
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r-- | vp8/encoder/onyx_int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 59ad5773a..0170ff8af 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -501,6 +501,11 @@ typedef struct VP8_COMP { int force_maxqp; + // GF update for 1 pass cbr. + int gf_update_onepass_cbr; + int gf_interval_onepass_cbr; + int gf_noboost_onepass_cbr; + #if CONFIG_MULTITHREAD /* multithread data */ int *mt_current_mb_col; |