Home
last modified time | relevance | path

Searched refs:av_malloc (Results 1 - 25 of 338) sorted by relevance

12345678910>>...14

/third_party/ffmpeg/tests/checkasm/
H A Dvf_blend.c90 uint8_t *top1 = av_malloc(BUF_SIZE); in checkasm_check_blend()
91 uint8_t *top2 = av_malloc(BUF_SIZE); in checkasm_check_blend()
92 uint8_t *bot1 = av_malloc(BUF_SIZE); in checkasm_check_blend()
93 uint8_t *bot2 = av_malloc(BUF_SIZE); in checkasm_check_blend()
94 uint8_t *dst1 = av_malloc(BUF_SIZE); in checkasm_check_blend()
95 uint8_t *dst2 = av_malloc(BUF_SIZE); in checkasm_check_blend()
H A Dav_tx.c107 void *in = av_malloc(16384*2*8); in checkasm_check_av_tx()
108 void *out_ref = av_malloc(16384*2*8); in checkasm_check_av_tx()
109 void *out_new = av_malloc(16384*2*8); in checkasm_check_av_tx()
H A Dvf_gblur.c83 float *dst_ref = av_malloc(BUF_SIZE); in checkasm_check_vf_gblur()
84 float *dst_new = av_malloc(BUF_SIZE); in checkasm_check_vf_gblur()
/third_party/ffmpeg/libavutil/tests/
H A Dpixelutils.c80 uint8_t *buf1 = av_malloc(W1*H1); in main()
81 uint8_t *buf2 = av_malloc(W2*H2); in main()
137 buf1 = av_malloc(size1); in main()
138 buf2 = av_malloc(size2); in main()
H A Dlzo.c38 uint8_t *orig = av_malloc(MAXSZ + 16); in main()
39 uint8_t *comp = av_malloc(2*MAXSZ + 16); in main()
40 uint8_t *decomp = av_malloc(MAXSZ + 16); in main()
/third_party/ffmpeg/libavcodec/
H A Davfft.c60 FFTContext *s = av_malloc(sizeof(*s)); in av_mdct_init()
97 RDFTContext *s = av_malloc(sizeof(*s)); in av_rdft_init()
124 DCTContext *s = av_malloc(sizeof(*s)); in av_dct_init()
H A Dassdec.c33 avctx->subtitle_header = av_malloc(avctx->extradata_size + 1); in ass_decode_init()
49 sub->rects = av_malloc(sizeof(*sub->rects)); in ass_decode_frame()
H A Dextract_extradata_bsf.c100 extradata = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_av1()
194 extradata = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_h2645()
249 *data = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_vc1()
278 *data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_mpeg12()
306 *data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE); in extract_extradata_mpeg4()
H A Descape130.c128 s->old_y_avg = av_malloc(avctx->width * avctx->height / 4); in escape130_decode_init()
129 s->buf1 = av_malloc(avctx->width * avctx->height * 3 / 2); in escape130_decode_init()
130 s->buf2 = av_malloc(avctx->width * avctx->height * 3 / 2); in escape130_decode_init()
H A Dbgmc.c463 *cf_lut = av_malloc(sizeof(**cf_lut) * LUT_BUFF * 16 * LUT_SIZE); in ff_bgmc_init()
464 *cf_lut_status = av_malloc(sizeof(**cf_lut_status) * LUT_BUFF); in ff_bgmc_init()
H A D8svx.c116 if (!(esc->data[0] = av_malloc(chan_size))) in eightsvx_decode_frame()
119 if (!(esc->data[1] = av_malloc(chan_size))) { in eightsvx_decode_frame()
H A Dlibjxl.c43 * Wrapper around av_malloc used as a jpegxl_alloc_func.
51 return av_malloc(size); in libjxl_av_malloc()
H A Dlibxvid.c300 avctx->extradata = av_malloc(vo_len); in xvid_strip_vol_header()
501 x->twopassbuffer = av_malloc(BUFFER_SIZE); in xvid_encode_init()
502 x->old_twopassbuffer = av_malloc(BUFFER_SIZE); in xvid_encode_init()
627 x->intra_matrix = av_malloc(sizeof(unsigned char) * 64); in xvid_encode_init()
634 x->inter_matrix = av_malloc(sizeof(unsigned char) * 64); in xvid_encode_init()
701 picture->data[0] = av_malloc(size + size / 2); in xvid_encode_init()
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_dense.c29 dense_params = av_malloc(sizeof(*dense_params)); in ff_dnn_load_layer_dense()
50 dense_params->kernel = av_malloc(kernel_size * sizeof(float)); in ff_dnn_load_layer_dense()
61 dense_params->biases = av_malloc(dense_params->output_num * sizeof(float)); in ff_dnn_load_layer_dense()
H A Dqueue.c41 QueueEntry *entry = av_malloc(sizeof(*entry)); in create_entry()
49 Queue *q = av_malloc(sizeof(*q)); in ff_queue_create()
/third_party/ffmpeg/tools/
H A Dgraph2dot.c159 last_line = first_line = av_malloc(sizeof(struct line)); in main()
166 struct line *new_line = av_malloc(sizeof(struct line)); in main()
177 graph_string = av_malloc(count + 1); in main()
H A Dcoverity.c35 void *av_malloc(size_t size) { in av_malloc() function
/third_party/ffmpeg/libavutil/
H A Dmem.c96 void *av_malloc(size_t size) in av_malloc() function
144 ptr= av_malloc(1); in av_malloc()
212 return av_malloc(result); in av_malloc_array()
266 void *ptr = av_malloc(size); in av_mallocz()
316 ptr = av_malloc(size); in av_memdup()
557 val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); in fast_malloc()
H A Davstring.c128 p = av_malloc(len + 1); in av_asprintf()
145 char *str = av_malloc(16); in av_d2str()
156 char *out = av_malloc(strlen(*buf) + 1); in av_get_token()
321 fullpath = av_malloc(p_len + c_len + 2); in av_append_path_component()
/third_party/ffmpeg/libswscale/tests/
H A Dcolorspace.c40 uint8_t *srcBuffer = av_malloc(SIZE); in main()
41 uint8_t *dstBuffer = av_malloc(SIZE); in main()
/third_party/ffmpeg/libavfilter/
H A Dvf_colorspace.c201 s->lin_lut = av_malloc(sizeof(*s->lin_lut) * 32768 * 2); in fill_gamma_table()
774 s->rgb[0] = av_malloc(rgb_sz); in filter_frame()
775 s->rgb[1] = av_malloc(rgb_sz); in filter_frame()
776 s->rgb[2] = av_malloc(rgb_sz); in filter_frame()
778 av_malloc(sizeof(*s->dither_scratch_base[0][0]) * (in->width + 4)); in filter_frame()
780 av_malloc(sizeof(*s->dither_scratch_base[0][1]) * (in->width + 4)); in filter_frame()
782 av_malloc(sizeof(*s->dither_scratch_base[1][0]) * (uvw + 4)); in filter_frame()
784 av_malloc(sizeof(*s->dither_scratch_base[1][1]) * (uvw + 4)); in filter_frame()
786 av_malloc(sizeof(*s->dither_scratch_base[2][0]) * (uvw + 4)); in filter_frame()
788 av_malloc(sizeo in filter_frame()
[all...]
H A Dvf_siti.c129 s->prev_frame = av_malloc(data_sz); in config_input()
132 s->gradient_matrix = av_malloc(gradient_sz); in config_input()
135 s->motion_matrix = av_malloc(motion_sz); in config_input()
/third_party/ffmpeg/libavformat/
H A Drl2.c163 chunk_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
164 audio_size = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
165 chunk_offset = av_malloc(frame_count * sizeof(uint32_t)); in rl2_read_header()
/third_party/ffmpeg/libswscale/
H A Dhscale.c129 ColorContext * li = av_malloc(sizeof(ColorContext)); in ff_init_desc_fmt_convert()
146 FilterContext *li = av_malloc(sizeof(FilterContext)); in ff_init_desc_hscale()
237 ColorContext * li = av_malloc(sizeof(ColorContext)); in ff_init_desc_cfmt_convert()
252 FilterContext *li = av_malloc(sizeof(FilterContext)); in ff_init_desc_chscale()
/third_party/ffmpeg/tests/api/
H A Dapi-flac-test.c146 raw_in = av_malloc(in_frame->linesize[0] * NUMBER_OF_AUDIO_FRAMES); in run_test()
152 raw_out = av_malloc(in_frame->linesize[0] * NUMBER_OF_AUDIO_FRAMES); in run_test()

Completed in 14 milliseconds

12345678910>>...14