diff options
Diffstat (limited to 'vp9/encoder/vp9_firstpass.h')
-rw-r--r-- | vp9/encoder/vp9_firstpass.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_firstpass.h b/vp9/encoder/vp9_firstpass.h index 1a61132c6..36d1581df 100644 --- a/vp9/encoder/vp9_firstpass.h +++ b/vp9/encoder/vp9_firstpass.h @@ -11,6 +11,8 @@ #ifndef VP9_ENCODER_VP9_FIRSTPASS_H_ #define VP9_ENCODER_VP9_FIRSTPASS_H_ +#include "vp9/encoder/vp9_lookahead.h" + #ifdef __cplusplus extern "C" { #endif @@ -54,7 +56,7 @@ typedef struct { double modified_error_left; double kf_intra_err_min; double gf_intra_err_min; - int kf_bits; + // Remaining error from uncoded frames in a gf group. Two pass use only int64_t gf_group_error_left; @@ -75,6 +77,9 @@ typedef struct { int gf_zeromotion_pct; int active_worst_quality; + + int gf_group_index; + int gf_group_bit_allocation[MAX_LAG_BUFFERS * 2]; } TWO_PASS; struct VP9_COMP; |