ref: a160533e41ccf4d27f75f1aabf731984e0a9daa8
parent: bfff16af6790efe049c9493a9cab19feb8468911
parent: f9865d1701fdd7e4759f08acd7bfdc13c0672b1b
author: Paul Wilkins <[email protected]>
date: Fri Jun 3 13:13:33 EDT 2016
Merge "Removed unused data structure."
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2582,16 +2582,6 @@
kf_bits = calculate_boost_bits((rc->frames_to_key - 1),
rc->kf_boost, twopass->kf_group_bits);
- // Work out the fraction of the kf group bits reserved for the inter frames
- // within the group after discounting the bits for the kf itself.
- if (twopass->kf_group_bits) {
- twopass->kfgroup_inter_fraction =
- (double)(twopass->kf_group_bits - kf_bits) /
- (double)twopass->kf_group_bits;
- } else {
- twopass->kfgroup_inter_fraction = 1.0;
- }
-
twopass->kf_group_bits -= kf_bits;
// Save the bits to spend on the key frame.
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -122,9 +122,6 @@
// Error score of frames still to be coded in kf group
int64_t kf_group_error_left;
- // The fraction for a kf groups total bits allocated to the inter frames
- double kfgroup_inter_fraction;
-
double bpm_factor;
int rolling_arf_group_target_bits;
int rolling_arf_group_actual_bits;