Index: source/libvpx/vp9/encoder/vp9_firstpass.h |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_firstpass.h (revision 263011) |
+++ source/libvpx/vp9/encoder/vp9_firstpass.h (working copy) |
@@ -35,6 +35,7 @@ |
double new_mv_count; |
double duration; |
double count; |
+ int64_t spatial_layer_id; |
} FIRSTPASS_STATS; |
struct twopass_rc { |
@@ -43,7 +44,9 @@ |
unsigned int this_iiratio; |
FIRSTPASS_STATS total_stats; |
FIRSTPASS_STATS this_frame_stats; |
- FIRSTPASS_STATS *stats_in, *stats_in_end, *stats_in_start; |
+ const FIRSTPASS_STATS *stats_in; |
+ const FIRSTPASS_STATS *stats_in_start; |
+ const FIRSTPASS_STATS *stats_in_end; |
FIRSTPASS_STATS total_left_stats; |
int first_pass_done; |
int64_t bits_left; |
@@ -55,7 +58,6 @@ |
double modified_error_left; |
double kf_intra_err_min; |
double gf_intra_err_min; |
- int static_scene_max_gf_interval; |
int kf_bits; |
// Remaining error from uncoded frames in a gf group. Two pass use only |
int64_t gf_group_error_left; |
@@ -93,8 +95,7 @@ |
int section_target_bandwitdh); |
// Post encode update of the rate control parameters for 2-pass |
-void vp9_twopass_postencode_update(struct VP9_COMP *cpi, |
- uint64_t bytes_used); |
+void vp9_twopass_postencode_update(struct VP9_COMP *cpi); |
#ifdef __cplusplus |
} // extern "C" |
#endif |