From df66f8e830eef4e95323f87cc0a3697168a512e7 Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 6 Oct 2016 16:01:04 -0700 Subject: 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 --- vp8/encoder/onyx_int.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vp8/encoder/onyx_int.h') 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; -- cgit v1.2.3