Index: source/libvpx/vp9/encoder/vp9_firstpass.h |
diff --git a/source/libvpx/vp9/encoder/vp9_firstpass.h b/source/libvpx/vp9/encoder/vp9_firstpass.h |
index a8e4987ccbbb73f8d1266e363806b57ba0948d84..08e7a8bf114e16122a53386e0f2816c9db1866a8 100644 |
--- a/source/libvpx/vp9/encoder/vp9_firstpass.h |
+++ b/source/libvpx/vp9/encoder/vp9_firstpass.h |
@@ -109,12 +109,17 @@ typedef struct { |
// 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; |
+ |
int sr_update_lag; |
int kf_zeromotion_pct; |
int last_kfgroup_zeromotion_pct; |
int gf_zeromotion_pct; |
int active_worst_quality; |
+ int baseline_active_worst_quality; |
int extend_minq; |
int extend_maxq; |
@@ -133,6 +138,13 @@ void vp9_rc_get_second_pass_params(struct VP9_COMP *cpi); |
// Post encode update of the rate control parameters for 2-pass |
void vp9_twopass_postencode_update(struct VP9_COMP *cpi); |
+ |
+void vp9_init_subsampling(struct VP9_COMP *cpi); |
+ |
+void calculate_coded_size(struct VP9_COMP *cpi, |
+ int *scaled_frame_width, |
+ int *scaled_frame_height); |
+ |
#ifdef __cplusplus |
} // extern "C" |
#endif |