Remove implicit dependency on overlay frame update to break the
gop initialization loop.
Change-Id: I6a6d070cdf22a0e30c298523707bd746fd03f450
RefCntBuffer *frame_bufs = cm->buffer_pool->frame_bufs;
int recon_frame_index[REFS_PER_FRAME + 1] = { -1, -1, -1, -1 };
+ // TODO(jingning): To be used later for gf frame type parsing.
+ (void)gf_group;
+
for (i = 0; i < FRAME_BUFFERS && frame_idx < REFS_PER_FRAME + 1; ++i) {
if (frame_bufs[i].ref_count == 0) {
alloc_frame_mvs(cm, i);
++*tpl_group_frames;
lst_index = frame_idx;
- if (gf_group->update_type[frame_idx] == OVERLAY_UPDATE) break;
+
+ if (frame_idx == cpi->rc.baseline_gf_interval + 1) break;
}
gld_index = frame_idx;