Home
last modified time | relevance | path

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

123456

/third_party/ffmpeg/tests/checkasm/
Dllviddsp.c49 uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_bytes()
50 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_bytes()
77 uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred()
78 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred()
79 uint8_t *diff0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred()
80 uint8_t *diff1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_median_pred()
115 uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_left_pred()
116 uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); in check_add_left_pred()
142 uint16_t *dst0 = av_mallocz_array(width, sizeof(uint16_t)); in check_add_left_pred_16()
143 uint16_t *dst1 = av_mallocz_array(width, sizeof(uint16_t)); in check_add_left_pred_16()
[all …]
Dvf_nlmeans.c49 uint32_t *ii_orig_ref = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii_orig_ref)); in checkasm_check_nlmeans()
51 uint32_t *ii_orig_new = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii_orig_new)); in checkasm_check_nlmeans()
54 uint8_t *src = av_mallocz_array(h, src_lz); in checkasm_check_nlmeans()
/third_party/ffmpeg/libavcodec/
Dcngdec.c64 p->refl_coef = av_mallocz_array(p->order, sizeof(*p->refl_coef)); in cng_decode_init()
65 p->target_refl_coef = av_mallocz_array(p->order, sizeof(*p->target_refl_coef)); in cng_decode_init()
66 p->lpc_coef = av_mallocz_array(p->order, sizeof(*p->lpc_coef)); in cng_decode_init()
67 p->filter_out = av_mallocz_array(avctx->frame_size + p->order, in cng_decode_init()
69 p->excitation = av_mallocz_array(avctx->frame_size, sizeof(*p->excitation)); in cng_decode_init()
Djpeg2000.c62 t = res = av_mallocz_array(tt_size, sizeof(*t)); in ff_jpeg2000_tag_tree_init()
329 prec->cblk = av_mallocz_array(nb_codeblocks, sizeof(*prec->cblk)); in init_prec()
372 cblk->layers = av_mallocz_array(codsty->nlayers, sizeof(*cblk->layers)); in init_prec()
444 band->prec = av_mallocz_array(nb_precincts, sizeof(*band->prec)); in init_band()
492 comp->f_data = av_mallocz_array(csize, sizeof(*comp->f_data)); in ff_jpeg2000_init_component()
498 comp->i_data = av_mallocz_array(csize, sizeof(*comp->i_data)); in ff_jpeg2000_init_component()
502 comp->reslevel = av_mallocz_array(codsty->nreslevels, sizeof(*comp->reslevel)); in ff_jpeg2000_init_component()
550 reslevel->band = av_mallocz_array(reslevel->nbands, sizeof(*reslevel->band)); in ff_jpeg2000_init_component()
Dpsymodel.c38 ctx->ch = av_mallocz_array(sizeof(ctx->ch[0]), avctx->channels * 2); in ff_psy_init()
39 ctx->group = av_mallocz_array(sizeof(ctx->group[0]), num_groups); in ff_psy_init()
123 ctx->fstate = av_mallocz_array(sizeof(ctx->fstate[0]), avctx->channels); in ff_psy_preprocess_init()
Dpng.c41 return av_mallocz_array(items, size); in ff_png_zalloc()
Dcavs.c765 h->top_mv[0] = av_mallocz_array(h->mb_width * 2 + 1, sizeof(cavs_vector)); in ff_cavs_init_top_lines()
766 h->top_mv[1] = av_mallocz_array(h->mb_width * 2 + 1, sizeof(cavs_vector)); in ff_cavs_init_top_lines()
767 h->top_pred_Y = av_mallocz_array(h->mb_width * 2, sizeof(*h->top_pred_Y)); in ff_cavs_init_top_lines()
768 h->top_border_y = av_mallocz_array(h->mb_width + 1, 16); in ff_cavs_init_top_lines()
769 h->top_border_u = av_mallocz_array(h->mb_width, 10); in ff_cavs_init_top_lines()
770 h->top_border_v = av_mallocz_array(h->mb_width, 10); in ff_cavs_init_top_lines()
773 h->col_mv = av_mallocz_array(h->mb_width * h->mb_height, in ff_cavs_init_top_lines()
Dmotionpixels.c83 mp->changes_map = av_mallocz_array(avctx->width, h4); in mp_decode_init()
85 mp->vpt = av_mallocz_array(avctx->height, sizeof(YuvPixel)); in mp_decode_init()
86 mp->hpt = av_mallocz_array(h4 / 4, w4 / 4 * sizeof(YuvPixel)); in mp_decode_init()
Dlibopencore-amr.c251 flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); in amr_nb_encode_frame()
266 flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); in amr_nb_encode_frame()
/third_party/ffmpeg/libavfilter/tests/
Dintegral.c57 uint32_t *ii = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii)); in main()
58 uint32_t *ii2 = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii2)); in main()
/third_party/ffmpeg/libavfilter/
Daf_join.c174 s->channels = av_mallocz_array(s->nb_channels, sizeof(*s->channels)); in join_init()
175 s->buffers = av_mallocz_array(s->nb_channels, sizeof(*s->buffers)); in join_init()
176 s->input_frames = av_mallocz_array(s->inputs, sizeof(*s->input_frames)); in join_init()
291 if (!(inputs = av_mallocz_array(ctx->nb_inputs, sizeof(*inputs)))) in join_config_output()
388 frame->extended_data = av_mallocz_array(s->nb_channels, in try_push_frame()
422 frame->extended_buf = av_mallocz_array(frame->nb_extended_buf, in try_push_frame()
Daf_amix.c260 s->fifos = av_mallocz_array(s->nb_inputs, sizeof(*s->fifos)); in config_output()
277 s->input_scale = av_mallocz_array(s->nb_inputs, sizeof(*s->input_scale)); in config_output()
278 s->scale_norm = av_mallocz_array(s->nb_inputs, sizeof(*s->scale_norm)); in config_output()
566 s->weights = av_mallocz_array(s->nb_inputs, sizeof(*s->weights)); in init()
Dvf_scale_qsv.c346 s->surface_ptrs_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, in init_out_session()
354 s->surface_ptrs_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, in init_out_session()
386 s->mem_ids_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, in init_out_session()
394 s->mem_ids_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, in init_out_session()
Dframepool.c248 frame->extended_data = av_mallocz_array(pool->planes, in ff_frame_pool_get()
251 frame->extended_buf = av_mallocz_array(frame->nb_extended_buf, in ff_frame_pool_get()
Dqsvvpp.c530 s->surface_ptrs_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, in init_vpp_session()
579 s->surface_ptrs_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, in init_vpp_session()
689 s->frame_infos = av_mallocz_array(avctx->nb_inputs, sizeof(*s->frame_infos)); in ff_qsvvpp_create()
725 s->ext_buffers = av_mallocz_array(s->nb_ext_buffers, sizeof(*s->ext_buffers)); in ff_qsvvpp_create()
Dvsrc_cellauto.c126 s->buf = av_mallocz_array(sizeof(uint8_t) * s->w, s->h); in init_pattern_from_string()
186 s->buf = av_mallocz_array(sizeof(uint8_t) * s->w, s->h); in init()
/third_party/ffmpeg/libswresample/x86/
Drematrix_init.c53 s->native_simd_matrix = av_mallocz_array(num, 2 * sizeof(int16_t)); in D()
80 s->native_simd_matrix = av_mallocz_array(num, sizeof(float)); in D()
/third_party/ffmpeg/libavutil/
Dwchar_filename.h35 *filename_w = (wchar_t *)av_mallocz_array(num_chars, sizeof(wchar_t)); in utf8towchar()
Dhwcontext_qsv.c363 s->surfaces_internal = av_mallocz_array(ctx->initial_pool_size, in qsv_init_pool()
541 s->surface_ptrs = av_mallocz_array(frames_hwctx->nb_surfaces, in qsv_frames_init()
560 s->mem_ids = av_mallocz_array(frames_hwctx->nb_surfaces, sizeof(*s->mem_ids)); in qsv_frames_init()
625 dst_hwctx->surface_ids = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from()
640 dst_hwctx->surfaces = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_from()
986 s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_to()
1003 s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, in qsv_frames_derive_to()
Dencryption_info.c51 info->subsamples = av_mallocz_array(subsample_count, sizeof(*info->subsamples)); in av_encryption_info_alloc()
188 info->key_ids = key_id_size ? av_mallocz_array(num_key_ids, sizeof(*info->key_ids)) : NULL; in av_encryption_init_info_alloc()
/third_party/ffmpeg/libavcodec/tests/
Dsnowenc.c40 s.temp_dwt_buffer = av_mallocz_array(width, sizeof(DWTELEM)); in main()
41 s.temp_idwt_buffer = av_mallocz_array(width, sizeof(IDWTELEM)); in main()
/third_party/ffmpeg/libavformat/
Dhashenc.c81 c->hashes = av_mallocz_array(1, sizeof(*c->hashes)); in hash_init()
98 c->hashes = av_mallocz_array(s->nb_streams, sizeof(*c->hashes)); in streamhash_init()
265 c->hashes = av_mallocz_array(1, sizeof(*c->hashes)); in framehash_init()
/third_party/ffmpeg/tests/api/
Dapi-threadmessage-test.c201 senders = av_mallocz_array(nb_senders, sizeof(*senders)); in main()
202 receivers = av_mallocz_array(nb_receivers, sizeof(*receivers)); in main()
/third_party/ffmpeg/compat/
Dw32dlfcn.h45 path = (wchar_t *)av_mallocz_array(MAX_PATH, sizeof(wchar_t)); in win32_dlopen()
/third_party/ffmpeg/libswscale/
Dslice.c94 s->plane[i].line = av_mallocz_array(sizeof(uint8_t*), n); in alloc_slice()
287 c->desc = av_mallocz_array(sizeof(SwsFilterDescriptor), c->numDesc); in ff_init_filters()
290 c->slice = av_mallocz_array(sizeof(SwsSlice), c->numSlice); in ff_init_filters()

123456