Home
last modified time | relevance | path

Searched refs:av_buffer_ref (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
Dh264_picture.c79 dst->qscale_table_buf = av_buffer_ref(src->qscale_table_buf); in ff_h264_ref_picture()
80 dst->mb_type_buf = av_buffer_ref(src->mb_type_buf); in ff_h264_ref_picture()
81 dst->pps_buf = av_buffer_ref(src->pps_buf); in ff_h264_ref_picture()
91 dst->motion_val_buf[i] = av_buffer_ref(src->motion_val_buf[i]); in ff_h264_ref_picture()
92 dst->ref_index_buf[i] = av_buffer_ref(src->ref_index_buf[i]); in ff_h264_ref_picture()
102 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in ff_h264_ref_picture()
Dnvdec.c204 decoder->hw_device_ref = av_buffer_ref(hw_device_ref); in nvdec_decoder_create()
372 real_hw_frames_ref = av_buffer_ref(avctx->hw_frames_ctx); in ff_nvdec_decode_init()
527 frame->hw_frames_ctx = av_buffer_ref(decoder->real_hw_frames_ref); in nvdec_retrieve_data()
534 unmap_data->idx_ref = av_buffer_ref(cf->idx_ref); in nvdec_retrieve_data()
535 unmap_data->decoder_ref = av_buffer_ref(cf->decoder_ref); in nvdec_retrieve_data()
576 cf->decoder_ref = av_buffer_ref(ctx->decoder_ref); in ff_nvdec_start_frame()
Dqsv.c455 hw_frames_ref1 = av_buffer_ref(hw_frames_ref); in qsv_create_mids()
502 resp->mids[resp->NumFrameActual] = (mfxMemId)av_buffer_ref(hw_frames_ref); in qsv_setup_mids()
508 resp->mids[resp->NumFrameActual + 1] = av_buffer_ref(mids_buf); in qsv_setup_mids()
647 qsv_mid->hw_frame->hw_frames_ctx = av_buffer_ref(qsv_mid->hw_frames_ref); in qsv_frame_lock()
Dcbs.c250 frag->data_ref = av_buffer_ref(buf); in cbs_read_data()
430 buf = av_buffer_ref(frag->data_ref); in ff_cbs_write_packet()
752 content_ref = av_buffer_ref(content_buf); in ff_cbs_insert_unit_content()
788 data_ref = av_buffer_ref(data_buf); in ff_cbs_insert_unit_data()
936 *copy_buf = av_buffer_ref(*src_buf); in cbs_clone_unit_content()
Dav1dec.c497 dst->header_ref = av_buffer_ref(src->header_ref); in av1_frame_ref()
504 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in av1_frame_ref()
700 f->header_ref = av_buffer_ref(s->header_ref); in av1_frame_alloc()
915 s->seq_ref = av_buffer_ref(unit->content_ref); in av1_decode_frame()
965 s->header_ref = av_buffer_ref(unit->content_ref); in av1_decode_frame()
Dlibvpxdec.c313 picture->buf[0] = av_buffer_ref(img->fb_priv); in vpx_decode()
317 picture->buf[1] = av_buffer_ref(img_alpha->fb_priv); in vpx_decode()
Dbitpacked.c47 frame->buf[0] = av_buffer_ref(avpkt->buf); in bitpacked_decode_uyvy422()
Dmpeg4_unpack_bframes_bsf.c78 s->b_frame_ref = av_buffer_ref(pkt->buf); in mpeg4_unpack_bframes_filter()
Dcuviddec.c205 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx); in cuvid_handle_video_sequence()
555 tmp_frame->hw_frames_ctx = av_buffer_ref(ctx->hwframe); in cuvid_output_frame()
872 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx); in cuvid_decode_init()
880 ctx->hwdevice = av_buffer_ref(hwframe_ctx->device_ref); in cuvid_decode_init()
887 ctx->hwdevice = av_buffer_ref(avctx->hw_device_ctx); in cuvid_decode_init()
/third_party/ffmpeg/libavutil/
Dhwcontext.c274 device_ref = av_buffer_ref(device_ref_in); in av_hwframe_ctx_alloc()
513 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref); in av_hwframe_get_buffer()
550 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref); in av_hwframe_get_buffer()
659 dst_ref = av_buffer_ref(tmp_ref); in av_hwdevice_ctx_create_derived_opts()
685 dst_ctx->internal->source_device = av_buffer_ref(src_ref); in av_hwdevice_ctx_create_derived_opts()
762 hwmap->hw_frames_ctx = av_buffer_ref(hwframe_ref); in ff_hwframe_map_create()
868 av_buffer_ref(src->internal->source_frames); in av_hwframe_ctx_create_derived()
890 dst->internal->source_frames = av_buffer_ref(source_frame_ctx); in av_hwframe_ctx_create_derived()
Dbuffer.h166 AVBufferRef *av_buffer_ref(AVBufferRef *buf);
Dframe.c73 ref = av_buffer_ref(buf); in av_frame_set_qp_table()
413 AVBufferRef *ref = av_buffer_ref(sd_src->buf); in frame_copy_props()
478 dst->buf[i] = av_buffer_ref(src->buf[i]); in av_frame_ref()
495 dst->extended_buf[i] = av_buffer_ref(src->extended_buf[i]); in av_frame_ref()
504 dst->hw_frames_ctx = av_buffer_ref(src->hw_frames_ctx); in av_frame_ref()
Dbuffer.c93 AVBufferRef *av_buffer_ref(AVBufferRef *buf) in av_buffer_ref() function
236 tmp = av_buffer_ref(src); in av_buffer_replace()
/third_party/ffmpeg/libavfilter/
Dvf_hwupload.c61 ctx->hwdevice_ref = av_buffer_ref(avctx->hw_device_ctx); in hwupload_query_formats()
124 outlink->hw_frames_ctx = av_buffer_ref(inlink->hw_frames_ctx); in hwupload_config_output()
158 outlink->hw_frames_ctx = av_buffer_ref(ctx->hwframes_ref); in hwupload_config_output()
Dvf_hwmap.c183 ctx->hwframes_ref = av_buffer_ref(inlink->hw_frames_ctx); in hwmap_config_output()
244 outlink->hw_frames_ctx = av_buffer_ref(ctx->hwframes_ref); in hwmap_config_output()
322 map->hw_frames_ctx = av_buffer_ref(ctx->hwframes_ref); in hwmap_filter_frame()
332 input->hw_frames_ctx = av_buffer_ref(ctx->hwframes_ref); in hwmap_filter_frame()
Dvf_transpose_npp.c248 ctx->outputs[0]->hw_frames_ctx = av_buffer_ref(s->stages[last_stage].frames_ctx); in init_processing_chain()
250 ctx->outputs[0]->hw_frames_ctx = av_buffer_ref(ctx->inputs[0]->hw_frames_ctx); in init_processing_chain()
271 outlink->hw_frames_ctx = av_buffer_ref(inlink->hw_frames_ctx); in npptranspose_config_props()
Dvf_overlay_cuda.c348 ctx->hw_device_ctx = av_buffer_ref(frames_ctx->device_ref); in overlay_cuda_config_output()
358 outlink->hw_frames_ctx = av_buffer_ref(inlink->hw_frames_ctx); in overlay_cuda_config_output()
Dvf_yadif_cuda.c239 s->input_frames_ref = av_buffer_ref(inlink->hw_frames_ctx); in config_input()
261 s->device_ref = av_buffer_ref(s->input_frames->device_ref); in config_output()
Dvf_hwdownload.c65 ctx->hwframes_ref = av_buffer_ref(inlink->hw_frames_ctx); in hwdownload_config_input()
Dvf_hwupload_cuda.c116 outlink->hw_frames_ctx = av_buffer_ref(s->hwframe); in cudaupload_config_output()
Dbuffersrc.c120 s->hw_frames_ctx = av_buffer_ref(param->hw_frames_ctx); in av_buffersrc_parameters_set()
403 link->hw_frames_ctx = av_buffer_ref(c->hw_frames_ctx); in config_props()
/third_party/ffmpeg/fftools/
Dffmpeg_hw.c412 ist->dec_ctx->hw_device_ctx = av_buffer_ref(dev->device_ref); in hw_device_setup_for_decode()
450 ost->enc_ctx->hw_frames_ctx = av_buffer_ref(frames_ref); in hw_device_setup_for_encode()
465 ost->enc_ctx->hw_device_ctx = av_buffer_ref(dev->device_ref); in hw_device_setup_for_encode()
544 av_buffer_ref(dev->device_ref); in hw_device_setup_for_filter()
/third_party/ffmpeg/doc/examples/
Dvaapi_transcode.c98 decoder_ctx->hw_device_ctx = av_buffer_ref(hw_device_ctx); in open_input_file()
172 encoder_ctx->hw_frames_ctx = av_buffer_ref(decoder_ctx->hw_frames_ctx); in dec_enc()
Dhw_decode.c58 ctx->hw_device_ctx = av_buffer_ref(hw_device_ctx); in hw_decoder_init()
/third_party/ffmpeg/libavformat/
Dvapoursynth.c379 ref_data->vss_state = av_buffer_ref(vs->vss_state); in read_packet_vs()
421 frame->buf[i] = av_buffer_ref(vsframe_ref); in read_packet_vs()

1234