Home
last modified time | relevance | path

Searched refs:av_buffer_alloc (Results 1 – 25 of 28) sorted by relevance

12

/third_party/ffmpeg/libavutil/
Dbuffer.c77 AVBufferRef *av_buffer_alloc(size_t size) in av_buffer_alloc() function
95 AVBufferRef *ret = av_buffer_alloc(size); in av_buffer_allocz()
181 newbuf = av_buffer_alloc(buf->size); in av_buffer_make_writable()
281 pool->alloc = av_buffer_alloc; // fallback in av_buffer_pool_init2()
298 pool->alloc = alloc ? alloc : av_buffer_alloc; in av_buffer_pool_init()
Dbuffer.h102 AVBufferRef *av_buffer_alloc(size_t size);
Dframe.c171 frame->buf[0] = av_buffer_alloc(total_size); in get_video_buffer()
240 frame->buf[i] = av_buffer_alloc(frame->linesize[0]); in get_audio_buffer()
248 frame->extended_buf[i] = av_buffer_alloc(frame->linesize[0]); in get_audio_buffer()
682 AVBufferRef *buf = av_buffer_alloc(size); in av_frame_new_side_data()
/third_party/ffmpeg/libavcodec/
Dcbs_jpeg_syntax_template.c161 current->Ap_ref = av_buffer_alloc(current->Lp - 2); in FUNC()
185 current->Cm_ref = av_buffer_alloc(current->Lc - 2); in FUNC()
Drawdec.c98 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in raw_init_decoder()
248 frame->buf[0] = av_buffer_alloc(FFMAX(context->frame_size, buf_size)); in MKSCALE16()
366 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in MKSCALE16()
Dextract_extradata_bsf.c93 filtered_buf = av_buffer_alloc(filtered_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_av1()
187 filtered_buf = av_buffer_alloc(filtered_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_h2645()
Dcbs.c228 av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_fill_fragment_data()
328 unit->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_alloc_unit_data()
1009 ref = av_buffer_alloc(desc->content_size); in ff_cbs_make_unit_refcounted()
Dlibdavs2.c117 frame->buf[plane] = av_buffer_alloc(size_line * pic->lines[plane]); in davs2_dump_frames()
Dcbs_sei.c63 message->payload_ref = av_buffer_alloc(desc->size); in ff_cbs_sei_alloc_message_payload()
Dcbs_mpeg2.c363 frag->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_mpeg2_assemble_fragment()
Dlibjxldec.c194 ctx->iccp = av_buffer_alloc(icc_len); in libjxl_get_icc()
Dcbs_jpeg.c411 frag->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_jpeg_assemble_fragment()
Dh264_sei.c266 buf_ref = av_buffer_alloc(size + 1); in decode_unregistered_user_data()
Dhevc_sei.c191 buf_ref = av_buffer_alloc(size + 1); in decode_nal_sei_user_data_unregistered()
Dcbs_av1_syntax_template.c1760 av_buffer_alloc(fh_bytes + AV_INPUT_BUFFER_PADDING_SIZE); in FUNC()
1949 current->payload_ref = av_buffer_alloc(current->payload_size); in FUNC()
2043 current->payload_ref = av_buffer_alloc(current->payload_size); in FUNC()
Davpacket.c158 pkt->buf = av_buffer_alloc(new_size); in av_grow_packet()
Dnvdec.c254 ret = av_buffer_alloc(sizeof(unsigned int)); in nvdec_decoder_frame_alloc()
Dcbs_vp9.c600 ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_vp9_assemble_fragment()
Dqsv.c669 qsv_mid->hw_frame->buf[0] = av_buffer_alloc(1); in qsv_frame_lock()
Dpthread_frame.c1081 f->progress = av_buffer_alloc(2 * sizeof(*progress)); in ff_thread_get_ext_buffer()
/third_party/ffmpeg/libavformat/
Dflac_picture.c154 if (!(data = av_buffer_alloc(len + AV_INPUT_BUFFER_PADDING_SIZE))) in ff_flac_parse_picture()
Did3v2.c732 apic->buf = av_buffer_alloc(taglen + AV_INPUT_BUFFER_PADDING_SIZE); in read_apic()
/third_party/ffmpeg/libavfilter/
Dfflcms2.c181 buf = av_buffer_alloc(size); in ff_icc_profile_attach()
Dvf_addroi.c120 roi_ref = av_buffer_alloc(sizeof(*roi) * nb_roi); in addroi_filter_frame()
/third_party/ffmpeg/tools/
Dtarget_dec_fuzzer.c131 frame->buf[i] = av_buffer_alloc(size[i]); in fuzz_video_get_buffer()

12