Lines Matching refs:frame
56 va_pic->picture_id = ff_vaapi_get_surface_id(pic->frame);
63 if (pic->frame->interlaced_frame) {
66 if (!pic->frame->top_field_first)
73 VASurfaceID pic_surf = ff_vaapi_get_surface_id(pic->frame);
77 if (pic_surf == ff_vaapi_get_surface_id(h->rps[ST_CURR_BEF].ref[i]->frame))
82 if (pic_surf == ff_vaapi_get_surface_id(h->rps[ST_CURR_AFT].ref[i]->frame))
87 if (pic_surf == ff_vaapi_get_surface_id(h->rps[LT_CURR].ref[i]->frame))
100 const HEVCFrame *frame = NULL;
102 while (!frame && j < FF_ARRAY_ELEMS(h->DPB)) {
104 frame = &h->DPB[j];
110 if (frame) {
111 rps_type = find_frame_rps_type(h, frame);
112 fill_vaapi_pic(&pp->ReferenceFrames[i], frame, rps_type);
131 pic->pic.output_surface = ff_vaapi_get_surface_id(h->ref->frame);
388 static uint8_t get_ref_pic_index(const HEVCContext *h, const HEVCFrame *frame)
394 if (!frame)
400 if (pid != VA_INVALID_ID && pid == ff_vaapi_get_surface_id(frame->frame) && poc == frame->poc)