Home
last modified time | relevance | path

Searched refs:av_buffer_ref (Results 1 - 25 of 80) sorted by relevance

1234

/third_party/ffmpeg/libavcodec/
H A Dh264_picture.c111 dst->qscale_table_buf = av_buffer_ref(src->qscale_table_buf); in ff_h264_ref_picture()
112 dst->mb_type_buf = av_buffer_ref(src->mb_type_buf); in ff_h264_ref_picture()
113 dst->pps_buf = av_buffer_ref(src->pps_buf); in ff_h264_ref_picture()
120 dst->motion_val_buf[i] = av_buffer_ref(src->motion_val_buf[i]); in ff_h264_ref_picture()
121 dst->ref_index_buf[i] = av_buffer_ref(src->ref_index_buf[i]); in ff_h264_ref_picture()
129 dst->hwaccel_priv_buf = av_buffer_ref(src->hwaccel_priv_buf); in ff_h264_ref_picture()
H A Dnvdec.c205 decoder->hw_device_ref = av_buffer_ref(hw_device_ref); in nvdec_decoder_create()
373 real_hw_frames_ref = av_buffer_ref(avctx->hw_frames_ctx); in ff_nvdec_decode_init()
528 frame->hw_frames_ctx = av_buffer_ref(decoder->real_hw_frames_ref); in nvdec_retrieve_data()
535 unmap_data->idx_ref = av_buffer_ref(cf->idx_ref); in nvdec_retrieve_data()
536 unmap_data->decoder_ref = av_buffer_ref(cf->decoder_ref); in nvdec_retrieve_data()
577 cf->decoder_ref = av_buffer_ref(ctx->decoder_ref); in ff_nvdec_start_frame()
H A Dcbs.c251 frag->data_ref = av_buffer_ref(buf); in cbs_read_data()
466 buf = av_buffer_ref(frag->data_ref); in ff_cbs_write_packet()
771 content_ref = av_buffer_ref(content_buf); in ff_cbs_insert_unit_content()
805 data_ref = av_buffer_ref(data_buf); in cbs_insert_unit_data()
963 *copy_buf = av_buffer_ref(*src_buf); in cbs_clone_unit_content()
H A Dqsv.c484 hw_frames_ref1 = av_buffer_ref(hw_frames_ref); in qsv_create_mids()
531 resp->mids[resp->NumFrameActual] = (mfxMemId)av_buffer_ref(hw_frames_ref); in qsv_setup_mids()
537 resp->mids[resp->NumFrameActual + 1] = av_buffer_ref(mids_buf); in qsv_setup_mids()
676 qsv_mid->hw_frame->hw_frames_ctx = av_buffer_ref(qsv_mid->hw_frames_ref); in qsv_frame_lock()
H A Dbitpacked_dec.c48 frame->buf[0] = av_buffer_ref(avpkt->buf); in bitpacked_decode_uyvy422()
H A Dbitpacked.c47 frame->buf[0] = av_buffer_ref(avpkt->buf); in bitpacked_decode_uyvy422()
H A Dmpeg4_unpack_bframes_bsf.c78 s->b_frame_ref = av_buffer_ref(pkt->buf); in mpeg4_unpack_bframes_filter()
H A Dcuviddec.c213 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx); in cuvid_handle_video_sequence()
562 tmp_frame->hw_frames_ctx = av_buffer_ref(ctx->hwframe); in cuvid_output_frame()
848 ctx->hwframe = av_buffer_ref(avctx->hw_frames_ctx); in cuvid_decode_init()
856 ctx->hwdevice = av_buffer_ref(hwframe_ctx->device_ref); in cuvid_decode_init()
863 ctx->hwdevice = av_buffer_ref(avctx->hw_device_ctx); in cuvid_decode_init()
H A Dlibvpxdec.c316 picture->buf[0] = av_buffer_ref(img->fb_priv); in vpx_decode()
320 picture->buf[1] = av_buffer_ref(img_alpha->fb_priv); in vpx_decode()
/third_party/ffmpeg/libavfilter/
H A Dvulkan_filter.c28 s->device_ref = av_buffer_ref(device); in vulkan_filter_set_device()
45 s->frames_ref = av_buffer_ref(frames); in vulkan_filter_set_frames()
123 outlink->hw_frames_ctx = av_buffer_ref(s->frames_ref); in ff_vk_filter_config_output_inplace()
H A 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()
H A 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()
H A Dvf_transpose_npp.c238 ctx->outputs[0]->hw_frames_ctx = av_buffer_ref(s->stages[last_stage].frames_ctx); in init_processing_chain()
240 ctx->outputs[0]->hw_frames_ctx = av_buffer_ref(ctx->inputs[0]->hw_frames_ctx); in init_processing_chain()
261 outlink->hw_frames_ctx = av_buffer_ref(inlink->hw_frames_ctx); in npptranspose_config_props()
H A Dvf_hwupload_cuda.c116 outlink->hw_frames_ctx = av_buffer_ref(s->hwframe); in cudaupload_config_output()
H A Dvf_hwdownload.c64 ctx->hwframes_ref = av_buffer_ref(inlink->hw_frames_ctx); in hwdownload_config_input()
H A Dbuffersrc.c119 s->hw_frames_ctx = av_buffer_ref(param->hw_frames_ctx); in av_buffersrc_parameters_set()
447 link->hw_frames_ctx = av_buffer_ref(c->hw_frames_ctx); in config_props()
H A Dvf_yadif_cuda.c226 s->input_frames_ref = av_buffer_ref(inlink->hw_frames_ctx); in config_input()
248 s->device_ref = av_buffer_ref(s->input_frames->device_ref); in config_output()
/third_party/ffmpeg/libavutil/
H A Dhwcontext.c275 device_ref = av_buffer_ref(device_ref_in); in av_hwframe_ctx_alloc()
510 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref); in av_hwframe_get_buffer()
547 frame->hw_frames_ctx = av_buffer_ref(hwframe_ref); in av_hwframe_get_buffer()
656 dst_ref = av_buffer_ref(tmp_ref); in av_hwdevice_ctx_create_derived_opts()
682 dst_ctx->internal->source_device = av_buffer_ref(src_ref); in av_hwdevice_ctx_create_derived_opts()
759 hwmap->hw_frames_ctx = av_buffer_ref(hwframe_ref); in ff_hwframe_map_create()
887 av_buffer_ref(src->internal->source_frames); in av_hwframe_ctx_create_derived()
909 dst->internal->source_frames = av_buffer_ref(source_frame_ctx); in av_hwframe_ctx_create_derived()
H A Dbuffer.h49 * reference, additional references may be created with av_buffer_ref().
148 AVBufferRef *av_buffer_ref(const AVBufferRef *buf);
162 * A positive answer is valid until av_buffer_ref() is called on buf.
H A Dframe.c327 AVBufferRef *ref = av_buffer_ref(sd_src->buf); in frame_copy_props()
403 dst->buf[i] = av_buffer_ref(src->buf[i]); in av_frame_ref()
420 dst->extended_buf[i] = av_buffer_ref(src->extended_buf[i]); in av_frame_ref()
429 dst->hw_frames_ctx = av_buffer_ref(src->hw_frames_ctx); in av_frame_ref()
H A Dbuffer.c103 AVBufferRef *av_buffer_ref(const AVBufferRef *buf) in av_buffer_ref() function
250 tmp = av_buffer_ref(src); in av_buffer_replace()
/third_party/ffmpeg/fftools/
H A Dffmpeg_hw.c438 ist->dec_ctx->hw_device_ctx = av_buffer_ref(dev->device_ref); in hw_device_setup_for_decode()
476 ost->enc_ctx->hw_frames_ctx = av_buffer_ref(frames_ref); in hw_device_setup_for_encode()
491 ost->enc_ctx->hw_device_ctx = av_buffer_ref(dev->device_ref); in hw_device_setup_for_encode()
576 av_buffer_ref(dev->device_ref); in hw_device_setup_for_filter()
/third_party/ffmpeg/doc/examples/
H A 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()
H A Dqsvdec.c185 decoder_ctx->hw_device_ctx = av_buffer_ref(device_ref); in main()
/third_party/ffmpeg/libavformat/
H A Dvapoursynth.c377 ref_data->vss_state = av_buffer_ref(vs->vss_state); in read_packet_vs()
419 frame->buf[i] = av_buffer_ref(vsframe_ref); in read_packet_vs()

Completed in 18 milliseconds

1234