aboutsummaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_ratectrl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.h')
-rw-r--r--vp9/encoder/vp9_ratectrl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_ratectrl.h b/vp9/encoder/vp9_ratectrl.h
index 83a12cde7..96a8fd3f1 100644
--- a/vp9/encoder/vp9_ratectrl.h
+++ b/vp9/encoder/vp9_ratectrl.h
@@ -211,6 +211,10 @@ typedef struct {
// Flag to constrain golden frame interval on key frame frequency for 1 pass
// VBR.
int constrain_gf_key_freq_onepass_vbr;
+
+ // The index of the current GOP. Start from zero.
+ // When a key frame is inserted, it resets to zero.
+ int gop_global_index;
} RATE_CONTROL;
struct VP9_COMP;