av_mallocz_array 45 compat/w32dlfcn.h path = (wchar_t *)av_mallocz_array(MAX_PATH, sizeof(wchar_t)); av_mallocz_array 88 doc/examples/remuxing.c stream_mapping = av_mallocz_array(stream_mapping_size, sizeof(*stream_mapping)); av_mallocz_array 69 doc/examples/transcoding.c stream_ctx = av_mallocz_array(ifmt_ctx->nb_streams, sizeof(*stream_ctx)); av_mallocz_array 711 fftools/cmdutils.c octx->groups = av_mallocz_array(octx->nb_groups, sizeof(*octx->groups)); av_mallocz_array 2169 fftools/cmdutils.c opts = av_mallocz_array(s->nb_streams, sizeof(*opts)); av_mallocz_array 2504 fftools/ffmpeg_opt.c f->formats = av_mallocz_array(count + 1, sizeof(*f->formats)); av_mallocz_array 2517 fftools/ffmpeg_opt.c f->formats = av_mallocz_array(count + 1, sizeof(*f->formats)); av_mallocz_array 2528 fftools/ffmpeg_opt.c f->sample_rates = av_mallocz_array(count + 1, sizeof(*f->sample_rates)); av_mallocz_array 2540 fftools/ffmpeg_opt.c f->channel_layouts = av_mallocz_array(count + 1, sizeof(*f->channel_layouts)); av_mallocz_array 2905 fftools/ffprobe.c ifile->streams = av_mallocz_array(fmt_ctx->nb_streams, av_mallocz_array 228 libavcodec/a64multienc.c if (!(c->mc_meta_charset = av_mallocz_array(c->mc_lifetime, 32000 * sizeof(int))) || av_mallocz_array 230 libavcodec/a64multienc.c !(c->mc_charmap = av_mallocz_array(c->mc_lifetime, 1000 * sizeof(int))) || av_mallocz_array 370 libavcodec/aacpsy.c pctx->ch = av_mallocz_array(ctx->avctx->channels, sizeof(AacPsyChannel)); av_mallocz_array 2055 libavcodec/alsdec.c ctx->use_ltp = av_mallocz_array(num_buffers, sizeof(*ctx->use_ltp)); av_mallocz_array 2074 libavcodec/alsdec.c ctx->chan_data_buffer = av_mallocz_array(num_buffers * num_buffers, av_mallocz_array 2076 libavcodec/alsdec.c ctx->chan_data = av_mallocz_array(num_buffers, av_mallocz_array 2098 libavcodec/alsdec.c ctx->raw_buffer = av_mallocz_array(avctx->channels * channel_size, sizeof(*ctx->raw_buffer)); av_mallocz_array 2106 libavcodec/alsdec.c ctx->raw_mantissa = av_mallocz_array(avctx->channels, sizeof(*ctx->raw_mantissa)); av_mallocz_array 2123 libavcodec/alsdec.c ctx->raw_mantissa[c] = av_mallocz_array(ctx->cur_frame_length, sizeof(**ctx->raw_mantissa)); av_mallocz_array 1003 libavcodec/atrac3.c q->units = av_mallocz_array(avctx->channels, sizeof(*q->units)); av_mallocz_array 173 libavcodec/atrac3plusdec.c ctx->ch_units = av_mallocz_array(ctx->num_channel_blocks, sizeof(*ctx->ch_units)); av_mallocz_array 763 libavcodec/cavs.c h->top_mv[0] = av_mallocz_array(h->mb_width * 2 + 1, sizeof(cavs_vector)); av_mallocz_array 764 libavcodec/cavs.c h->top_mv[1] = av_mallocz_array(h->mb_width * 2 + 1, sizeof(cavs_vector)); av_mallocz_array 765 libavcodec/cavs.c h->top_pred_Y = av_mallocz_array(h->mb_width * 2, sizeof(*h->top_pred_Y)); av_mallocz_array 766 libavcodec/cavs.c h->top_border_y = av_mallocz_array(h->mb_width + 1, 16); av_mallocz_array 767 libavcodec/cavs.c h->top_border_u = av_mallocz_array(h->mb_width, 10); av_mallocz_array 768 libavcodec/cavs.c h->top_border_v = av_mallocz_array(h->mb_width, 10); av_mallocz_array 771 libavcodec/cavs.c h->col_mv = av_mallocz_array(h->mb_width * h->mb_height, av_mallocz_array 340 libavcodec/cfhd.c av_mallocz_array(height * stride, sizeof(*s->plane[i].idwt_buf)); av_mallocz_array 64 libavcodec/cngdec.c p->refl_coef = av_mallocz_array(p->order, sizeof(*p->refl_coef)); av_mallocz_array 65 libavcodec/cngdec.c p->target_refl_coef = av_mallocz_array(p->order, sizeof(*p->target_refl_coef)); av_mallocz_array 66 libavcodec/cngdec.c p->lpc_coef = av_mallocz_array(p->order, sizeof(*p->lpc_coef)); av_mallocz_array 67 libavcodec/cngdec.c p->filter_out = av_mallocz_array(avctx->frame_size + p->order, av_mallocz_array 69 libavcodec/cngdec.c p->excitation = av_mallocz_array(avctx->frame_size, sizeof(*p->excitation)); av_mallocz_array 1566 libavcodec/decode.c frame->extended_data = av_mallocz_array(planes, sizeof(*frame->extended_data)); av_mallocz_array 1568 libavcodec/decode.c frame->extended_buf = av_mallocz_array(frame->nb_extended_buf, av_mallocz_array 306 libavcodec/diracdec.c s->plane[i].idwt.buf_base = av_mallocz_array((w+max_xblen), h * (2 << s->pshift)); av_mallocz_array 104 libavcodec/dnxhddec.c ctx->rows = av_mallocz_array(avctx->thread_count, sizeof(RowContext)); av_mallocz_array 759 libavcodec/dvbsubdec.c sub->rects = av_mallocz_array(sizeof(*sub->rects), sub->num_rects); av_mallocz_array 512 libavcodec/dxva2.c sctx->d3d11_views = av_mallocz_array(texdesc.ArraySize, sizeof(sctx->d3d11_views[0])); av_mallocz_array 554 libavcodec/exr.c freq = av_mallocz_array(HUF_ENCSIZE, sizeof(*freq)); av_mallocz_array 555 libavcodec/exr.c hdec = av_mallocz_array(HUF_DECSIZE, sizeof(*hdec)); av_mallocz_array 1865 libavcodec/exr.c s->thread_data = av_mallocz_array(avctx->thread_count, sizeof(EXRThreadData)); av_mallocz_array 83 libavcodec/ffv1.c p->vlc_state = av_mallocz_array(p->context_count, sizeof(VlcState)); av_mallocz_array 1186 libavcodec/g2meet.c c->framebuf = av_mallocz_array(c->framebuf_stride, aligned_height); av_mallocz_array 73 libavcodec/g722enc.c c->paths[i] = av_mallocz_array(max_paths, sizeof(**c->paths)); av_mallocz_array 74 libavcodec/g722enc.c c->node_buf[i] = av_mallocz_array(frontier, 2 * sizeof(**c->node_buf)); av_mallocz_array 75 libavcodec/g722enc.c c->nodep_buf[i] = av_mallocz_array(frontier, 2 * sizeof(**c->nodep_buf)); av_mallocz_array 329 libavcodec/h264dec.c h->slice_ctx = av_mallocz_array(h->nb_slice_ctx, sizeof(*h->slice_ctx)); av_mallocz_array 100 libavcodec/hevcdec.c s->sao = av_mallocz_array(ctb_count, sizeof(*s->sao)); av_mallocz_array 101 libavcodec/hevcdec.c s->deblock = av_mallocz_array(ctb_count, sizeof(*s->deblock)); av_mallocz_array 124 libavcodec/hevcdec.c s->horizontal_bs = av_mallocz_array(s->bs_width, s->bs_height); av_mallocz_array 125 libavcodec/hevcdec.c s->vertical_bs = av_mallocz_array(s->bs_width, s->bs_height); av_mallocz_array 329 libavcodec/ivi.c planes[p].bands = av_mallocz_array(planes[p].num_bands, sizeof(IVIBandDesc)); av_mallocz_array 388 libavcodec/ivi.c tile->mbs = av_mallocz_array(tile->num_MBs, sizeof(IVIMbInfo)); av_mallocz_array 444 libavcodec/ivi.c band->tiles = av_mallocz_array(band->num_tiles, sizeof(IVITile)); av_mallocz_array 420 libavcodec/j2kenc.c tile->comp = av_mallocz_array(s->ncomponents, sizeof(Jpeg2000Component)); av_mallocz_array 62 libavcodec/jpeg2000.c t = res = av_mallocz_array(tt_size, sizeof(*t)); av_mallocz_array 326 libavcodec/jpeg2000.c prec->cblk = av_mallocz_array(nb_codeblocks, sizeof(*prec->cblk)); av_mallocz_array 436 libavcodec/jpeg2000.c band->prec = av_mallocz_array(nb_precincts, sizeof(*band->prec)); av_mallocz_array 484 libavcodec/jpeg2000.c comp->f_data = av_mallocz_array(csize, sizeof(*comp->f_data)); av_mallocz_array 490 libavcodec/jpeg2000.c comp->i_data = av_mallocz_array(csize, sizeof(*comp->i_data)); av_mallocz_array 494 libavcodec/jpeg2000.c comp->reslevel = av_mallocz_array(codsty->nreslevels, sizeof(*comp->reslevel)); av_mallocz_array 545 libavcodec/jpeg2000.c reslevel->band = av_mallocz_array(reslevel->nbands, sizeof(*reslevel->band)); av_mallocz_array 359 libavcodec/jpeg2000dec.c s->tile = av_mallocz_array(s->numXtiles * s->numYtiles, sizeof(*s->tile)); av_mallocz_array 1111 libavcodec/jpeg2000dec.c cblk->lengthinc = av_mallocz_array(newpasses , sizeof(*cblk->lengthinc)); av_mallocz_array 251 libavcodec/libopencore-amr.c flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); av_mallocz_array 266 libavcodec/libopencore-amr.c flush_buf = av_mallocz_array(avctx->frame_size, sizeof(*flush_buf)); av_mallocz_array 402 libavcodec/libopusenc.c opus->samples = av_mallocz_array(frame_size, avctx->channels * av_mallocz_array 1344 libavcodec/libvpxenc.c roi_map->roi_map = av_mallocz_array(roi_map->rows * roi_map->cols, sizeof(*roi_map->roi_map)); av_mallocz_array 398 libavcodec/libx264.c qoffsets = av_mallocz_array(mbx * mby, sizeof(*qoffsets)); av_mallocz_array 438 libavcodec/libx265.c qoffsets = av_mallocz_array(mbx * mby, sizeof(*qoffsets)); av_mallocz_array 395 libavcodec/libxavs.c if (!(x4->pts_buffer = av_mallocz_array((avctx->max_b_frames+1), sizeof(*x4->pts_buffer)))) av_mallocz_array 754 libavcodec/mjpegdec.c s->blocks[i] = av_mallocz_array(size, sizeof(**s->blocks)); av_mallocz_array 755 libavcodec/mjpegdec.c s->last_nnz[i] = av_mallocz_array(size, sizeof(**s->last_nnz)); av_mallocz_array 24 libavcodec/mlz.c mlz->dict = av_mallocz_array(TABLE_SIZE, sizeof(*mlz->dict)); av_mallocz_array 80 libavcodec/motionpixels.c mp->changes_map = av_mallocz_array(avctx->width, h4); av_mallocz_array 82 libavcodec/motionpixels.c mp->vpt = av_mallocz_array(avctx->height, sizeof(YuvPixel)); av_mallocz_array 83 libavcodec/motionpixels.c mp->hpt = av_mallocz_array(h4 / 4, w4 / 4 * sizeof(YuvPixel)); av_mallocz_array 1398 libavcodec/nvenc.c ctx->surfaces = av_mallocz_array(ctx->nb_surfaces, sizeof(*ctx->surfaces)); av_mallocz_array 356 libavcodec/omx.c components = av_mallocz_array(num, sizeof(*components)); av_mallocz_array 402 libavcodec/opus.c s->channel_maps = av_mallocz_array(channels, sizeof(*s->channel_maps)); av_mallocz_array 647 libavcodec/opusdec.c c->streams = av_mallocz_array(c->nb_streams, sizeof(*c->streams)); av_mallocz_array 648 libavcodec/opusdec.c c->out = av_mallocz_array(c->nb_streams, 2 * sizeof(*c->out)); av_mallocz_array 649 libavcodec/opusdec.c c->out_size = av_mallocz_array(c->nb_streams, sizeof(*c->out_size)); av_mallocz_array 650 libavcodec/opusdec.c c->sync_buffers = av_mallocz_array(c->nb_streams, sizeof(*c->sync_buffers)); av_mallocz_array 651 libavcodec/opusdec.c c->decoded_samples = av_mallocz_array(c->nb_streams, sizeof(*c->decoded_samples)); av_mallocz_array 521 libavcodec/pgssubdec.c sub->rects = av_mallocz_array(ctx->presentation.object_count, sizeof(*sub->rects)); av_mallocz_array 41 libavcodec/png.c return av_mallocz_array(items, size); av_mallocz_array 341 libavcodec/proresdec2.c ctx->slices = av_mallocz_array(slice_count, sizeof(*ctx->slices)); av_mallocz_array 38 libavcodec/psymodel.c ctx->ch = av_mallocz_array(sizeof(ctx->ch[0]), avctx->channels * 2); av_mallocz_array 39 libavcodec/psymodel.c ctx->group = av_mallocz_array(sizeof(ctx->group[0]), num_groups); av_mallocz_array 123 libavcodec/psymodel.c ctx->fstate = av_mallocz_array(sizeof(ctx->fstate[0]), avctx->channels); av_mallocz_array 778 libavcodec/pthread_frame.c fctx->threads = av_mallocz_array(thread_count, sizeof(PerThreadContext)); av_mallocz_array 214 libavcodec/pthread_slice.c p->entries = av_mallocz_array(count, sizeof(int)); av_mallocz_array 456 libavcodec/qsv.c mids = av_mallocz_array(nb_surfaces, sizeof(*mids)); av_mallocz_array 491 libavcodec/qsv.c resp->mids = av_mallocz_array(nb_surfaces + 2, sizeof(*resp->mids)); av_mallocz_array 1163 libavcodec/qsvenc.c q->extparam = av_mallocz_array(qsv->nb_ext_buffers + q->nb_extparam_internal, av_mallocz_array 113 libavcodec/qtrleenc.c s->length_table = av_mallocz_array(s->logical_width + 1, sizeof(int)); av_mallocz_array 1015 libavcodec/roqvideoenc.c av_mallocz_array((enc->width*enc->height/16), sizeof(motion_vect)); av_mallocz_array 1021 libavcodec/roqvideoenc.c av_mallocz_array((enc->width*enc->height/64), sizeof(motion_vect)); av_mallocz_array 282 libavcodec/smacker.c huff.values = av_mallocz_array(huff.length, sizeof(int)); av_mallocz_array 118 libavcodec/snow.c s->block= av_mallocz_array(w * h, sizeof(BlockNode) << (s->block_max_depth*2)); av_mallocz_array 572 libavcodec/snow.c b->x_coeff=av_mallocz_array(((b->width+1) * b->height+1), sizeof(x_and_coeff)); av_mallocz_array 38 libavcodec/snow_dwt.c buf->line = av_mallocz_array(line_count, sizeof(IDWTELEM *)); av_mallocz_array 88 libavcodec/snowenc.c s->m.me.scratchpad= av_mallocz_array((avctx->width+64), 2*16*2*sizeof(uint8_t)); av_mallocz_array 154 libavcodec/snowenc.c s->ref_mvs[i]= av_mallocz_array(size, sizeof(int16_t[2])); av_mallocz_array 155 libavcodec/snowenc.c s->ref_scores[i]= av_mallocz_array(size, sizeof(uint32_t)); av_mallocz_array 1394 libavcodec/svq3.c s->edge_emu_buffer = av_mallocz_array(pic->f->linesize[0], 17); av_mallocz_array 40 libavcodec/tests/snowenc.c s.temp_dwt_buffer = av_mallocz_array(width, sizeof(DWTELEM)); av_mallocz_array 41 libavcodec/tests/snowenc.c s.temp_idwt_buffer = av_mallocz_array(width, sizeof(IDWTELEM)); av_mallocz_array 1594 libavcodec/tiff.c s->geotags = av_mallocz_array(s->geotag_count, sizeof(TiffGeoTag)); av_mallocz_array 109 libavcodec/tta.c s->decode_buffer = av_mallocz_array(sizeof(int32_t)*s->frame_length, s->channels); av_mallocz_array 390 libavcodec/utils.c if (!(frame->extended_data = av_mallocz_array(nb_channels, av_mallocz_array 350 libavcodec/vaapi_encode.c pic->slices = av_mallocz_array(pic->nb_slices, sizeof(*pic->slices)); av_mallocz_array 467 libavcodec/vaapi_encode.c pic->roi = av_mallocz_array(nb_roi, sizeof(*pic->roi)); av_mallocz_array 382 libavcodec/vorbisdec.c av_mallocz_array(used_entries, codebook_setup->dimensions * av_mallocz_array 570 libavcodec/vorbisdec.c floor_setup->data.t1.list = av_mallocz_array(floor_setup->data.t1.x_list_dim, av_mallocz_array 826 libavcodec/vorbisdec.c mapping_setup->mux = av_mallocz_array(vc->audio_channels, av_mallocz_array 1003 libavcodec/vorbisdec.c vc->saved = av_mallocz_array(vc->blocksize[1] / 4, vc->audio_channels * sizeof(*vc->saved)); av_mallocz_array 184 libavcodec/vorbisenc.c cb->pow2 = av_mallocz_array(cb->nentries, sizeof(float)); av_mallocz_array 214 libavcodec/vorbisenc.c rc->maxes = av_mallocz_array(rc->classifications, sizeof(float[2])); av_mallocz_array 2267 libavcodec/vp3.c s->all_fragments = av_mallocz_array(s->fragment_count, sizeof(Vp3Fragment)); av_mallocz_array 2269 libavcodec/vp3.c s-> kf_coded_fragment_list = av_mallocz_array(s->fragment_count, sizeof(int)); av_mallocz_array 2270 libavcodec/vp3.c s->nkf_coded_fragment_list = av_mallocz_array(s->fragment_count, sizeof(int)); av_mallocz_array 2273 libavcodec/vp3.c s->dct_tokens_base = av_mallocz_array(s->fragment_count, av_mallocz_array 2275 libavcodec/vp3.c s->motion_val[0] = av_mallocz_array(y_fragment_count, sizeof(*s->motion_val[0])); av_mallocz_array 2276 libavcodec/vp3.c s->motion_val[1] = av_mallocz_array(c_fragment_count, sizeof(*s->motion_val[1])); av_mallocz_array 2279 libavcodec/vp3.c s->superblock_fragments = av_mallocz_array(s->superblock_count, 16 * sizeof(int)); av_mallocz_array 805 libavcodec/vp9.c s->td = av_mallocz_array(s->active_tile_cols, sizeof(VP9TileData) + av_mallocz_array 381 libavcodec/webp.c code_lengths = av_mallocz_array(alphabet_size, sizeof(*code_lengths)); av_mallocz_array 622 libavcodec/webp.c img->color_cache = av_mallocz_array(1 << img->color_cache_bits, av_mallocz_array 637 libavcodec/webp.c img->huffman_groups = av_mallocz_array(img->nb_huffman_groups * av_mallocz_array 253 libavfilter/af_amix.c s->fifos = av_mallocz_array(s->nb_inputs, sizeof(*s->fifos)); av_mallocz_array 270 libavfilter/af_amix.c s->input_scale = av_mallocz_array(s->nb_inputs, sizeof(*s->input_scale)); av_mallocz_array 271 libavfilter/af_amix.c s->scale_norm = av_mallocz_array(s->nb_inputs, sizeof(*s->scale_norm)); av_mallocz_array 558 libavfilter/af_amix.c s->weights = av_mallocz_array(s->nb_inputs, sizeof(*s->weights)); av_mallocz_array 323 libavfilter/af_channelmap.c av_mallocz_array(nch_out, sizeof(*buf->extended_data)); av_mallocz_array 360 libavfilter/af_compand.c s->channels = av_mallocz_array(channels, sizeof(*s->channels)); av_mallocz_array 362 libavfilter/af_compand.c s->segments = av_mallocz_array(s->nb_segments, sizeof(*s->segments)); av_mallocz_array 174 libavfilter/af_join.c s->channels = av_mallocz_array(s->nb_channels, sizeof(*s->channels)); av_mallocz_array 175 libavfilter/af_join.c s->buffers = av_mallocz_array(s->nb_channels, sizeof(*s->buffers)); av_mallocz_array 176 libavfilter/af_join.c s->input_frames = av_mallocz_array(s->inputs, sizeof(*s->input_frames)); av_mallocz_array 291 libavfilter/af_join.c if (!(inputs = av_mallocz_array(ctx->nb_inputs, sizeof(*inputs)))) av_mallocz_array 388 libavfilter/af_join.c frame->extended_data = av_mallocz_array(s->nb_channels, av_mallocz_array 422 libavfilter/af_join.c frame->extended_buf = av_mallocz_array(frame->nb_extended_buf, av_mallocz_array 148 libavfilter/af_silencedetect.c s->nb_null_samples = av_mallocz_array(sizeof(*s->nb_null_samples), s->independent_channels); av_mallocz_array 423 libavfilter/avf_showwaves.c if (!(showwaves->buf_idy = av_mallocz_array(nb_channels, sizeof(*showwaves->buf_idy)))) { av_mallocz_array 806 libavfilter/avf_showwaves.c showwaves->sum = av_mallocz_array(inlink->channels, sizeof(*showwaves->sum)); av_mallocz_array 688 libavfilter/avfilter.c ret->inputs = av_mallocz_array(ret->nb_inputs, sizeof(AVFilterLink*)); av_mallocz_array 699 libavfilter/avfilter.c ret->outputs = av_mallocz_array(ret->nb_outputs, sizeof(AVFilterLink*)); av_mallocz_array 93 libavfilter/dnn/dnn_backend_native.c network->output_indexes = av_mallocz_array(nb_output, sizeof(*network->output_indexes)); av_mallocz_array 186 libavfilter/dnn/dnn_backend_tf.c tf_model->output_tensors = av_mallocz_array(nb_output, sizeof(*tf_model->output_tensors)); av_mallocz_array 234 libavfilter/ebur128.c (double *) av_mallocz_array(channels, sizeof(*st->d->sample_peak)); av_mallocz_array 255 libavfilter/ebur128.c (double *) av_mallocz_array(st->d->audio_data_frames, av_mallocz_array 248 libavfilter/framepool.c frame->extended_data = av_mallocz_array(pool->planes, av_mallocz_array 251 libavfilter/framepool.c frame->extended_buf = av_mallocz_array(frame->nb_extended_buf, av_mallocz_array 426 libavfilter/qsvvpp.c s->surface_ptrs_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, av_mallocz_array 475 libavfilter/qsvvpp.c s->surface_ptrs_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, av_mallocz_array 581 libavfilter/qsvvpp.c s->frame_infos = av_mallocz_array(avctx->nb_inputs, sizeof(*s->frame_infos)); av_mallocz_array 617 libavfilter/qsvvpp.c s->ext_buffers = av_mallocz_array(s->nb_ext_buffers, sizeof(*s->ext_buffers)); av_mallocz_array 57 libavfilter/tests/integral.c uint32_t *ii = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii)); av_mallocz_array 58 libavfilter/tests/integral.c uint32_t *ii2 = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii2)); av_mallocz_array 119 libavfilter/vf_colorconstancy.c s->gauss[i] = av_mallocz_array(filtersize, sizeof(*s->gauss[i])); av_mallocz_array 222 libavfilter/vf_colorconstancy.c td->data[b][p] = av_mallocz_array(s->planeheight[p] * s->planewidth[p], sizeof(*td->data[b][p])); av_mallocz_array 667 libavfilter/vf_curves.c curves->graph[i] = av_mallocz_array(curves->lut_size, sizeof(*curves->graph[0])); av_mallocz_array 239 libavfilter/vf_deinterlace_qsv.c s->surface_ptrs = av_mallocz_array(hw_frames_hwctx->nb_surfaces, av_mallocz_array 269 libavfilter/vf_deinterlace_qsv.c s->mem_ids = av_mallocz_array(hw_frames_hwctx->nb_surfaces, av_mallocz_array 98 libavfilter/vf_dejudder.c s->ringbuff = av_mallocz_array(s->cycle+2, sizeof(*s->ringbuff)); av_mallocz_array 178 libavfilter/vf_libopencv.c if (!(*values = av_mallocz_array(sizeof(int) * *rows, *cols))) { av_mallocz_array 104 libavfilter/vf_mestimate.c s->mv_table[i] = av_mallocz_array(s->b_count, sizeof(*s->mv_table[0])); av_mallocz_array 360 libavfilter/vf_minterpolate.c frame->blocks = av_mallocz_array(mi_ctx->b_count, sizeof(Block)); av_mallocz_array 366 libavfilter/vf_minterpolate.c mi_ctx->pixel_mvs = av_mallocz_array(width * height, sizeof(PixelMVS)); av_mallocz_array 367 libavfilter/vf_minterpolate.c mi_ctx->pixel_weights = av_mallocz_array(width * height, sizeof(PixelWeights)); av_mallocz_array 368 libavfilter/vf_minterpolate.c mi_ctx->pixel_refs = av_mallocz_array(width * height, sizeof(PixelRefs)); av_mallocz_array 375 libavfilter/vf_minterpolate.c if (!(mi_ctx->int_blocks = av_mallocz_array(mi_ctx->b_count, sizeof(Block)))) av_mallocz_array 380 libavfilter/vf_minterpolate.c mi_ctx->mv_table[i] = av_mallocz_array(mi_ctx->b_count, sizeof(*mi_ctx->mv_table[0])); av_mallocz_array 610 libavfilter/vf_minterpolate.c block->subs = av_mallocz_array(4, sizeof(Block)); av_mallocz_array 318 libavfilter/vf_nlmeans.c s->ii_orig = av_mallocz_array(s->ii_h + 1, s->ii_lz_32 * sizeof(*s->ii_orig)); av_mallocz_array 329 libavfilter/vf_overlay_qsv.c vpp->comp_conf.InputStream = av_mallocz_array(ctx->nb_inputs, av_mallocz_array 274 libavfilter/vf_program_opencl.c ctx->frames = av_mallocz_array(ctx->nb_inputs, av_mallocz_array 344 libavfilter/vf_scale_qsv.c s->surface_ptrs_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, av_mallocz_array 352 libavfilter/vf_scale_qsv.c s->surface_ptrs_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, av_mallocz_array 384 libavfilter/vf_scale_qsv.c s->mem_ids_in = av_mallocz_array(in_frames_hwctx->nb_surfaces, av_mallocz_array 392 libavfilter/vf_scale_qsv.c s->mem_ids_out = av_mallocz_array(out_frames_hwctx->nb_surfaces, av_mallocz_array 413 libavfilter/vf_ssim.c s->temp = av_mallocz_array(2 * SUM_LEN(inlink->w), (desc->comp[0].depth > 8) ? sizeof(int64_t[4]) : sizeof(int[4])); av_mallocz_array 221 libavfilter/vf_unsharp.c fp->sc = av_mallocz_array(2 * fp->steps_y * s->nb_threads, sizeof(uint32_t *)); av_mallocz_array 294 libavfilter/vf_yaepblur.c s->sat = av_mallocz_array(inlink->h + 1, s->sat_linesize*sizeof(*s->sat)); av_mallocz_array 298 libavfilter/vf_yaepblur.c s->square_sat = av_mallocz_array(inlink->h + 1, s->sat_linesize*sizeof(*s->square_sat)); av_mallocz_array 126 libavfilter/vsrc_cellauto.c s->buf = av_mallocz_array(sizeof(uint8_t) * s->w, s->h); av_mallocz_array 186 libavfilter/vsrc_cellauto.c s->buf = av_mallocz_array(sizeof(uint8_t) * s->w, s->h); av_mallocz_array 1640 libavformat/avidec.c int *idx = av_mallocz_array(s->nb_streams, sizeof(*idx)); av_mallocz_array 88 libavformat/hashenc.c c->hashes = av_mallocz_array(1, sizeof(*c->hashes)); av_mallocz_array 105 libavformat/hashenc.c c->hashes = av_mallocz_array(s->nb_streams, sizeof(*c->hashes)); av_mallocz_array 272 libavformat/hashenc.c c->hashes = av_mallocz_array(1, sizeof(*c->hashes)); av_mallocz_array 329 libavformat/hdsenc.c c->streams = av_mallocz_array(s->nb_streams, sizeof(*c->streams)); av_mallocz_array 105 libavformat/icoenc.c ico->images = av_mallocz_array(ico->nb_images, sizeof(IcoMuxContext)); av_mallocz_array 2688 libavformat/matroskaenc.c mkv->tracks = av_mallocz_array(s->nb_streams, sizeof(*mkv->tracks)); av_mallocz_array 2599 libavformat/mov.c sc->extradata = av_mallocz_array(entries, sizeof(*sc->extradata)); av_mallocz_array 2603 libavformat/mov.c sc->extradata_size = av_mallocz_array(entries, sizeof(*sc->extradata_size)); av_mallocz_array 6009 libavformat/mov.c (*sample)->subsamples = av_mallocz_array(subsample_count, sizeof(*subsamples)); av_mallocz_array 6399 libavformat/movenc.c mov->tracks = av_mallocz_array((mov->nb_streams + 1), sizeof(*mov->tracks)); av_mallocz_array 1758 libavformat/mxfdec.c mxf->index_tables = av_mallocz_array(mxf->nb_index_tables, av_mallocz_array 1780 libavformat/mxfdec.c t->segments = av_mallocz_array(t->nb_segments, av_mallocz_array 127 libavformat/protocols.c ret = av_mallocz_array(FF_ARRAY_ELEMS(url_protocols), sizeof(*ret)); av_mallocz_array 729 libavformat/rtspdec.c av_mallocz_array(s->nb_streams, 2 * sizeof(*rt->real_setup_cache)); av_mallocz_array 136 libavformat/sapenc.c contexts = av_mallocz_array(s->nb_streams, sizeof(AVFormatContext*)); av_mallocz_array 303 libavformat/smoothstreamingenc.c c->streams = av_mallocz_array(s->nb_streams, sizeof(*c->streams)); av_mallocz_array 477 libavformat/tee.c if (!(tee->slaves = av_mallocz_array(nb_slaves, sizeof(*tee->slaves)))) { av_mallocz_array 4359 libavformat/utils.c dst->side_data = av_mallocz_array(src->nb_side_data, av_mallocz_array 176 libavformat/wavenc.c wav->peak_maxpos = av_mallocz_array(par->channels, sizeof(*wav->peak_maxpos)); av_mallocz_array 177 libavformat/wavenc.c wav->peak_maxneg = av_mallocz_array(par->channels, sizeof(*wav->peak_maxneg)); av_mallocz_array 179 libavformat/xmv.c xmv->audio = av_mallocz_array(xmv->audio_track_count, sizeof(XMVAudioPacket)); av_mallocz_array 78 libavutil/audio_fifo.c af->buf = av_mallocz_array(af->nb_buffers, sizeof(*af->buf)); av_mallocz_array 51 libavutil/encryption_info.c info->subsamples = av_mallocz_array(subsample_count, sizeof(*info->subsamples)); av_mallocz_array 188 libavutil/encryption_info.c info->key_ids = key_id_size ? av_mallocz_array(num_key_ids, sizeof(*info->key_ids)) : NULL; av_mallocz_array 292 libavutil/frame.c frame->extended_data = av_mallocz_array(planes, av_mallocz_array 294 libavutil/frame.c frame->extended_buf = av_mallocz_array((planes - AV_NUM_DATA_POINTERS), av_mallocz_array 487 libavutil/frame.c dst->extended_buf = av_mallocz_array(sizeof(*dst->extended_buf), av_mallocz_array 311 libavutil/hwcontext.c frames = av_mallocz_array(ctx->initial_pool_size, sizeof(*frames)); av_mallocz_array 182 libavutil/hwcontext_dxva2.c s->surfaces_internal = av_mallocz_array(ctx->initial_pool_size, av_mallocz_array 2444 libavutil/hwcontext_opencl.c av_mallocz_array(frames_priv->nb_mapped_frames, av_mallocz_array 2599 libavutil/hwcontext_opencl.c av_mallocz_array(frames_priv->nb_mapped_frames, av_mallocz_array 363 libavutil/hwcontext_qsv.c s->surfaces_internal = av_mallocz_array(ctx->initial_pool_size, av_mallocz_array 541 libavutil/hwcontext_qsv.c s->surface_ptrs = av_mallocz_array(frames_hwctx->nb_surfaces, av_mallocz_array 560 libavutil/hwcontext_qsv.c s->mem_ids = av_mallocz_array(frames_hwctx->nb_surfaces, sizeof(*s->mem_ids)); av_mallocz_array 625 libavutil/hwcontext_qsv.c dst_hwctx->surface_ids = av_mallocz_array(src_hwctx->nb_surfaces, av_mallocz_array 640 libavutil/hwcontext_qsv.c dst_hwctx->surfaces = av_mallocz_array(src_hwctx->nb_surfaces, av_mallocz_array 986 libavutil/hwcontext_qsv.c s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, av_mallocz_array 1003 libavutil/hwcontext_qsv.c s->surfaces_internal = av_mallocz_array(src_hwctx->nb_surfaces, av_mallocz_array 549 libavutil/hwcontext_vulkan.c prop = av_mallocz_array(num, sizeof(*prop)); av_mallocz_array 555 libavutil/hwcontext_vulkan.c idp = av_mallocz_array(num, sizeof(*idp)); av_mallocz_array 169 libavutil/internal.h p = av_mallocz_array(nelem, elsize);\ av_mallocz_array 235 libavutil/mem.h av_alloc_size(1, 2) void *av_mallocz_array(size_t nmemb, size_t size); av_mallocz_array 35 libavutil/wchar_filename.h *filename_w = (wchar_t *)av_mallocz_array(num_chars, sizeof(wchar_t)); av_mallocz_array 418 libswresample/swresample.c a->data= av_mallocz_array(countb, a->ch_count); av_mallocz_array 53 libswresample/x86/rematrix_init.c s->native_simd_matrix = av_mallocz_array(num, 2 * sizeof(int16_t)); av_mallocz_array 80 libswresample/x86/rematrix_init.c s->native_simd_matrix = av_mallocz_array(num, sizeof(float)); av_mallocz_array 94 libswscale/slice.c s->plane[i].line = av_mallocz_array(sizeof(uint8_t*), n); av_mallocz_array 291 libswscale/slice.c c->desc = av_mallocz_array(sizeof(SwsFilterDescriptor), c->numDesc); av_mallocz_array 294 libswscale/slice.c c->slice = av_mallocz_array(sizeof(SwsSlice), c->numSlice); av_mallocz_array 240 libswscale/vscale.c lumCtx = av_mallocz_array(sizeof(VScalerContext), 2); av_mallocz_array 201 tests/api/api-threadmessage-test.c senders = av_mallocz_array(nb_senders, sizeof(*senders)); av_mallocz_array 202 tests/api/api-threadmessage-test.c receivers = av_mallocz_array(nb_receivers, sizeof(*receivers)); av_mallocz_array 49 tests/checkasm/llviddsp.c uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 50 tests/checkasm/llviddsp.c uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 77 tests/checkasm/llviddsp.c uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 78 tests/checkasm/llviddsp.c uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 79 tests/checkasm/llviddsp.c uint8_t *diff0 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 80 tests/checkasm/llviddsp.c uint8_t *diff1 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 115 tests/checkasm/llviddsp.c uint8_t *src0 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 116 tests/checkasm/llviddsp.c uint8_t *src1 = av_mallocz_array(width, sizeof(uint8_t)); av_mallocz_array 142 tests/checkasm/llviddsp.c uint16_t *dst0 = av_mallocz_array(width, sizeof(uint16_t)); av_mallocz_array 143 tests/checkasm/llviddsp.c uint16_t *dst1 = av_mallocz_array(width, sizeof(uint16_t)); av_mallocz_array 144 tests/checkasm/llviddsp.c uint16_t *src0 = av_mallocz_array(width, sizeof(uint16_t)); av_mallocz_array 145 tests/checkasm/llviddsp.c uint16_t *src1 = av_mallocz_array(width, sizeof(uint16_t)); av_mallocz_array 49 tests/checkasm/vf_nlmeans.c uint32_t *ii_orig_ref = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii_orig_ref)); av_mallocz_array 51 tests/checkasm/vf_nlmeans.c uint32_t *ii_orig_new = av_mallocz_array(ii_h + 1, ii_lz_32 * sizeof(*ii_orig_new)); av_mallocz_array 54 tests/checkasm/vf_nlmeans.c uint8_t *src = av_mallocz_array(h, src_lz); av_mallocz_array 345 tools/ismindex.c track->offsets = av_mallocz_array(track->chunks, sizeof(*track->offsets));