Lines Matching refs:pic
52 static void vdpau_h264_set_rf(VdpReferenceFrameH264 *rf, H264Picture *pic,
55 VdpVideoSurface surface = ff_vdpau_get_surface_id(pic->f);
58 pic_structure = pic->reference;
61 rf->is_long_term = pic->reference && pic->long_ref;
64 rf->field_order_cnt[0] = h264_foc(pic->field_poc[0]);
65 rf->field_order_cnt[1] = h264_foc(pic->field_poc[1]);
66 rf->frame_idx = pic->long_ref ? pic->pic_id : pic->frame_num;
84 H264Picture *pic = lp[i];
89 if (!pic || !pic->reference)
91 pic_frame_idx = pic->long_ref ? pic->pic_id : pic->frame_num;
92 surface_ref = ff_vdpau_get_surface_id(pic->f);
97 (rf2->is_long_term == pic->long_ref) &&
103 rf2->top_is_reference |= (pic->reference & PICT_TOP_FIELD) ? VDP_TRUE : VDP_FALSE;
104 rf2->bottom_is_reference |= (pic->reference & PICT_BOTTOM_FIELD) ? VDP_TRUE : VDP_FALSE;
111 vdpau_h264_set_rf(rf, pic, pic->reference);
126 H264Picture *pic = h->cur_pic_ptr;
127 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
135 info->field_order_cnt[0] = h264_foc(pic->field_poc[0]);
136 info->field_order_cnt[1] = h264_foc(pic->field_poc[1]);
185 H264Picture *pic = h->cur_pic_ptr;
186 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
205 H264Picture *pic = h->cur_pic_ptr;
206 struct vdpau_picture_context *pic_ctx = pic->hwaccel_picture_private;
209 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx);