Home
last modified time | relevance | path

Searched refs:AVBufferRef (Results 1 – 25 of 148) sorted by relevance

123456

/third_party/ffmpeg/libavutil/
Dbuffer.h84 typedef struct AVBufferRef { struct
101 } AVBufferRef; argument
109 AVBufferRef *av_buffer_alloc(int size);
111 AVBufferRef *av_buffer_alloc(size_t size);
119 AVBufferRef *av_buffer_allocz(int size);
121 AVBufferRef *av_buffer_allocz(size_t size);
146 AVBufferRef *av_buffer_create(uint8_t *data, int size,
148 AVBufferRef *av_buffer_create(uint8_t *data, size_t size,
166 AVBufferRef *av_buffer_ref(AVBufferRef *buf);
174 void av_buffer_unref(AVBufferRef **buf);
[all …]
Dhwcontext.h141 AVBufferRef *device_ref;
266 AVBufferRef *av_hwdevice_ctx_alloc(enum AVHWDeviceType type);
276 int av_hwdevice_ctx_init(AVBufferRef *ref);
303 int av_hwdevice_ctx_create(AVBufferRef **device_ctx, enum AVHWDeviceType type,
327 int av_hwdevice_ctx_create_derived(AVBufferRef **dst_ctx,
329 AVBufferRef *src_ctx, int flags);
347 int av_hwdevice_ctx_create_derived_opts(AVBufferRef **dst_ctx,
349 AVBufferRef *src_ctx,
361 AVBufferRef *av_hwframe_ctx_alloc(AVBufferRef *device_ctx);
371 int av_hwframe_ctx_init(AVBufferRef *ref);
[all …]
Dbuffer.c29 AVBufferRef *av_buffer_create(uint8_t *data, buffer_size_t size, in av_buffer_create()
33 AVBufferRef *ref = NULL; in av_buffer_create()
67 AVBufferRef *av_buffer_alloc(buffer_size_t size) in av_buffer_alloc()
69 AVBufferRef *ret = NULL; in av_buffer_alloc()
83 AVBufferRef *av_buffer_allocz(buffer_size_t size) in av_buffer_allocz()
85 AVBufferRef *ret = av_buffer_alloc(size); in av_buffer_allocz()
93 AVBufferRef *av_buffer_ref(AVBufferRef *buf) in av_buffer_ref()
95 AVBufferRef *ret = av_mallocz(sizeof(*ret)); in av_buffer_ref()
107 static void buffer_replace(AVBufferRef **dst, AVBufferRef **src) in buffer_replace()
125 void av_buffer_unref(AVBufferRef **buf) in av_buffer_unref()
[all …]
Dframe.h229 AVBufferRef *buf;
509 AVBufferRef *buf[AV_NUM_DATA_POINTERS];
523 AVBufferRef **extended_buf;
651 AVBufferRef *qp_table_buf;
657 AVBufferRef *hw_frames_ctx;
668 AVBufferRef *opaque_ref;
697 AVBufferRef *private_ref;
745 int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type);
907 AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane);
940 AVBufferRef *buf);
Dhwcontext.c142 AVBufferRef *av_hwdevice_ctx_alloc(enum AVHWDeviceType type) in av_hwdevice_ctx_alloc()
145 AVBufferRef *buf; in av_hwdevice_ctx_alloc()
200 int av_hwdevice_ctx_init(AVBufferRef *ref) in av_hwdevice_ctx_init()
247 AVBufferRef *av_hwframe_ctx_alloc(AVBufferRef *device_ref_in) in av_hwframe_ctx_alloc()
252 AVBufferRef *buf, *device_ref = NULL; in av_hwframe_ctx_alloc()
305 static int hwframe_pool_prealloc(AVBufferRef *ref) in hwframe_pool_prealloc()
333 int av_hwframe_ctx_init(AVBufferRef *ref) in av_hwframe_ctx_init()
385 int av_hwframe_transfer_get_formats(AVBufferRef *hwframe_ref, in av_hwframe_transfer_get_formats()
502 int av_hwframe_get_buffer(AVBufferRef *hwframe_ref, AVFrame *frame, int flags) in av_hwframe_get_buffer()
565 void *av_hwdevice_hwconfig_alloc(AVBufferRef *ref) in av_hwdevice_hwconfig_alloc()
[all …]
Dhwcontext_internal.h111 AVBufferRef *source_device;
124 AVBufferRef *source_frames;
142 AVBufferRef *hw_frames_ctx;
154 int ff_hwframe_map_create(AVBufferRef *hwframe_ref,
Dbuffer_internal.h95 AVBufferRef* (*alloc)(buffer_size_t size);
96 AVBufferRef* (*alloc2)(void *opaque, buffer_size_t size);
/third_party/ffmpeg/libavcodec/
Dmpegpicture.h49 AVBufferRef *qscale_table_buf;
52 AVBufferRef *motion_val_buf[2];
55 AVBufferRef *mb_type_buf;
58 AVBufferRef *mbskip_table_buf;
61 AVBufferRef *ref_index_buf[2];
64 AVBufferRef *mb_var_buf;
67 AVBufferRef *mc_mb_var_buf;
74 AVBufferRef *mb_mean_buf;
77 AVBufferRef *hwaccel_priv_buf;
Dnvdec.h47 AVBufferRef *idx_ref;
48 AVBufferRef *ref_idx_ref;
49 AVBufferRef *decoder_ref;
57 AVBufferRef *decoder_ref;
80 AVBufferRef *hw_frames_ctx,
Dqsv_internal.h64 AVBufferRef *hw_frames_ref;
88 AVBufferRef *va_device_ref;
94 AVBufferRef *hw_frames_ctx;
101 AVBufferRef *mids_buf;
136 AVBufferRef *device_ref, const char *load_plugins,
Dav1dec.h36 AVBufferRef *hwaccel_priv_buf;
39 AVBufferRef *header_ref;
70 AVBufferRef *seq_ref;
72 AVBufferRef *header_ref;
Dcbs.h94 AVBufferRef *data_ref;
108 AVBufferRef *content_ref;
141 AVBufferRef *data_ref;
395 AVBufferRef *content_buf);
408 AVBufferRef *data_buf);
Dcbs_sei.h39 AVBufferRef *data_ref;
46 AVBufferRef *data_ref;
72 AVBufferRef *payload_ref;
74 AVBufferRef *extension_data_ref;
179 AVBufferRef *payload_buf);
Dh264_ps.h139 AVBufferRef *sps_ref;
144 AVBufferRef *sps_list[MAX_SPS_COUNT];
145 AVBufferRef *pps_list[MAX_PPS_COUNT];
147 AVBufferRef *pps_ref;
Dnvdec.c46 AVBufferRef *hw_device_ref;
47 AVBufferRef *real_hw_frames_ref;
181 static int nvdec_decoder_create(AVBufferRef **out, AVBufferRef *hw_device_ref, in nvdec_decoder_create()
187 AVBufferRef *decoder_ref; in nvdec_decoder_create()
245 static AVBufferRef *nvdec_decoder_frame_alloc(void *opaque, buffer_size_t size) in nvdec_decoder_frame_alloc()
248 AVBufferRef *ret; in nvdec_decoder_frame_alloc()
286 static AVBufferRef *nvdec_alloc_dummy(buffer_size_t size) in nvdec_alloc_dummy()
291 static int nvdec_init_hwframes(AVCodecContext *avctx, AVBufferRef **out_frames_ref, int dummy) in nvdec_init_hwframes()
335 AVBufferRef *real_hw_frames_ref; in ff_nvdec_decode_init()
696 AVBufferRef *hw_frames_ctx, in ff_nvdec_frame_params()
Dqsv.c440 AVBufferRef *hw_frames_ref = opaque; in mids_buf_free()
445 static AVBufferRef *qsv_create_mids(AVBufferRef *hw_frames_ref) in qsv_create_mids()
451 AVBufferRef *mids_buf, *hw_frames_ref1; in qsv_create_mids()
482 static int qsv_setup_mids(mfxFrameAllocResponse *resp, AVBufferRef *hw_frames_ref, in qsv_setup_mids()
483 AVBufferRef *mids_buf) in qsv_setup_mids()
510 av_buffer_unref((AVBufferRef**)&resp->mids[resp->NumFrameActual]); in qsv_setup_mids()
558 AVBufferRef *frames_ref, *mids_buf; in qsv_frame_alloc()
609 av_buffer_unref((AVBufferRef**)&resp->mids[resp->NumFrameActual]); in qsv_frame_free()
610 av_buffer_unref((AVBufferRef**)&resp->mids[resp->NumFrameActual + 1]); in qsv_frame_free()
690 AVBufferRef *device_ref, const char *load_plugins, in ff_qsv_init_session_device()
Dcbs_jpeg.h83 AVBufferRef *data_ref;
113 AVBufferRef *Ap_ref;
119 AVBufferRef *Cm_ref;
Dhevc_sei.h59 AVBufferRef *buf_ref;
63 AVBufferRef **buf_ref;
76 AVBufferRef *info;
Dcbs.c243 AVBufferRef *buf, in cbs_read_data()
423 AVBufferRef *buf; in ff_cbs_write_packet()
741 AVBufferRef *content_buf) in ff_cbs_insert_unit_content()
744 AVBufferRef *content_ref; in ff_cbs_insert_unit_content()
777 AVBufferRef *data_buf) in ff_cbs_insert_unit_data()
780 AVBufferRef *data_ref; in ff_cbs_insert_unit_data()
835 av_buffer_unref((AVBufferRef**)(ptr + 1)); in cbs_default_free_unit_content()
897 static int cbs_clone_unit_content(AVBufferRef **clone_ref, in cbs_clone_unit_content()
903 AVBufferRef **src_buf, **copy_buf; in cbs_clone_unit_content()
915 src_buf = (AVBufferRef**)(src_ptr + 1); in cbs_clone_unit_content()
[all …]
Dvaapi_encode.h99 AVBufferRef *output_buffer_ref;
243 AVBufferRef *device_ref;
248 AVBufferRef *input_frames_ref;
252 AVBufferRef *recon_frames_ref;
Dhevc_ps.h328 AVBufferRef *vps_list[HEVC_MAX_VPS_COUNT];
329 AVBufferRef *sps_list[HEVC_MAX_SPS_COUNT];
330 AVBufferRef *pps_list[HEVC_MAX_PPS_COUNT];
348 int apply_defdispwin, AVBufferRef **vps_list, AVCodecContext *avctx);
Dv4l2_m2m.h65 AVBufferRef *self_ref;
75 AVBufferRef *context_ref;
/third_party/ffmpeg/libavfilter/
Dvulkan.h126 AVBufferRef **buf_deps;
141 AVBufferRef ***deps;
162 AVBufferRef *device_ref;
163 AVBufferRef *frames_ref; /* For in-place filtering */
331 AVBufferRef **deps, int nb_deps);
Dframepool.h47 FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(buffer_size_t size),
65 FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(buffer_size_t size),
Dvaapi_vpp.h37 AVBufferRef *device_ref;
43 AVBufferRef *input_frames_ref;

123456