ref: a9659f63927bdbaf79a08689309624f572e9d9fc
parent: b6e4d9c0ba582eb1a7ecdf0fa3b88da4519174b4
parent: da4d6a5e4553c2d1c2554ca895986b4bd7fc4e71
author: Jingning Han <[email protected]>
date: Thu Sep 13 12:19:46 EDT 2018
Merge "Remove deprecated first_inter_index"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2247,9 +2247,6 @@
return frame_index;
}
- // Note index of the first normal inter frame int eh group (not gf kf arf)
- gf_group->first_inter_index = frame_index;
-
// Define middle frame
mid_frame_idx = frame_index + (rc->baseline_gf_interval >> 1) - 1;
@@ -2413,7 +2410,6 @@
for (idx = 0; idx < gop_frames; ++idx)
if (gf_group->update_type[idx] == LF_UPDATE) break;
- gf_group->first_inter_index = idx;
return;
}
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -130,7 +130,6 @@
typedef struct {
unsigned char index;
- unsigned char first_inter_index;
RATE_FACTOR_LEVEL rf_level[MAX_STATIC_GF_GROUP_LENGTH + 2];
FRAME_UPDATE_TYPE update_type[MAX_STATIC_GF_GROUP_LENGTH + 2];
unsigned char arf_src_offset[MAX_STATIC_GF_GROUP_LENGTH + 2];