struct h264_dpb_stru *p_H264_Dpb,
enum PictureStructure structure, unsigned char is_output);
+static void update_ref_list(struct DecodedPictureBuffer *p_Dpb);
+
static void init_dummy_fs(void)
{
dummy_fs.frame = &dummy_pic;
unmark_for_reference(p_Dpb, p_Dpb->fs[i]);
ret = 1;
+ break;
}
}
return ret;
dpb_print(p_H264_Dpb->decoder_index,
0, "%s, Warnning, force unmark one frame\r\n",
__func__);
+ update_ref_list(p_Dpb);
remove_unused_frame_from_dpb(p_H264_Dpb);
dump_dpb(p_Dpb, 0);
}
dpb_print(p_H264_Dpb->decoder_index,
0, "%s, unmark error frame\r\n",
__func__);
+ update_ref_list(p_Dpb);
remove_unused_frame_from_dpb(p_H264_Dpb);
dump_dpb(p_Dpb, 0);
}