Home
last modified time | relevance | path

Searched refs:va_pic (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvaapi_h264.c39 static void init_vaapi_pic(VAPictureH264 *va_pic) in init_vaapi_pic() argument
41 va_pic->picture_id = VA_INVALID_ID; in init_vaapi_pic()
42 va_pic->flags = VA_PICTURE_H264_INVALID; in init_vaapi_pic()
43 va_pic->TopFieldOrderCnt = 0; in init_vaapi_pic()
44 va_pic->BottomFieldOrderCnt = 0; in init_vaapi_pic()
55 static void fill_vaapi_pic(VAPictureH264 *va_pic, in fill_vaapi_pic() argument
63 va_pic->picture_id = ff_vaapi_get_surface_id(pic->f); in fill_vaapi_pic()
64 va_pic->frame_idx = pic->long_ref ? pic->pic_id : pic->frame_num; in fill_vaapi_pic()
66 va_pic->flags = 0; in fill_vaapi_pic()
68va_pic->flags |= (pic_structure & PICT_TOP_FIELD) ? VA_PICTURE_H264_TOP_FIELD : VA_PICTURE_H264_BO… in fill_vaapi_pic()
[all …]
Dvaapi_hevc.c47 static void init_vaapi_pic(VAPictureHEVC *va_pic) in init_vaapi_pic() argument
49 va_pic->picture_id = VA_INVALID_ID; in init_vaapi_pic()
50 va_pic->flags = VA_PICTURE_HEVC_INVALID; in init_vaapi_pic()
51 va_pic->pic_order_cnt = 0; in init_vaapi_pic()
54 static void fill_vaapi_pic(VAPictureHEVC *va_pic, const HEVCFrame *pic, int rps_type) in fill_vaapi_pic() argument
56 va_pic->picture_id = ff_vaapi_get_surface_id(pic->frame); in fill_vaapi_pic()
57 va_pic->pic_order_cnt = pic->poc; in fill_vaapi_pic()
58 va_pic->flags = rps_type; in fill_vaapi_pic()
61 va_pic->flags |= VA_PICTURE_HEVC_LONG_TERM_REFERENCE; in fill_vaapi_pic()
64 va_pic->flags |= VA_PICTURE_HEVC_FIELD_PIC; in fill_vaapi_pic()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvampeg2dec.c374 GstVaDecodePicture *va_pic; in gst_va_mpeg2_dec_add_quant_matrix() local
412 va_pic = gst_mpeg2_picture_get_user_data (picture); in gst_va_mpeg2_dec_add_quant_matrix()
413 return gst_va_decoder_add_param_buffer (base->decoder, va_pic, in gst_va_mpeg2_dec_add_quant_matrix()
428 GstVaDecodePicture *va_pic; in _get_surface_id() local
433 va_pic = gst_mpeg2_picture_get_user_data (picture); in _get_surface_id()
434 if (!va_pic) in _get_surface_id()
436 return gst_va_decode_picture_get_surface (va_pic); in _get_surface_id()
446 GstVaDecodePicture *va_pic; in gst_va_mpeg2_dec_start_picture() local
449 va_pic = gst_mpeg2_picture_get_user_data (picture); in gst_va_mpeg2_dec_start_picture()
483 surface = gst_va_decode_picture_get_surface (va_pic); in gst_va_mpeg2_dec_start_picture()
[all …]
Dgstvavp8dec.c285 GstVaDecodePicture *va_pic; in _fill_picture() local
336 va_pic = gst_vp8_picture_get_user_data (decoder->last_picture); in _fill_picture()
337 pic_param.last_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture()
340 va_pic = gst_vp8_picture_get_user_data (decoder->golden_ref_picture); in _fill_picture()
341 pic_param.golden_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture()
344 va_pic = gst_vp8_picture_get_user_data (decoder->alt_ref_picture); in _fill_picture()
345 pic_param.alt_ref_frame = gst_va_decode_picture_get_surface (va_pic); in _fill_picture()
376 va_pic = gst_vp8_picture_get_user_data (picture); in _fill_picture()
377 return gst_va_decoder_add_param_buffer (base->decoder, va_pic, in _fill_picture()
388 GstVaDecodePicture *va_pic; in _add_slice() local
[all …]
Dgstvavp9dec.c259 GstVaDecodePicture *va_pic; in _fill_param() local
331 GstVaDecodePicture *va_pic = in _fill_param() local
335 gst_va_decode_picture_get_surface (va_pic); in _fill_param()
341 va_pic = gst_vp9_picture_get_user_data (picture); in _fill_param()
343 return gst_va_decoder_add_param_buffer (base->decoder, va_pic, in _fill_param()
435 GstVaDecodePicture *va_pic; in _fill_slice() local
471 va_pic = gst_vp9_picture_get_user_data (picture); in _fill_slice()
473 return gst_va_decoder_add_slice_buffer (base->decoder, va_pic, &slice_param, in _fill_slice()
491 GstVaDecodePicture *va_pic; in gst_va_vp9_dec_end_picture() local
495 va_pic = gst_vp9_picture_get_user_data (picture); in gst_va_vp9_dec_end_picture()
[all …]
Dgstvah265dec.c169 _submit_previous_slice (GstVaBaseDec * base, GstVaDecodePicture * va_pic) in _submit_previous_slice() argument
185 ret = gst_va_decoder_add_slice_buffer (base->decoder, va_pic, &slice->param, in _submit_previous_slice()
196 GstVaDecodePicture *va_pic; in gst_va_h265_dec_end_picture() local
202 va_pic = gst_h265_picture_get_user_data (picture); in gst_va_h265_dec_end_picture()
205 ret = _submit_previous_slice (base, va_pic); in gst_va_h265_dec_end_picture()
216 ret = gst_va_decoder_decode (base->decoder, va_pic); in gst_va_h265_dec_end_picture()
232 GstVaDecodePicture *va_pic; in gst_va_h265_dec_output_picture() local
234 va_pic = gst_h265_picture_get_user_data (picture); in gst_va_h265_dec_output_picture()
235 g_assert (va_pic->gstbuffer); in gst_va_h265_dec_output_picture()
247 gst_buffer_replace (&frame->output_buffer, va_pic->gstbuffer); in gst_va_h265_dec_output_picture()
[all …]
Dgstvah264dec.c105 GstVaDecodePicture *va_pic; in gst_va_h264_dec_end_picture() local
110 va_pic = gst_h264_picture_get_user_data (picture); in gst_va_h264_dec_end_picture()
112 if (!gst_va_decoder_decode (base->decoder, va_pic)) in gst_va_h264_dec_end_picture()
167 GstVaDecodePicture *va_pic; in _fill_vaapi_pic() local
169 va_pic = gst_h264_picture_get_user_data (picture); in _fill_vaapi_pic()
171 if (!va_pic) { in _fill_vaapi_pic()
176 va_picture->picture_id = gst_va_decode_picture_get_surface (va_pic); in _fill_vaapi_pic()
334 GstVaDecodePicture *va_pic; in gst_va_h264_dec_decode_slice() local
362 va_pic = gst_h264_picture_get_user_data (picture); in gst_va_h264_dec_decode_slice()
364 if (!gst_va_decoder_add_slice_buffer (base->decoder, va_pic, &slice_param, in gst_va_h264_dec_decode_slice()
[all …]
Dgstvaav1dec.c584 GstVaDecodePicture *va_pic; in gst_va_av1_dec_start_picture() local
587 va_pic = gst_av1_picture_get_user_data (picture); in gst_va_av1_dec_start_picture()
588 g_assert (va_pic); in gst_va_av1_dec_start_picture()
730 pic_param.current_frame = gst_va_decode_picture_get_aux_surface (va_pic); in gst_va_av1_dec_start_picture()
732 gst_va_decode_picture_get_surface (va_pic); in gst_va_av1_dec_start_picture()
734 pic_param.current_frame = gst_va_decode_picture_get_surface (va_pic); in gst_va_av1_dec_start_picture()
771 if (!gst_va_decoder_add_param_buffer (base->decoder, va_pic, in gst_va_av1_dec_start_picture()
785 GstVaDecodePicture *va_pic; in gst_va_av1_dec_decode_tile() local
805 va_pic = gst_av1_picture_get_user_data (picture); in gst_va_av1_dec_decode_tile()
807 if (!gst_va_decoder_add_slice_buffer_with_n_params (base->decoder, va_pic, in gst_va_av1_dec_decode_tile()
[all …]