/third_party/ffmpeg/libavfilter/ |
D | af_headphone.c | 385 s->ringbuffer[0] = av_calloc(s->buffer_length, sizeof(float) * nb_input_channels); in convert_coeffs() 386 s->ringbuffer[1] = av_calloc(s->buffer_length, sizeof(float) * nb_input_channels); in convert_coeffs() 388 s->ringbuffer[0] = av_calloc(s->buffer_length, sizeof(float)); in convert_coeffs() 389 s->ringbuffer[1] = av_calloc(s->buffer_length, sizeof(float)); in convert_coeffs() 390 s->temp_fft[0] = av_calloc(s->n_fft, sizeof(FFTComplex)); in convert_coeffs() 391 s->temp_fft[1] = av_calloc(s->n_fft, sizeof(FFTComplex)); in convert_coeffs() 392 s->temp_afft[0] = av_calloc(s->n_fft, sizeof(FFTComplex)); in convert_coeffs() 393 s->temp_afft[1] = av_calloc(s->n_fft, sizeof(FFTComplex)); in convert_coeffs() 407 s->temp_src[0] = av_calloc(s->air_len, sizeof(float)); in convert_coeffs() 408 s->temp_src[1] = av_calloc(s->air_len, sizeof(float)); in convert_coeffs() [all …]
|
D | af_sofalizer.c | 171 s->sofa.fir = av_calloc(s->sofa.hrtf->N * s->sofa.hrtf->R, sizeof(*s->sofa.fir)); in preload_sofa() 759 s->data_ir[0] = av_calloc(n_samples, sizeof(float) * s->n_conv); in load_data() 760 s->data_ir[1] = av_calloc(n_samples, sizeof(float) * s->n_conv); in load_data() 768 s->delay[0] = av_calloc(s->n_conv, sizeof(int)); in load_data() 769 s->delay[1] = av_calloc(s->n_conv, sizeof(int)); in load_data() 777 data_ir_l = av_calloc(n_conv * n_samples, sizeof(*data_ir_l)); in load_data() 778 data_ir_r = av_calloc(n_conv * n_samples, sizeof(*data_ir_r)); in load_data() 785 s->temp_src[0] = av_calloc(n_samples, sizeof(float)); in load_data() 786 s->temp_src[1] = av_calloc(n_samples, sizeof(float)); in load_data() 793 s->speaker_azim = av_calloc(s->n_conv, sizeof(*s->speaker_azim)); in load_data() [all …]
|
D | vf_bilateral.c | 127 s->img_out_f = av_calloc(inlink->w * inlink->h, sizeof(float)); in config_input() 128 s->img_temp = av_calloc(inlink->w * inlink->h, sizeof(float)); in config_input() 129 s->map_factor_a = av_calloc(inlink->w * inlink->h, sizeof(float)); in config_input() 130 s->map_factor_b = av_calloc(inlink->w * inlink->h, sizeof(float)); in config_input() 131 s->slice_factor_a = av_calloc(inlink->w, sizeof(float)); in config_input() 132 s->slice_factor_b = av_calloc(inlink->w, sizeof(float)); in config_input() 133 s->line_factor_a = av_calloc(inlink->w, sizeof(float)); in config_input() 134 s->line_factor_b = av_calloc(inlink->w, sizeof(float)); in config_input()
|
D | vf_shuffleframes.c | 53 s->frames = av_calloc(nb_items, sizeof(*s->frames)); in init() 54 s->map = av_calloc(nb_items, sizeof(*s->map)); in init() 55 s->pts = av_calloc(nb_items, sizeof(*s->pts)); in init()
|
D | af_afftdn.c | 617 s->dnch = av_calloc(inlink->channels, sizeof(*s->dnch)); in config_input() 665 s->window = av_calloc(s->window_length, sizeof(*s->window)); in config_input() 666 s->bin2band = av_calloc(s->bin_count, sizeof(*s->bin2band)); in config_input() 676 s->band_alpha = av_calloc(s->number_of_bands, sizeof(*s->band_alpha)); in config_input() 677 s->band_beta = av_calloc(s->number_of_bands, sizeof(*s->band_beta)); in config_input() 718 dnch->amt = av_calloc(s->bin_count, sizeof(*dnch->amt)); in config_input() 719 dnch->band_amt = av_calloc(s->number_of_bands, sizeof(*dnch->band_amt)); in config_input() 720 dnch->band_excit = av_calloc(s->number_of_bands, sizeof(*dnch->band_excit)); in config_input() 721 dnch->gain = av_calloc(s->bin_count, sizeof(*dnch->gain)); in config_input() 722 dnch->prior = av_calloc(s->bin_count, sizeof(*dnch->prior)); in config_input() [all …]
|
D | af_chorus.c | 146 s->length = av_calloc(s->num_chorus, sizeof(*s->length)); in init() 147 s->lookup_table = av_calloc(s->num_chorus, sizeof(*s->lookup_table)); in init() 216 s->counter = av_calloc(outlink->channels, sizeof(*s->counter)); in config_output() 220 s->phase = av_calloc(outlink->channels, sizeof(*s->phase)); in config_output() 225 s->phase[n] = av_calloc(s->num_chorus, sizeof(int)); in config_output()
|
D | af_adeclick.c | 161 s->window_func_lut = av_calloc(s->window_size, sizeof(*s->window_func_lut)); in config_input() 193 s->chan = av_calloc(inlink->channels, sizeof(*s->chan)); in config_input() 200 c->detection = av_calloc(s->window_size, sizeof(*c->detection)); in config_input() 201 c->auxiliary = av_calloc(s->ar_order + 1, sizeof(*c->auxiliary)); in config_input() 202 c->acoefficients = av_calloc(s->ar_order + 1, sizeof(*c->acoefficients)); in config_input() 203 c->acorrelation = av_calloc(s->ar_order + 1, sizeof(*c->acorrelation)); in config_input() 204 c->tmp = av_calloc(s->ar_order, sizeof(*c->tmp)); in config_input() 205 c->click = av_calloc(s->window_size, sizeof(*c->click)); in config_input() 206 c->index = av_calloc(s->window_size, sizeof(*c->index)); in config_input() 207 c->interpolated = av_calloc(s->window_size, sizeof(*c->interpolated)); in config_input()
|
D | af_afftfilt.c | 143 s->fft_data = av_calloc(inlink->channels, sizeof(*s->fft_data)); in config_input() 147 s->fft_temp = av_calloc(inlink->channels, sizeof(*s->fft_temp)); in config_input() 152 s->fft_data[ch] = av_calloc(s->window_size, sizeof(**s->fft_data)); in config_input() 158 s->fft_temp[ch] = av_calloc(s->window_size, sizeof(**s->fft_temp)); in config_input() 163 s->real = av_calloc(inlink->channels, sizeof(*s->real)); in config_input() 167 s->imag = av_calloc(inlink->channels, sizeof(*s->imag)); in config_input()
|
D | af_ladspa.c | 322 s->handles = av_calloc(s->nb_handles, sizeof(*s->handles)); in connect_ports() 546 s->ipmap = av_calloc(nb_ports, sizeof(*s->ipmap)); in init() 547 s->opmap = av_calloc(nb_ports, sizeof(*s->opmap)); in init() 548 s->icmap = av_calloc(nb_ports, sizeof(*s->icmap)); in init() 549 s->ocmap = av_calloc(nb_ports, sizeof(*s->ocmap)); in init() 550 s->ictlv = av_calloc(nb_ports, sizeof(*s->ictlv)); in init() 551 s->octlv = av_calloc(nb_ports, sizeof(*s->octlv)); in init() 552 s->ctl_needs_value = av_calloc(nb_ports, sizeof(*s->ctl_needs_value)); in init()
|
D | vf_bm3d.c | 803 …sc->num = av_calloc(FFALIGN(s->planewidth[0], s->block_size) * FFALIGN(s->planeheight[0], s->block… in config_input() 804 …sc->den = av_calloc(FFALIGN(s->planewidth[0], s->block_size) * FFALIGN(s->planeheight[0], s->block… in config_input() 820 sc->buffer = av_calloc(s->block_size * s->block_size * s->pgroup_size, sizeof(*sc->buffer)); in config_input() 821 … sc->bufferz = av_calloc(s->block_size * s->block_size * s->pgroup_size, sizeof(*sc->bufferz)); in config_input() 822 sc->bufferh = av_calloc(s->block_size * s->block_size, sizeof(*sc->bufferh)); in config_input() 823 sc->bufferv = av_calloc(s->block_size * s->block_size, sizeof(*sc->bufferv)); in config_input() 828 … sc->rbuffer = av_calloc(s->block_size * s->block_size * s->pgroup_size, sizeof(*sc->rbuffer)); in config_input() 829 … sc->rbufferz = av_calloc(s->block_size * s->block_size * s->pgroup_size, sizeof(*sc->rbufferz)); in config_input() 830 sc->rbufferh = av_calloc(s->block_size * s->block_size, sizeof(*sc->rbufferh)); in config_input() 831 sc->rbufferv = av_calloc(s->block_size * s->block_size, sizeof(*sc->rbufferv)); in config_input() [all …]
|
D | f_streamselect.c | 146 s->frames = av_calloc(ctx->nb_inputs, sizeof(*s->frames)); in config_output() 196 new_map = av_calloc(s->nb_inputs, sizeof(*new_map)); in parse_mapping() 276 s->last_pts = av_calloc(s->nb_inputs, sizeof(*s->last_pts)); in init()
|
D | avf_showvolume.c | 169 s->values = av_calloc(inlink->channels * VAR_VARS_NB, sizeof(double)); in config_input() 173 s->color_lut = av_calloc(s->w, sizeof(*s->color_lut) * inlink->channels); in config_input() 177 s->max = av_calloc(inlink->channels, sizeof(*s->max)); in config_input() 191 …s->max_persistent = av_calloc(inlink->channels * s->persistent_max_frames, sizeof(*s->max_persiste… in config_input() 192 …s->nb_frames_max_display = av_calloc(inlink->channels * s->persistent_max_frames, sizeof(*s->nb_fr… in config_input()
|
D | f_ebur128.c | 341 ebur128->y_line_ref = av_calloc(ebur128->graph.h + 1, sizeof(*ebur128->y_line_ref)); in config_video_output() 417 ebur128->ch_weighting = av_calloc(nb_channels, sizeof(*ebur128->ch_weighting)); in config_audio_output() 436 ebur128->i400.cache[i] = av_calloc(I400_BINS, sizeof(*ebur128->i400.cache[0])); in config_audio_output() 437 ebur128->i3000.cache[i] = av_calloc(I3000_BINS, sizeof(*ebur128->i3000.cache[0])); in config_audio_output() 447 ebur128->true_peaks = av_calloc(nb_channels, sizeof(*ebur128->true_peaks)); in config_audio_output() 448 … ebur128->true_peaks_per_frame = av_calloc(nb_channels, sizeof(*ebur128->true_peaks_per_frame)); in config_audio_output() 469 ebur128->sample_peaks = av_calloc(nb_channels, sizeof(*ebur128->sample_peaks)); in config_audio_output() 484 struct hist_entry *h = av_calloc(HIST_SIZE, sizeof(*h)); in get_histogram()
|
D | af_aiir.c | 481 iir->cache[ab] = av_calloc(iir->nb_ab[ab] + 1, sizeof(double)); in read_channels() 482 iir->ab[ab] = av_calloc(iir->nb_ab[ab] * (!!s->format + 1), sizeof(double)); in read_channels() 575 topc = av_calloc((iir->nb_ab[1] + 1) * 2, sizeof(*topc)); in convert_zp2tf() 576 botc = av_calloc((iir->nb_ab[0] + 1) * 2, sizeof(*botc)); in convert_zp2tf() 624 iir->biquads = av_calloc(nb_biquads, sizeof(BiquadContext)); in decompose_zp2biquads() 837 double *impulse = av_calloc(length, sizeof(*impulse)); in convert_serial2parallel() 838 double *y = av_calloc(length, sizeof(*y)); in convert_serial2parallel() 839 double *resp = av_calloc(length, sizeof(*resp)); in convert_serial2parallel() 840 double *M = av_calloc((length - 1) * 2 * nb_biquads, sizeof(*M)); in convert_serial2parallel() 841 double *W = av_calloc((length - 1) * 2 * nb_biquads, sizeof(*W)); in convert_serial2parallel() [all …]
|
D | af_mcompand.c | 336 p->previous = av_calloc(outlink->channels, sizeof(*p->previous)); in crossover_setup() 354 s->bands = av_calloc(nb_bands, sizeof(*s->bands)); in config_output() 384 s->bands[i].attack_rate = av_calloc(outlink->channels, sizeof(double)); in config_output() 385 s->bands[i].decay_rate = av_calloc(outlink->channels, sizeof(double)); in config_output() 386 s->bands[i].volume = av_calloc(outlink->channels, sizeof(double)); in config_output() 430 s->bands[i].transfer_fn.segments = av_calloc(s->bands[i].transfer_fn.nb_segments, in config_output()
|
D | asrc_afirsrc.c | 254 s->complexf = av_calloc(fft_size * 2, sizeof(*s->complexf)); in config_output() 262 s->taps = av_calloc(s->nb_taps, sizeof(*s->taps)); in config_output() 266 s->win = av_calloc(s->nb_taps, sizeof(*s->win)); in config_output()
|
D | vf_vif.c | 519 if (!(s->data_buf[i] = av_calloc(s->width, s->height * sizeof(float)))) in config_input_ref() 523 if (!(s->ref_data = av_calloc(s->width, s->height * sizeof(float)))) in config_input_ref() 526 if (!(s->main_data = av_calloc(s->width, s->height * sizeof(float)))) in config_input_ref() 529 if (!(s->temp = av_calloc(s->nb_threads, sizeof(s->temp[0])))) in config_input_ref() 533 if (!(s->temp[i] = av_calloc(s->width, sizeof(float)))) in config_input_ref()
|
D | af_dynaudnorm.c | 339 s->dc_correction_value = av_calloc(inlink->channels, sizeof(*s->dc_correction_value)); in config_input() 340 s->compress_threshold = av_calloc(inlink->channels, sizeof(*s->compress_threshold)); in config_input() 341 s->gain_history_original = av_calloc(inlink->channels, sizeof(*s->gain_history_original)); in config_input() 342 s->gain_history_minimum = av_calloc(inlink->channels, sizeof(*s->gain_history_minimum)); in config_input() 343 s->gain_history_smoothed = av_calloc(inlink->channels, sizeof(*s->gain_history_smoothed)); in config_input() 344 s->threshold_history = av_calloc(inlink->channels, sizeof(*s->threshold_history)); in config_input()
|
D | vsrc_life.c | 198 if (!(life->buf[0] = av_calloc(life->h * life->w, sizeof(*life->buf[0]))) || in init_pattern_from_file() 199 !(life->buf[1] = av_calloc(life->h * life->w, sizeof(*life->buf[1])))) { in init_pattern_from_file() 240 if (!(life->buf[0] = av_calloc(life->h * life->w, sizeof(*life->buf[0]))) || in init() 241 !(life->buf[1] = av_calloc(life->h * life->w, sizeof(*life->buf[1])))) { in init()
|
D | af_superequalizer.c | 148 s->ires = av_calloc(s->tabsize, sizeof(float)); in equ_init() 149 s->irest = av_calloc(s->tabsize, sizeof(float)); in equ_init() 150 s->fsamples = av_calloc(s->tabsize, sizeof(float)); in equ_init()
|
D | vf_midequalizer.c | 264 s->histogram[0] = av_calloc(s->histogram_size, sizeof(float)); in config_input0() 265 s->histogram[1] = av_calloc(s->histogram_size, sizeof(float)); in config_input0() 266 s->cchange = av_calloc(s->histogram_size, sizeof(unsigned)); in config_input0()
|
/third_party/ffmpeg/libavcodec/ |
D | sonic.c | 261 copy = av_calloc(entries, sizeof(*copy)); in intlist_write() 287 bits = av_calloc(entries*max, sizeof(*bits)); in intlist_write() 357 int *bits = av_calloc(entries, sizeof(*bits)); in intlist_read() 631 s->tap_quant = av_calloc(s->num_taps, sizeof(*s->tap_quant)); in sonic_encode_init() 645 s->tail = av_calloc(s->tail_size, sizeof(*s->tail)); in sonic_encode_init() 649 s->predictor_k = av_calloc(s->num_taps, sizeof(*s->predictor_k) ); in sonic_encode_init() 653 coded_samples = av_calloc(s->block_align, s->channels * sizeof(**s->coded_samples)); in sonic_encode_init() 659 s->int_samples = av_calloc(s->frame_size, sizeof(*s->int_samples)); in sonic_encode_init() 662 s->window = av_calloc(s->window_size, 2 * sizeof(*s->window)); in sonic_encode_init() 935 s->tap_quant = av_calloc(s->num_taps, sizeof(*s->tap_quant)); in sonic_decode_init() [all …]
|
D | g722enc.c | 105 c->paths[i] = av_calloc(max_paths, sizeof(**c->paths)); in g722_encode_init() 106 c->node_buf[i] = av_calloc(frontier, 2 * sizeof(**c->node_buf)); in g722_encode_init() 107 c->nodep_buf[i] = av_calloc(frontier, 2 * sizeof(**c->nodep_buf)); in g722_encode_init()
|
/third_party/ffmpeg/libavutil/ |
D | pca.c | 50 pca->covariance= av_calloc(n*n, sizeof(double)); in ff_pca_init() 51 pca->mean= av_calloc(n, sizeof(double)); in ff_pca_init()
|
/third_party/ffmpeg/libavformat/ |
D | aaxdec.c | 149 a->segments = av_calloc(a->nb_segments, sizeof(*a->segments)); in aax_read_header() 153 a->xcolumns = av_calloc(a->columns, sizeof(*a->xcolumns)); in aax_read_header() 159 a->string_table = av_calloc(a->strings_size + 1, sizeof(*a->string_table)); in aax_read_header()
|