summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2013-07-18 14:09:21 -0700
committerJames Zern <jzern@google.com>2013-07-18 14:09:21 -0700
commit5f30a0c687821081f313054b3e06320c989722cd (patch)
tree873afdb3164f1b76e5d1412f48faeafd1a6d8a2a /vp9/encoder/vp9_onyx_int.h
parentb7750812838eb84b55b8bcf25b9398cc41cdc0eb (diff)
downloadlibvpx-5f30a0c687821081f313054b3e06320c989722cd.tar
libvpx-5f30a0c687821081f313054b3e06320c989722cd.tar.gz
libvpx-5f30a0c687821081f313054b3e06320c989722cd.tar.bz2
libvpx-5f30a0c687821081f313054b3e06320c989722cd.zip
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
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h2
1 files changed, 2 insertions, 0 deletions
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)