av_malloc_array 227 cmdutils_opencl.c if (!(devices = av_malloc_array(nb_devices, sizeof(OpenCLDeviceBenchmark)))) { av_malloc_array 84 doc/examples/qsvdec.c decode->surfaces = av_malloc_array (req->NumFrameSuggested, sizeof(*decode->surfaces)); av_malloc_array 85 doc/examples/qsvdec.c decode->surface_ids = av_malloc_array (req->NumFrameSuggested, sizeof(*decode->surface_ids)); av_malloc_array 341 doc/examples/transcoding.c filter_ctx = av_malloc_array(ifmt_ctx->nb_streams, sizeof(*filter_ctx)); av_malloc_array 2299 ffmpeg.c AVFormatContext **avc = av_malloc_array(nb_output_files, sizeof(*avc)); av_malloc_array 2456 ffmpeg.c pts = av_malloc_array(size, sizeof(*pts)); av_malloc_array 1248 ffplay.c s->rdft_data = av_malloc_array(nb_freq, 4 *sizeof(*s->rdft_data)); av_malloc_array 2888 ffprobe.c read_intervals = av_malloc_array(n, sizeof(*read_intervals)); av_malloc_array 2833 ffserver.c if (!(avc->streams = av_malloc_array(avc->nb_streams, sizeof(*avc->streams)))) av_malloc_array 2835 ffserver.c if (!(avs = av_malloc_array(avc->nb_streams, sizeof(*avs)))) av_malloc_array 75 libavcodec/ac3enc_float.c window = av_malloc_array(n, sizeof(*window)); av_malloc_array 451 libavcodec/aic.c ctx->slice_data = av_malloc_array(ctx->slice_width, AIC_BAND_COEFFS av_malloc_array 235 libavcodec/ass_split.c int *order = av_malloc_array(FF_ARRAY_ELEMS(section->fields), sizeof(*order)); av_malloc_array 150 libavcodec/avfft.c FFTSample *ref = av_malloc_array(LEN, sizeof(*ref)); av_malloc_array 151 libavcodec/avfft.c FFTSample *data = av_malloc_array(LEN, sizeof(*data)); av_malloc_array 397 libavcodec/avpacket.c pkt->side_data = av_malloc_array(i, sizeof(*pkt->side_data)); av_malloc_array 295 libavcodec/bitstream.c buf = av_malloc_array((nb_codes + 1), sizeof(VLCcode)); av_malloc_array 239 libavcodec/cinepakenc.c if (!(s->mb = av_malloc_array(mb_count, sizeof(mb_info)))) av_malloc_array 243 libavcodec/cinepakenc.c if (!(s->best_mb = av_malloc_array(mb_count, sizeof(mb_info)))) av_malloc_array 59 libavcodec/cngenc.c p->samples32 = av_malloc_array(avctx->frame_size, sizeof(*p->samples32)); av_malloc_array 60 libavcodec/cngenc.c p->ref_coef = av_malloc_array(p->order, sizeof(*p->ref_coef)); av_malloc_array 223 libavcodec/cook.c if ((q->mlt_window = av_malloc_array(mlt_size, sizeof(*q->mlt_window))) == 0) av_malloc_array 193 libavcodec/dct.c s->csc2 = av_malloc_array(n / 2, sizeof(FFTSample)); av_malloc_array 342 libavcodec/diracdec.c s->plane[i].idwt_tmp = av_malloc_array((w+16), sizeof(IDWTELEM)); av_malloc_array 349 libavcodec/diracdec.c s->sbsplit = av_malloc_array(sbwidth, sbheight); av_malloc_array 350 libavcodec/diracdec.c s->blmotion = av_malloc_array(sbwidth, sbheight * 16 * sizeof(*s->blmotion)); av_malloc_array 374 libavcodec/diracdec.c s->edge_emu_buffer_base = av_malloc_array(stride, MAX_BLOCKSIZE); av_malloc_array 376 libavcodec/diracdec.c s->mctmp = av_malloc_array((stride+MAX_BLOCKSIZE), (h+MAX_BLOCKSIZE) * sizeof(*s->mctmp)); av_malloc_array 377 libavcodec/diracdec.c s->mcscratch = av_malloc_array(stride, MAX_BLOCKSIZE); av_malloc_array 975 libavcodec/dnxhdenc.c RCCMPEntry *tmp = av_malloc_array(size, sizeof(*tmp)); av_malloc_array 98 libavcodec/dsddec.c s = av_malloc_array(sizeof(DSDContext), avctx->channels); av_malloc_array 346 libavcodec/elbg.c int *temp_points = av_malloc_array(dim, (numpoints/8)*sizeof(int)); av_malloc_array 379 libavcodec/elbg.c int *dist_cb = av_malloc_array(numpoints, sizeof(int)); av_malloc_array 380 libavcodec/elbg.c int *size_part = av_malloc_array(numCB, sizeof(int)); av_malloc_array 381 libavcodec/elbg.c cell *list_buffer = av_malloc_array(numpoints, sizeof(cell)); av_malloc_array 389 libavcodec/elbg.c elbg->cells = av_malloc_array(numCB, sizeof(cell *)); av_malloc_array 390 libavcodec/elbg.c elbg->utility = av_malloc_array(numCB, sizeof(int)); av_malloc_array 393 libavcodec/elbg.c elbg->utility_inc = av_malloc_array(numCB, sizeof(*elbg->utility_inc)); av_malloc_array 394 libavcodec/elbg.c elbg->scratchbuf = av_malloc_array(5*dim, sizeof(int)); av_malloc_array 140 libavcodec/error_resilience.c int16_t (*col )[4] = av_malloc_array(stride, h*sizeof( int16_t)*4); av_malloc_array 141 libavcodec/error_resilience.c uint32_t (*dist)[4] = av_malloc_array(stride, h*sizeof(uint32_t)*4); av_malloc_array 290 libavcodec/faxcompr.c runs = av_malloc_array(runsize, sizeof(runs[0])); av_malloc_array 291 libavcodec/faxcompr.c ref = av_malloc_array(runsize, sizeof(ref[0])); av_malloc_array 80 libavcodec/fft-test.c exptab = av_malloc_array((n / 2), sizeof(*exptab)); av_malloc_array 300 libavcodec/fft-test.c tab = av_malloc_array(fft_size, sizeof(FFTComplex)); av_malloc_array 301 libavcodec/fft-test.c tab1 = av_malloc_array(fft_size, sizeof(FFTComplex)); av_malloc_array 302 libavcodec/fft-test.c tab_ref = av_malloc_array(fft_size, sizeof(FFTComplex)); av_malloc_array 303 libavcodec/fft-test.c tab2 = av_malloc_array(fft_size, sizeof(FFTSample)); av_malloc_array 78 libavcodec/ffv1.c p->state = av_malloc_array(p->context_count, CONTEXT_SIZE * av_malloc_array 84 libavcodec/ffv1.c p->vlc_state = av_malloc_array(p->context_count, sizeof(VlcState)); av_malloc_array 140 libavcodec/ffv1.c fs->sample_buffer = av_malloc_array((fs->width + 6), 3 * MAX_PLANES * av_malloc_array 153 libavcodec/ffv1.c f->initial_states[i] = av_malloc_array(f->context_count[i], av_malloc_array 393 libavcodec/ffv1dec.c pdst->state = av_malloc_array(CONTEXT_SIZE, psrc->context_count); av_malloc_array 396 libavcodec/ffv1dec.c pdst->vlc_state = av_malloc_array(sizeof(*pdst->vlc_state), psrc->context_count); av_malloc_array 866 libavcodec/ffv1enc.c uint8_t (*best_state)[256] = av_malloc_array(256, 256); av_malloc_array 656 libavcodec/flacenc.c udata = av_malloc_array(n, sizeof(uint32_t)); av_malloc_array 100 libavcodec/hevc.c s->skip_flag = av_malloc_array(sps->min_cb_height, sps->min_cb_width); av_malloc_array 101 libavcodec/hevc.c s->tab_ct_depth = av_malloc_array(sps->min_cb_height, sps->min_cb_width); av_malloc_array 105 libavcodec/hevc.c s->cbf_luma = av_malloc_array(sps->min_tb_width, sps->min_tb_height); av_malloc_array 107 libavcodec/hevc.c s->is_pcm = av_malloc_array(sps->min_pu_width + 1, sps->min_pu_height + 1); av_malloc_array 112 libavcodec/hevc.c s->tab_slice_address = av_malloc_array(pic_size_in_ctb, av_malloc_array 114 libavcodec/hevc.c s->qp_y_tab = av_malloc_array(pic_size_in_ctb, av_malloc_array 705 libavcodec/hevc.c sh->entry_point_offset = av_malloc_array(sh->num_entry_point_offsets, sizeof(int)); av_malloc_array 706 libavcodec/hevc.c sh->offset = av_malloc_array(sh->num_entry_point_offsets, sizeof(int)); av_malloc_array 707 libavcodec/hevc.c sh->size = av_malloc_array(sh->num_entry_point_offsets, sizeof(int)); av_malloc_array 2403 libavcodec/hevc.c int *ret = av_malloc_array(s->sh.num_entry_point_offsets + 1, sizeof(int)); av_malloc_array 2404 libavcodec/hevc.c int *arg = av_malloc_array(s->sh.num_entry_point_offsets + 1, sizeof(int)); av_malloc_array 2950 libavcodec/hevc.c s->skipped_bytes_pos_nal[s->nals_allocated] = av_malloc_array(s->skipped_bytes_pos_size_nal[s->nals_allocated], sizeof(*s->skipped_bytes_pos)); av_malloc_array 1334 libavcodec/hevc_ps.c pps->column_width = av_malloc_array(pps->num_tile_columns, sizeof(*pps->column_width)); av_malloc_array 1335 libavcodec/hevc_ps.c pps->row_height = av_malloc_array(pps->num_tile_rows, sizeof(*pps->row_height)); av_malloc_array 1422 libavcodec/hevc_ps.c pps->col_bd = av_malloc_array(pps->num_tile_columns + 1, sizeof(*pps->col_bd)); av_malloc_array 1423 libavcodec/hevc_ps.c pps->row_bd = av_malloc_array(pps->num_tile_rows + 1, sizeof(*pps->row_bd)); av_malloc_array 1424 libavcodec/hevc_ps.c pps->col_idxX = av_malloc_array(sps->ctb_width, sizeof(*pps->col_idxX)); av_malloc_array 1432 libavcodec/hevc_ps.c pps->column_width = av_malloc_array(pps->num_tile_columns, sizeof(*pps->column_width)); av_malloc_array 1433 libavcodec/hevc_ps.c pps->row_height = av_malloc_array(pps->num_tile_rows, sizeof(*pps->row_height)); av_malloc_array 1470 libavcodec/hevc_ps.c pps->ctb_addr_rs_to_ts = av_malloc_array(pic_area_in_ctbs, sizeof(*pps->ctb_addr_rs_to_ts)); av_malloc_array 1471 libavcodec/hevc_ps.c pps->ctb_addr_ts_to_rs = av_malloc_array(pic_area_in_ctbs, sizeof(*pps->ctb_addr_ts_to_rs)); av_malloc_array 1472 libavcodec/hevc_ps.c pps->tile_id = av_malloc_array(pic_area_in_ctbs, sizeof(*pps->tile_id)); av_malloc_array 1473 libavcodec/hevc_ps.c pps->min_tb_addr_zs_tab = av_malloc_array((sps->tb_mask+2) * (sps->tb_mask+2), sizeof(*pps->min_tb_addr_zs_tab)); av_malloc_array 1519 libavcodec/hevc_ps.c pps->tile_pos_rs = av_malloc_array(tile_id, sizeof(*pps->tile_pos_rs)); av_malloc_array 57 libavcodec/huffman.c HeapElem *h = av_malloc_array(sizeof(*h), stats_size); av_malloc_array 58 libavcodec/huffman.c int *up = av_malloc_array(sizeof(*up) * 2, stats_size); av_malloc_array 59 libavcodec/huffman.c uint8_t *len = av_malloc_array(sizeof(*len) * 2, stats_size); av_malloc_array 60 libavcodec/huffman.c uint16_t *map= av_malloc_array(sizeof(*map), stats_size); av_malloc_array 108 libavcodec/imdct15.c s->tmp = av_malloc_array(len, 2 * sizeof(*s->tmp)); av_malloc_array 112 libavcodec/imdct15.c s->twiddle_exptab = av_malloc_array(s->len4, sizeof(*s->twiddle_exptab)); av_malloc_array 346 libavcodec/j2kenc.c s->tile = av_malloc_array(s->numXtiles, s->numYtiles * sizeof(Jpeg2000Tile)); av_malloc_array 521 libavcodec/jpeg2000dwt.c s->f_linebuf = av_malloc_array((maxlen + 12), sizeof(*s->f_linebuf)); av_malloc_array 526 libavcodec/jpeg2000dwt.c s->i_linebuf = av_malloc_array((maxlen + 12), sizeof(*s->i_linebuf)); av_malloc_array 531 libavcodec/jpeg2000dwt.c s->i_linebuf = av_malloc_array((maxlen + 6), sizeof(*s->i_linebuf)); av_malloc_array 149 libavcodec/libmp3lame.c s->samples_flt[ch] = av_malloc_array(avctx->frame_size, av_malloc_array 295 libavcodec/ljpegenc.c s->scratch = av_malloc_array(avctx->width + 1, sizeof(*s->scratch)); av_malloc_array 63 libavcodec/mdct_template.c s->tcos = av_malloc_array(n/2, sizeof(FFTSample)); av_malloc_array 2165 libavcodec/mpegvideo.c AVMotionVector *mvs = av_malloc_array(mb_width * mb_height, 2 * 4 * sizeof(AVMotionVector)); av_malloc_array 659 libavcodec/mss12.c c->mask = av_malloc_array(c->mask_stride, avctx->height); av_malloc_array 654 libavcodec/mss4.c c->prev_dc[i] = av_malloc_array(c->dc_stride[i], sizeof(**c->prev_dc)); av_malloc_array 169 libavcodec/pgssubdec.c rect->pict.data[0] = av_malloc_array(rect->w, rect->h); av_malloc_array 266 libavcodec/proresdec_lgpl.c ctx->slice_data = av_malloc_array(num_slices + 1, sizeof(ctx->slice_data[0])); av_malloc_array 40 libavcodec/psymodel.c ctx->bands = av_malloc_array (sizeof(ctx->bands[0]), num_lens); av_malloc_array 41 libavcodec/psymodel.c ctx->num_bands = av_malloc_array (sizeof(ctx->num_bands[0]), num_lens); av_malloc_array 283 libavcodec/pthread_slice.c p->progress_mutex = av_malloc_array(p->thread_count, sizeof(pthread_mutex_t)); av_malloc_array 284 libavcodec/pthread_slice.c p->progress_cond = av_malloc_array(p->thread_count, sizeof(pthread_cond_t)); av_malloc_array 953 libavcodec/ratecontrol.c qscale = av_malloc_array(rcc->num_entries, sizeof(double)); av_malloc_array 954 libavcodec/ratecontrol.c blurred_qscale = av_malloc_array(rcc->num_entries, sizeof(double)); av_malloc_array 350 libavcodec/resample.c bufin[i] = av_malloc_array((nb_samples + s->temp_len), sizeof(short)); av_malloc_array 351 libavcodec/resample.c bufout[i] = av_malloc_array(lenout, sizeof(short)); av_malloc_array 105 libavcodec/resample2.c double *tab = av_malloc_array(tap_count, sizeof(*tab)); av_malloc_array 249 libavcodec/roqvideoenc.c tempData->cel_evals = av_malloc_array(enc->width*enc->height/64, sizeof(CelEvaluation)); av_malloc_array 802 libavcodec/roqvideoenc.c int *codebook = av_malloc_array(6*c_size, cbsize*sizeof(int)); av_malloc_array 809 libavcodec/roqvideoenc.c closest_cb = av_malloc_array(6*c_size, inputCount*sizeof(int)); av_malloc_array 850 libavcodec/roqvideoenc.c uint8_t *yuvClusters=av_malloc_array(max, sizeof(int)*6*4); av_malloc_array 851 libavcodec/roqvideoenc.c int *points = av_malloc_array(max, 6*4*sizeof(int)); av_malloc_array 875 libavcodec/roqvideoenc.c tempData->closest_cb2 = av_malloc_array(max, 4*sizeof(int)); av_malloc_array 1038 libavcodec/roqvideoenc.c av_malloc_array ((enc->width*enc->height/16), sizeof(motion_vect)); av_malloc_array 1044 libavcodec/roqvideoenc.c av_malloc_array ((enc->width*enc->height/64), sizeof(motion_vect)); av_malloc_array 598 libavcodec/snow.c halfpel[1][p] = av_malloc_array(ls, (h + 2 * EDGE_WIDTH)); av_malloc_array 599 libavcodec/snow.c halfpel[2][p] = av_malloc_array(ls, (h + 2 * EDGE_WIDTH)); av_malloc_array 600 libavcodec/snow.c halfpel[3][p] = av_malloc_array(ls, (h + 2 * EDGE_WIDTH)); av_malloc_array 41 libavcodec/snow_dwt.c buf->data_stack = av_malloc_array(max_allocated_lines, sizeof(IDWTELEM *)); av_malloc_array 48 libavcodec/snow_dwt.c buf->data_stack[i] = av_malloc_array(line_width, sizeof(IDWTELEM)); av_malloc_array 482 libavcodec/snowdec.c s->avmv = av_malloc_array(s->b_width * s->b_height, sizeof(AVMotionVector) << (s->block_max_depth*2)); av_malloc_array 130 libavcodec/sunrast.c ptr = ptr2 = av_malloc_array((w + 15), h); av_malloc_array 603 libavcodec/svq1enc.c s->scratchbuf = av_malloc_array(s->current_picture->linesize[0], 16 * 3); av_malloc_array 1062 libavcodec/tiff.c dp = av_malloc_array(count, sizeof(double)); av_malloc_array 203 libavcodec/truemotion2.c code->recode = av_malloc_array(code->length, sizeof(int)); av_malloc_array 946 libavcodec/truemotion2.c l->last = av_malloc_array(w >> 2, 4 * sizeof(*l->last) ); av_malloc_array 947 libavcodec/truemotion2.c l->clast = av_malloc_array(w >> 2, 4 * sizeof(*l->clast)); av_malloc_array 112 libavcodec/tta.c s->ch_ctx = av_malloc_array(avctx->channels, sizeof(*s->ch_ctx)); av_malloc_array 56 libavcodec/ttaenc.c s->ch_ctx = av_malloc_array(avctx->channels, sizeof(*s->ch_ctx)); av_malloc_array 985 libavcodec/utils.c frame->extended_buf = av_malloc_array(sizeof(*frame->extended_buf), av_malloc_array 1207 libavcodec/utils.c choices = av_malloc_array(n + 1, sizeof(*choices)); av_malloc_array 193 libavcodec/vble.c ctx->val = av_malloc_array(ctx->size, sizeof(*ctx->val)); av_malloc_array 649 libavcodec/vorbisdec.c av_malloc_array((floor_setup->data.t0.order + 1 + max_codebook_dim), av_malloc_array 723 libavcodec/vorbisdec.c res_setup->classifs = av_malloc_array(res_setup->ptns_to_read, av_malloc_array 851 libavcodec/vorbisdec.c av_malloc_array(n + 1, sizeof(int32_t)); // n + sentinel av_malloc_array 992 libavcodec/vorbisdec.c vc->channel_residues = av_malloc_array(vc->blocksize[1] / 2, vc->audio_channels * sizeof(*vc->channel_residues)); av_malloc_array 173 libavcodec/vorbisenc.c cb->dimensions = av_malloc_array(cb->nentries, sizeof(float) * cb->ndimensions); av_malloc_array 269 libavcodec/vorbisenc.c cb->lens = av_malloc_array(cb->nentries, sizeof(uint8_t)); av_malloc_array 270 libavcodec/vorbisenc.c cb->codewords = av_malloc_array(cb->nentries, sizeof(uint32_t)); av_malloc_array 278 libavcodec/vorbisenc.c cb->quantlist = av_malloc_array(vals, sizeof(int)); av_malloc_array 308 libavcodec/vorbisenc.c fc->classes = av_malloc_array(fc->nclasses, sizeof(vorbis_enc_floor_class)); av_malloc_array 318 libavcodec/vorbisenc.c c->books = av_malloc_array(books, sizeof(int)); av_malloc_array 331 libavcodec/vorbisenc.c fc->list = av_malloc_array(fc->values, sizeof(vorbis_floor1_entry)); av_malloc_array 422 libavcodec/vorbisenc.c venc->saved = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]) / 2); av_malloc_array 423 libavcodec/vorbisenc.c venc->samples = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1])); av_malloc_array 424 libavcodec/vorbisenc.c venc->floor = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]) / 2); av_malloc_array 425 libavcodec/vorbisenc.c venc->coeffs = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]) / 2); av_malloc_array 373 libavcodec/vp9.c s->b_base = av_malloc_array(s->cols * s->rows, sizeof(VP9Block)); av_malloc_array 312 libavcodec/webp.c codes = av_malloc_array(alphabet_size, sizeof(*codes)); av_malloc_array 47 libavcodec/wma.c run_table = av_malloc_array(n, sizeof(uint16_t)); av_malloc_array 48 libavcodec/wma.c level_table = av_malloc_array(n, sizeof(uint16_t)); av_malloc_array 49 libavcodec/wma.c flevel_table = av_malloc_array(n, sizeof(*flevel_table)); av_malloc_array 50 libavcodec/wma.c int_table = av_malloc_array(n, sizeof(uint16_t)); av_malloc_array 283 libavdevice/alsa-audio-common.c s->reorder_buf = av_malloc_array(s->reorder_buf_size, s->frame_size); av_malloc_array 166 libavdevice/jack_audio.c self->ports = av_malloc_array(self->nports, sizeof(*self->ports)); av_malloc_array 243 libavdevice/lavfi.c lavfi->sinks = av_malloc_array(lavfi->nb_sinks, sizeof(AVFilterContext *)); av_malloc_array 352 libavdevice/v4l2.c s->buf_start = av_malloc_array(s->buffers, sizeof(void *)); av_malloc_array 357 libavdevice/v4l2.c s->buf_len = av_malloc_array(s->buffers, sizeof(unsigned int)); av_malloc_array 158 libavfilter/af_adelay.c d->samples = av_malloc_array(d->delay, s->block_align); av_malloc_array 208 libavfilter/af_aphaser.c p->modulation_buffer = av_malloc_array(p->modulation_buffer_length, sizeof(*p->modulation_buffer)); av_malloc_array 117 libavfilter/af_silenceremove.c s->window = av_malloc_array(s->window_size, sizeof(*s->window)); av_malloc_array 128 libavfilter/af_silenceremove.c s->start_holdoff = av_malloc_array(FFMAX(s->start_duration, 1), av_malloc_array 138 libavfilter/af_silenceremove.c s->stop_holdoff = av_malloc_array(FFMAX(s->stop_duration, 1), av_malloc_array 208 libavfilter/avf_showcqt.c s->font_alpha = av_malloc_array(font_height, video_width); av_malloc_array 346 libavfilter/avf_showcqt.c s->fft_data = av_malloc_array(fft_len, sizeof(*s->fft_data)); av_malloc_array 347 libavfilter/avf_showcqt.c s->coeff_sort = av_malloc_array(fft_len, sizeof(*s->coeff_sort)); av_malloc_array 348 libavfilter/avf_showcqt.c s->fft_result_left = av_malloc_array(fft_len, sizeof(*s->fft_result_left)); av_malloc_array 349 libavfilter/avf_showcqt.c s->fft_result_right = av_malloc_array(fft_len, sizeof(*s->fft_result_right)); av_malloc_array 481 libavfilter/avf_showcqt.c s->coeffs[k] = av_malloc_array(s->coeffs_len[k], sizeof(*s->coeffs[k])); av_malloc_array 653 libavfilter/avfilter.c ret->input_pads = av_malloc_array(ret->nb_inputs, sizeof(AVFilterPad)); av_malloc_array 664 libavfilter/avfilter.c ret->output_pads = av_malloc_array(ret->nb_outputs, sizeof(AVFilterPad)); av_malloc_array 88 libavfilter/buffer.c if (!(ret->extended_data = av_malloc_array(sizeof(*ret->extended_data), av_malloc_array 78 libavfilter/drawutils.c line[0] = av_malloc_array(w, pixel_step[0]); av_malloc_array 407 libavfilter/f_ebur128.c ebur128->swr_buf = av_malloc_array(nb_channels, 19200 * sizeof(double)); av_malloc_array 69 libavfilter/formats.c if (!(ret->fmts = av_malloc_array(count, sizeof(*ret->fmts)))) \ av_malloc_array 199 libavfilter/formats.c !(ret->channel_layouts = av_malloc_array(ret_max, av_malloc_array 287 libavfilter/formats.c formats->field = av_malloc_array(count, sizeof(*formats->field)); \ av_malloc_array 516 libavfilter/vf_dctdnoiz.c s->cbuf[i][0] = av_malloc_array(linesize * s->pr_height, sizeof(*s->cbuf[i][0])); av_malloc_array 517 libavfilter/vf_dctdnoiz.c s->cbuf[i][1] = av_malloc_array(linesize * s->pr_height, sizeof(*s->cbuf[i][1])); av_malloc_array 518 libavfilter/vf_dctdnoiz.c s->cbuf[i][2] = av_malloc_array(linesize * s->pr_height, sizeof(*s->cbuf[i][2])); av_malloc_array 539 libavfilter/vf_dctdnoiz.c s->slices[i] = av_malloc_array(linesize, slice_h * sizeof(*s->slices[i])); av_malloc_array 249 libavfilter/vf_decimate.c dm->bdiffs = av_malloc_array(dm->bdiffsize, sizeof(*dm->bdiffs)); av_malloc_array 517 libavfilter/vf_drawtext.c if (!(unicodestr = av_malloc_array(len, sizeof(*unicodestr)))) { av_malloc_array 523 libavfilter/vf_drawtext.c bidi_types = av_malloc_array(len, sizeof(*bidi_types)); av_malloc_array 530 libavfilter/vf_drawtext.c embedding_levels = av_malloc_array(len, sizeof(*embedding_levels)); av_malloc_array 540 libavfilter/vf_drawtext.c ar_props = av_malloc_array(len, sizeof(*ar_props)); av_malloc_array 76 libavfilter/vf_format.c s->formats = av_malloc_array(nb_formats + 1, sizeof(*s->formats)); av_malloc_array 103 libavfilter/vf_format.c formats_allowed = av_malloc_array(nb_formats_lavu + 1, sizeof(*formats_allowed)); av_malloc_array 519 libavfilter/vf_fspp.c fspp->temp = av_malloc_array(fspp->temp_stride, h * sizeof(*fspp->temp)); av_malloc_array 520 libavfilter/vf_fspp.c fspp->src = av_malloc_array(fspp->temp_stride, h * sizeof(*fspp->src)); av_malloc_array 136 libavfilter/vf_hqdn3d.c *frame_ant_ptr = frame_ant = av_malloc_array(w, h*sizeof(uint16_t)); av_malloc_array 274 libavfilter/vf_hqdn3d.c s->line = av_malloc_array(inlink->w, sizeof(*s->line)); av_malloc_array 178 libavfilter/vf_lenscorrection.c rect->correction[plane] = av_malloc_array(w, h * sizeof(**rect->correction)); av_malloc_array 287 libavfilter/vf_owdenoise.c s->plane[i][j] = av_malloc_array(s->linesize, h * sizeof(s->plane[0][0][0])); av_malloc_array 265 libavfilter/vf_palettegen.c struct color_ref **refs = av_malloc_array(nb_refs, sizeof(*refs)); av_malloc_array 50 libavfilter/vf_pixdesctest.c if (!(priv->line = av_malloc_array(sizeof(*priv->line), inlink->w))) av_malloc_array 299 libavfilter/vf_pp7.c pp7->src = av_malloc_array(pp7->temp_stride, (h + 8) * sizeof(uint8_t)); av_malloc_array 315 libavfilter/vf_removelogo.c mask = (int ***)av_malloc_array(s->max_mask_size + 1, sizeof(int **)); av_malloc_array 320 libavfilter/vf_removelogo.c mask[a] = (int **)av_malloc_array((a * 2) + 1, sizeof(int *)); av_malloc_array 326 libavfilter/vf_removelogo.c mask[a][b + a] = (int *)av_malloc_array((a * 2) + 1, sizeof(int)); av_malloc_array 183 libavfilter/vf_sab.c f->dist_coeff = av_malloc_array(f->dist_width, f->dist_linesize * sizeof(*f->dist_coeff)); av_malloc_array 162 libavfilter/vf_signalstats.c s->jobs_rets = av_malloc_array(s->nb_jobs, sizeof(*s->jobs_rets)); av_malloc_array 342 libavfilter/vf_spp.c spp->temp = av_malloc_array(spp->temp_linesize, h * sizeof(*spp->temp)); av_malloc_array 343 libavfilter/vf_spp.c spp->src = av_malloc_array(spp->temp_linesize, h * sizeof(*spp->src) * 2); av_malloc_array 187 libavfilter/vf_unsharp.c if (!(fp->sc[z] = av_malloc_array(width + 2 * fp->steps_x, av_malloc_array 330 libavfilter/vf_uspp.c if (!(uspp->temp[i] = av_malloc_array(uspp->temp_stride[i], h * sizeof(int16_t)))) av_malloc_array 332 libavfilter/vf_uspp.c if (!(uspp->src [i] = av_malloc_array(uspp->temp_stride[i], h * sizeof(uint8_t)))) av_malloc_array 307 libavfilter/vf_vignette.c s->fmap = av_malloc_array(s->fmap_linesize, inlink->h * sizeof(*s->fmap)); av_malloc_array 133 libavfilter/vsrc_mandelbrot.c mb->point_cache= av_malloc_array(mb->cache_allocated, sizeof(*mb->point_cache)); av_malloc_array 134 libavfilter/vsrc_mandelbrot.c mb-> next_cache= av_malloc_array(mb->cache_allocated, sizeof(*mb-> next_cache)); av_malloc_array 135 libavfilter/vsrc_mandelbrot.c mb-> zyklus = av_malloc_array(mb->maxiter + 16, sizeof(*mb->zyklus)); av_malloc_array 61 libavformat/icodec.c ico->images = av_malloc_array(ico->nb_images, sizeof(IcoImage)); av_malloc_array 1901 libavformat/matroskadec.c track->audio.buf = av_malloc_array(track->audio.sub_packet_h, av_malloc_array 3370 libavformat/matroskadec.c buf = av_malloc_array(s->streams[0]->nb_index_entries, 20 * sizeof(char)); av_malloc_array 1386 libavformat/mov.c sc->chunk_offsets = av_malloc_array(entries, sizeof(*sc->chunk_offsets)); av_malloc_array 1991 libavformat/mov.c sc->stsc_data = av_malloc_array(entries, sizeof(*sc->stsc_data)); av_malloc_array 2027 libavformat/mov.c sc->stps_data = av_malloc_array(entries, sizeof(*sc->stps_data)); av_malloc_array 2075 libavformat/mov.c sc->keyframes = av_malloc_array(entries, sizeof(*sc->keyframes)); av_malloc_array 2140 libavformat/mov.c sc->sample_sizes = av_malloc_array(entries, sizeof(*sc->sample_sizes)); av_malloc_array 2198 libavformat/mov.c sc->stts_data = av_malloc_array(entries, sizeof(*sc->stts_data)); av_malloc_array 2341 libavformat/mov.c sc->rap_group = av_malloc_array(entries, sizeof(*sc->rap_group)); av_malloc_array 3331 libavformat/mov.c sc->elst_data = av_malloc_array(edit_count, sizeof(*sc->elst_data)); av_malloc_array 1867 libavformat/movenc.c ctts_entries = av_malloc_array((track->entry + 1), sizeof(*ctts_entries)); /* worst case */ av_malloc_array 1912 libavformat/movenc.c av_malloc_array(track->entry, sizeof(*stts_entries)) : /* worst case */ av_malloc_array 653 libavformat/mpegtsenc.c pids = av_malloc_array(s->nb_streams, sizeof(*pids)); av_malloc_array 79 libavformat/network.c openssl_mutexes = av_malloc_array(sizeof(pthread_mutex_t), CRYPTO_num_locks()); av_malloc_array 668 libavformat/nutdec.c syncpoints = av_malloc_array(syncpoint_count, sizeof(int64_t)); av_malloc_array 669 libavformat/nutdec.c has_keyframe = av_malloc_array(syncpoint_count + 1, sizeof(int8_t)); av_malloc_array 693 libavformat/rtsp.c rt->p = av_malloc_array(rt->nb_rtsp_streams + 1, sizeof(struct pollfd) * 2); av_malloc_array 401 libavformat/segment.c *times = av_malloc_array(*nb_times, sizeof(**times)); av_malloc_array 459 libavformat/segment.c *frames = av_malloc_array(*nb_frames, sizeof(**frames)); av_malloc_array 150 libavformat/smacker.c smk->frm_size = av_malloc_array(smk->frames, sizeof(*smk->frm_size)); av_malloc_array 188 libavformat/wtvdec.c wf->sectors = av_malloc_array(nb_sectors1, 1 << WTV_SECTOR_BITS); av_malloc_array 185 libavformat/xmv.c xmv->audio = av_malloc_array(xmv->audio_track_count, sizeof(XMVAudioPacket)); av_malloc_array 51 libavutil/fifo.c void *buffer = av_malloc_array(nmemb, size); av_malloc_array 345 libavutil/frame.c dst->extended_data = av_malloc_array(sizeof(*dst->extended_data), ch); av_malloc_array 149 libavutil/internal.h p = av_malloc_array(nelem, elsize);\ av_malloc_array 93 libavutil/mem.h av_alloc_size(1, 2) static inline void *av_malloc_array(size_t nmemb, size_t size) av_malloc_array 48 libavutil/pca.c pca->z = av_malloc_array(n, sizeof(*pca->z)); av_malloc_array 29 libswresample/dither.c double *tmp = av_malloc_array(len + TMP_EXTRA, sizeof(double)); av_malloc_array 74 libswresample/resample.c double *tab = av_malloc_array(tap_count, sizeof(*tab)); av_malloc_array 570 libswscale/utils.c filter = av_malloc_array(dstW, filterSize * sizeof(*filter));