Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavutil/
Dbuffer.c67 AVBufferRef *av_buffer_alloc(buffer_size_t size) in av_buffer_alloc() function
85 AVBufferRef *ret = av_buffer_alloc(size); in av_buffer_allocz()
158 newbuf = av_buffer_alloc(buf->size); in av_buffer_make_writable()
258 pool->alloc = av_buffer_alloc; // fallback in av_buffer_pool_init2()
275 pool->alloc = alloc ? alloc : av_buffer_alloc; in av_buffer_pool_init()
Dbuffer.h109 AVBufferRef *av_buffer_alloc(int size);
111 AVBufferRef *av_buffer_alloc(size_t size);
Dframe.c258 frame->buf[0] = av_buffer_alloc(total_size); in get_video_buffer()
318 frame->buf[i] = av_buffer_alloc(frame->linesize[0]); in get_audio_buffer()
326 frame->extended_buf[i] = av_buffer_alloc(frame->linesize[0]); in get_audio_buffer()
731 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.c97 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in raw_init_decoder()
255 frame->buf[0] = av_buffer_alloc(FFMAX(context->frame_size, buf_size)); in MKSCALE16()
381 context->palette = av_buffer_alloc(AVPALETTE_SIZE); in MKSCALE16()
Dextract_extradata_bsf.c94 filtered_buf = av_buffer_alloc(filtered_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_av1()
188 filtered_buf = av_buffer_alloc(filtered_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_h2645()
Dlibdavs2.c108 frame->buf[plane] = av_buffer_alloc(size_line * pic->lines[plane]); in davs2_dump_frames()
Dcbs.c227 av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_fill_fragment_data()
687 unit->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in ff_cbs_alloc_unit_data()
982 ref = av_buffer_alloc(desc->content_size); in ff_cbs_make_unit_refcounted()
Dcbs_sei.c63 message->payload_ref = av_buffer_alloc(desc->size); in ff_cbs_sei_alloc_message_payload()
Davpacket.c153 pkt->buf = av_buffer_alloc(new_size); in av_grow_packet()
439 buf = av_buffer_alloc(size); in av_packet_merge_side_data()
Dcbs_mpeg2.c368 frag->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_mpeg2_assemble_fragment()
Dh264_sei.c259 buf_ref = av_buffer_alloc(size + 1); in decode_unregistered_user_data()
Dcbs_jpeg.c413 frag->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_jpeg_assemble_fragment()
Dhevc_sei.c197 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()
Dqsv.c640 qsv_mid->hw_frame->buf[0] = av_buffer_alloc(1); in qsv_frame_lock()
Dnvdec.c253 ret = av_buffer_alloc(sizeof(unsigned int)); in nvdec_decoder_frame_alloc()
Dcbs_vp9.c601 ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_vp9_assemble_fragment()
Dmmaldec.c496 buf = av_buffer_alloc(avpkt->size); in ffmmal_add_packet()
Dpthread_frame.c1046 f->progress = av_buffer_alloc(2 * sizeof(*progress)); in thread_get_buffer_internal()
Dcbs_av1.c1230 frag->data_ref = av_buffer_alloc(size + AV_INPUT_BUFFER_PADDING_SIZE); in cbs_av1_assemble_fragment()
/third_party/ffmpeg/libavformat/
Dflac_picture.c145 if (!(data = av_buffer_alloc(len + AV_INPUT_BUFFER_PADDING_SIZE))) { in ff_flac_parse_picture()
Did3v2.c651 apic->buf = av_buffer_alloc(taglen + AV_INPUT_BUFFER_PADDING_SIZE); in read_apic()
Dasfdec_f.c1423 AVBufferRef *buf = av_buffer_alloc(asf_st->pkt.size + in asf_parse_packet()
/third_party/ffmpeg/libavfilter/
Dvf_addroi.c120 roi_ref = av_buffer_alloc(sizeof(*roi) * nb_roi); in addroi_filter_frame()