Home
last modified time | relevance | path

Searched refs:cur_pic_ptr (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dh264_refs.c130 return (h->cur_pic_ptr->f->width != f->width || in mismatches_ref()
131 h->cur_pic_ptr->f->height != f->height || in mismatches_ref()
132 h->cur_pic_ptr->f->format != f->format); in mismatches_ref()
146 cur_poc = h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_FIELD]; in h264_initialise_ref_list()
148 cur_poc = h->cur_pic_ptr->poc; in h264_initialise_ref_list()
595 !(FIELD_PICTURE(h) && !h->first_field && h->cur_pic_ptr->reference)) { in generate_sliding_window_mmcos()
687 if (h->short_ref[0] == h->cur_pic_ptr) { in ff_h264_execute_ref_pic_marking()
693 if (h->cur_pic_ptr->long_ref) { in ff_h264_execute_ref_pic_marking()
695 if (h->long_ref[j] == h->cur_pic_ptr) { in ff_h264_execute_ref_pic_marking()
703 if (h->long_ref[mmco[i].long_arg] != h->cur_pic_ptr) { in ff_h264_execute_ref_pic_marking()
[all …]
Dh264_slice.c122 (remove_current || &h->DPB[i] != h->cur_pic_ptr)) { in release_unused_pictures()
387 h->cur_pic_ptr = REBASE_PICTURE(h1->cur_pic_ptr, h, h1); in ff_h264_update_thread_context()
451 if (!h->cur_pic_ptr) in ff_h264_update_thread_context()
479 h->cur_pic_ptr = NULL; in h264_frame_start()
513 h->cur_pic_ptr = pic; in h264_frame_start()
519 if ((ret = ff_h264_ref_picture(h, &h->cur_pic, h->cur_pic_ptr)) < 0) in h264_frame_start()
523 h->slice_ctx[i].linesize = h->cur_pic_ptr->f->linesize[0]; in h264_frame_start()
524 h->slice_ctx[i].uvlinesize = h->cur_pic_ptr->f->linesize[1]; in h264_frame_start()
548 h->cur_pic_ptr->reference = 0; in h264_frame_start()
550 h->cur_pic_ptr->field_poc[0] = h->cur_pic_ptr->field_poc[1] = INT_MAX; in h264_frame_start()
[all …]
Dh264dec.c344 h->cur_pic_ptr = NULL; in h264_decode_end()
448 if (h->cur_pic_ptr) { in ff_h264_flush_change()
449 h->cur_pic_ptr->reference = 0; in ff_h264_flush_change()
451 if (h->delayed_pic[i] != h->cur_pic_ptr) in ff_h264_flush_change()
476 h->cur_pic_ptr = NULL; in h264_decode_flush()
568 h->cur_pic_ptr = NULL; in decode_nal_units()
630 i >= nals_needed && !h->setup_finished && h->cur_pic_ptr) { in decode_nal_units()
720 if ((ret < 0 || h->slice_ctx->er.error_occurred) && h->cur_pic_ptr) { in decode_nal_units()
721 h->cur_pic_ptr->f->decode_error_flags |= FF_DECODE_ERROR_DECODE_SLICES; in decode_nal_units()
745 ff_h264_set_erpic(&sl->er.cur_pic, h->cur_pic_ptr); in decode_nal_units()
[all …]
Dnvdec_h264.c62 ret = ff_nvdec_start_frame(avctx, h->cur_pic_ptr->f); in nvdec_h264_start_frame()
66 fdd = (FrameDecodeData*)h->cur_pic_ptr->f->private_ref->data; in nvdec_h264_start_frame()
108 .CurrFieldOrderCnt[0] = h->cur_pic_ptr->field_poc[0], in nvdec_h264_start_frame()
109 .CurrFieldOrderCnt[1] = h->cur_pic_ptr->field_poc[1], in nvdec_h264_start_frame()
Dvaapi_h264.c231 VAAPIDecodePicture *pic = h->cur_pic_ptr->hwaccel_picture_private; in vaapi_h264_start_frame()
238 pic->output_surface = ff_vaapi_get_surface_id(h->cur_pic_ptr->f); in vaapi_h264_start_frame()
278 fill_vaapi_pic(&pic_param.CurrPic, h->cur_pic_ptr, h->picture_structure); in vaapi_h264_start_frame()
313 VAAPIDecodePicture *pic = h->cur_pic_ptr->hwaccel_picture_private; in vaapi_h264_end_frame()
333 VAAPIDecodePicture *pic = h->cur_pic_ptr->hwaccel_picture_private; in vaapi_h264_decode_slice()
Dvdpau_h264.c73 struct vdpau_picture_context *pic_ctx = h->cur_pic_ptr->hwaccel_picture_private; in vdpau_h264_set_reference_frames()
127 H264Picture *pic = h->cur_pic_ptr; in vdpau_h264_start_frame()
186 H264Picture *pic = h->cur_pic_ptr; in vdpau_h264_decode_slice()
206 H264Picture *pic = h->cur_pic_ptr; in vdpau_h264_end_frame()
Ddxva2_h264.c51 const H264Picture *current_picture = h->cur_pic_ptr; in fill_picture_parameters()
304 const H264Picture *current_picture = h->cur_pic_ptr; in commit_bitstream_and_slice_buffer()
447 struct dxva2_picture_context *ctx_pic = h->cur_pic_ptr->hwaccel_picture_private; in dxva2_h264_start_frame()
472 const H264Picture *current_picture = h->cur_pic_ptr; in dxva2_h264_decode_slice()
502 h->cur_pic_ptr->hwaccel_picture_private; in dxva2_h264_end_frame()
507 ret = ff_dxva2_common_end_frame(avctx, h->cur_pic_ptr->f, in dxva2_h264_end_frame()
Dh264_direct.c65 …const int poc = FIELD_PICTURE(h) ? h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_… in ff_h264_direct_dist_scale_factor()
66 : h->cur_pic_ptr->poc; in ff_h264_direct_dist_scale_factor()
72 const int poc = h->cur_pic_ptr->field_poc[field]; in ff_h264_direct_dist_scale_factor()
124 H264Picture *const cur = h->cur_pic_ptr; in ff_h264_direct_ref_list_init()
153 int cur_poc = h->cur_pic_ptr->poc; in ff_h264_direct_ref_list_init()
Dh264_picture.c183 ff_thread_report_progress(&h->cur_pic_ptr->tf, INT_MAX, in ff_h264_field_end()
Dh264_mvpred.h53 mv = h->cur_pic_ptr->motion_val[list][h->mb2b_xy[xy] + 3 + y4 * h->b_stride]; \ in fetch_diagonal_mv()
56 return h->cur_pic_ptr->ref_index[list][4 * xy + 1 + (y4 & ~1)] REF_OP; in fetch_diagonal_mv()
61 const uint32_t *mb_types = h->cur_pic_ptr->mb_type; in fetch_diagonal_mv()
Dh264dec.h353 H264Picture *cur_pic_ptr; member
Dvideotoolbox.c937 AVFrame *frame = h->cur_pic_ptr->f; in videotoolbox_h264_end_frame()