ref: da6682aac9e8d12491175fffd2031845ae25b585
parent: 21bb9e3a09c25703d04b5b67ae3a6b0190a4496d
parent: f1e3f340ef699ed1335ae6244eceebdf474c4c41
author: Jingning Han <[email protected]>
date: Tue Oct 16 17:07:55 EDT 2018
Merge "Record gop size"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2281,6 +2281,8 @@
// Define the GF structure and specify
int gop_frames = define_gf_group_structure(cpi);
+ gf_group->gf_group_size = gop_frames;
+
key_frame = cpi->common.frame_type == KEY_FRAME;
// For key frames the frame target rate is already set and it
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -139,6 +139,7 @@
int arf_index_stack[MAX_LAG_BUFFERS * 2];
int top_arf_idx;
int stack_size;
+ int gf_group_size;
} GF_GROUP;
typedef struct {