Lines Matching refs:poc
123 int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc)
133 frame->poc == poc) {
135 poc);
152 ref->poc = poc;
169 if ((frame->flags & HEVC_FRAME_FLAG_OUTPUT) && frame->poc != s->poc &&
181 if (frame->poc < min_poc) {
182 min_poc = frame->poc;
213 "Output frame with POC %d.\n", frame->poc);
314 static HEVCFrame *find_ref_idx(HEVCContext *s, int poc)
322 if ((ref->poc & LtMask) == poc)
330 if (ref->poc == poc || (ref->poc & LtMask) == poc)
336 "Could not find ref with POC %d\n", poc);
346 static HEVCFrame *generate_missing_ref(HEVCContext *s, int poc)
368 frame->poc = poc;
378 /* add a reference with the given poc to the list and mark it as used in DPB */
380 int poc, int ref_flag)
382 HEVCFrame *ref = find_ref_idx(s, poc);
388 ref = generate_missing_ref(s, poc);
393 list->list[list->nb_refs] = ref->poc;
428 int poc = s->poc + short_rps->delta_poc[i];
438 ret = add_candidate_ref(s, &rps[list], poc, HEVC_FRAME_FLAG_SHORT_REF);
445 int poc = long_rps->poc[i];
448 ret = add_candidate_ref(s, &rps[list], poc, HEVC_FRAME_FLAG_LONG_REF);