From 5f30a0c687821081f313054b3e06320c989722cd Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 18 Jul 2013 14:09:21 -0700 Subject: VP[89]_COMMON: remove golden/altref frame counts these are only used in the encoder. frames_since_golden / frames_till_alt_ref_frame -> VP[89]_COMP Change-Id: Ie14a6f46987bced685ddb449b85dc261caba6dfe --- vp9/encoder/vp9_onyx_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vp9/encoder/vp9_onyx_int.h') diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h index 19b1e3af5..6c5248ff2 100644 --- a/vp9/encoder/vp9_onyx_int.h +++ b/vp9/encoder/vp9_onyx_int.h @@ -313,6 +313,7 @@ typedef struct VP9_COMP { YV12_BUFFER_CONFIG *un_scaled_source; YV12_BUFFER_CONFIG scaled_source; + unsigned int frames_till_alt_ref_frame; int source_alt_ref_pending; // frame in src_buffers has been identified to be encoded as an alt ref int source_alt_ref_active; // an alt ref frame has been encoded and is usable @@ -395,6 +396,7 @@ typedef struct VP9_COMP { double key_frame_rate_correction_factor; double gf_rate_correction_factor; + unsigned int frames_since_golden; int frames_till_gf_update_due; // Count down till next GF int gf_overspend_bits; // Total bits overspent becasue of GF boost (cumulative) -- cgit v1.2.3