ref: 98ea9241ca3ccbda0eda622cc8582481d574a403
parent: 73dbf6aa562b17c01eb8b66a309c209ea00d6b14
parent: 940a3c38340857dd44cc6b4079506031be1e3f41
author: Jingning Han <jingning@google.com>
date: Mon Sep 17 23:53:09 EDT 2018
Merge "Assign GOP frame offset to all the coding frames"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2230,6 +2230,7 @@
gf_group->update_type[frame_index] = GF_UPDATE;
gf_group->rf_level[frame_index] = GF_ARF_STD;
}
+ gf_group->arf_src_offset[frame_index] = 0;
return frame_index;
}
@@ -2246,6 +2247,7 @@
gf_group->update_type[frame_index] = LF_UPDATE;
gf_group->rf_level[frame_index] = INTER_NORMAL;
+ gf_group->arf_src_offset[frame_index] = 0;
gf_group->layer_depth[frame_index] = MAX_ARF_LAYERS - 1;
++frame_index;
@@ -2265,6 +2267,7 @@
gf_group->update_type[frame_index] = GF_UPDATE;
gf_group->rf_level[frame_index] = GF_ARF_STD;
}
+ gf_group->arf_src_offset[frame_index] = 0;
return frame_index;
}