Lines Matching refs:fs
203 H264_FrameStore_t *fs = p_Dpb->fs_ilref[0]; in store_proc_picture_in_dpb() local
208 if (fs->frame) { in store_proc_picture_in_dpb()
209 free_storable_picture(p_Dec, fs->frame); in store_proc_picture_in_dpb()
210 fs->frame = NULL; in store_proc_picture_in_dpb()
212 if (fs->top_field) { in store_proc_picture_in_dpb()
213 free_storable_picture(p_Dec, fs->top_field); in store_proc_picture_in_dpb()
214 fs->top_field = NULL; in store_proc_picture_in_dpb()
216 if (fs->bottom_field) { in store_proc_picture_in_dpb()
217 free_storable_picture(p_Dec, fs->bottom_field); in store_proc_picture_in_dpb()
218 fs->bottom_field = NULL; in store_proc_picture_in_dpb()
220 fs->is_used = 0; in store_proc_picture_in_dpb()
221 fs->is_reference = 0; in store_proc_picture_in_dpb()
224 if (fs->is_used > 0) { //checking; in store_proc_picture_in_dpb()
226 VAL_CHECK(ret, fs->frame == NULL); in store_proc_picture_in_dpb()
228 VAL_CHECK(ret, fs->top_field == NULL); in store_proc_picture_in_dpb()
230 VAL_CHECK(ret, fs->bottom_field == NULL); in store_proc_picture_in_dpb()
233 FUN_CHECK(ret = insert_picture_in_dpb(p_Vid, fs, p, 0)); in store_proc_picture_in_dpb()
234 if ((p->structure == FRAME && fs->is_used == 3) in store_proc_picture_in_dpb()
235 || (p->structure != FRAME && fs->is_used && fs->is_used < 3)) { in store_proc_picture_in_dpb()
326 H264_FrameStore_t *fs = NULL; in init_mvc_picture() local
332 fs = p_Dpb->fs[i]; in init_mvc_picture()
333 if (fs->frame) { in init_mvc_picture()
334 poc = fs->frame->is_mmco_5 ? fs->frame->poc_mmco5 : fs->frame->poc; in init_mvc_picture()
336 if (fs->frame && (fs->frame->layer_id == 0) && (poc == currSlice->framepoc)) { in init_mvc_picture()
337 p_pic = fs->frame; in init_mvc_picture()
338 if (!fs->frame->is_mmco_5) { in init_mvc_picture()
345 fs = p_Dpb->fs[i]; in init_mvc_picture()
346 if (fs->top_field) { in init_mvc_picture()
347 … poc = fs->top_field->is_mmco_5 ? fs->top_field->top_poc_mmco5 : fs->top_field->top_poc; in init_mvc_picture()
349 if (fs->top_field && (fs->top_field->layer_id == 0) && (poc == currSlice->toppoc)) { in init_mvc_picture()
350 p_pic = fs->top_field; in init_mvc_picture()
351 if (!fs->top_field->is_mmco_5) { in init_mvc_picture()
358 fs = p_Dpb->fs[i]; in init_mvc_picture()
359 if (fs->bottom_field) { in init_mvc_picture()
360 …poc = fs->bottom_field->is_mmco_5 ? fs->bottom_field->bot_poc_mmco5 : fs->bottom_field->bottom_poc; in init_mvc_picture()
362 … if (fs->bottom_field && (fs->bottom_field->layer_id == 0) && (poc == currSlice->bottompoc)) { in init_mvc_picture()
363 p_pic = fs->bottom_field; in init_mvc_picture()
364 if (!fs->bottom_field->is_mmco_5) { in init_mvc_picture()
963 H264_FrameStore_t *fs = p_Dpb->fs_ilref[0]; in append_interview_list() local
981 pic_avail = (fs->is_used == 3); in append_interview_list()
983 poc = fs->frame->is_mmco_5 ? fs->frame->poc_mmco5 : fs->frame->poc; in append_interview_list()
986 pic_avail = fs->is_used & 1; in append_interview_list()
988 poc = fs->top_field->is_mmco_5 ? fs->top_field->top_poc_mmco5 : fs->top_field->poc; in append_interview_list()
991 pic_avail = fs->is_used & 2; in append_interview_list()
993 … poc = fs->bottom_field->is_mmco_5 ? fs->bottom_field->bot_poc_mmco5 : fs->bottom_field->poc; in append_interview_list()
999 if (pic_avail && fs->inter_view_flag[fld_idx]) { in append_interview_list()
1001 if (is_view_id_in_ref_view_list(fs->view_id, ref_view_id, num_ref_views)) { in append_interview_list()
1003 list[*listXsize] = fs; in append_interview_list()