Home
last modified time | relevance | path

Searched refs:lsx_calloc (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dnoiseprof.c83 data->chandata = lsx_calloc(channels, sizeof(*(data->chandata))); in sox_noiseprof_start()
86 data->chandata[i].sum = lsx_calloc(FREQCOUNT, sizeof(float)); in sox_noiseprof_start()
87 data->chandata[i].profilecount = lsx_calloc(FREQCOUNT, sizeof(int)); in sox_noiseprof_start()
88 data->chandata[i].window = lsx_calloc(WINDOWSIZE, sizeof(float)); in sox_noiseprof_start()
96 float *out = lsx_calloc(FREQCOUNT, sizeof(float)); in collect_data()
H A Dnoisered.c94 data->chandata = lsx_calloc(channels, sizeof(*(data->chandata))); in sox_noisered_start()
97 data->chandata[i].noisegate = lsx_calloc(FREQCOUNT, sizeof(float)); in sox_noisered_start()
98 data->chandata[i].smoothing = lsx_calloc(FREQCOUNT, sizeof(float)); in sox_noisered_start()
147 inr = lsx_calloc(WINDOWSIZE * 5, sizeof(float)); in reduce_noise()
225 if ((nextwindow = lsx_calloc(WINDOWSIZE, sizeof(float))) == NULL) in process_window()
282 chan->window = lsx_calloc(WINDOWSIZE, sizeof(float)); in sox_noisered_flow()
H A Dxmalloc.h27 LSX_RETURN_VALID void *lsx_calloc(size_t n, size_t size);
31 #define lsx_Calloc(v,n) v = lsx_calloc(n,sizeof(*(v)))
H A Dladspa.c168 l_st->control = lsx_calloc(l_st->desc->PortCount, sizeof(LADSPA_Data)); in sox_ladspa_getopts()
343 LADSPA_Data *buf = lsx_calloc(len, sizeof(LADSPA_Data)); in sox_ladspa_flow()
344 LADSPA_Data *outbuf = lsx_calloc(len, sizeof(LADSPA_Data)); in sox_ladspa_flow()
428 ibuf = lsx_calloc(isamp, sizeof(sox_sample_t)); in sox_ladspa_drain()
429 dbuf = lsx_calloc(dsamp, sizeof(sox_sample_t)); in sox_ladspa_drain()
H A Dvorbis.c150 vb->buf = lsx_calloc(vb->buf_len, sizeof(char)); in startread()
261 vc.comment_lengths = lsx_calloc((size_t)vc.comments, sizeof(*vc.comment_lengths)); in write_vorbis_header()
262 vc.user_comments = lsx_calloc((size_t)vc.comments, sizeof(*vc.user_comments)); in write_vorbis_header()
265 char * text = lsx_calloc(strlen(prepend) + strlen(ft->oob.comments[i]) + 1, sizeof(*text)); in write_vorbis_header()
H A Dloudness.c78 work = lsx_calloc(work_len, sizeof(*work)); in make_filter()
79 h = lsx_calloc(n, sizeof(*h)); in make_filter()
H A Ddft_filter.c32 f->coefs = lsx_calloc(f->dft_length, sizeof(*f->coefs)); in lsx_set_dft_filter()
105 double * buff = lsx_calloc(1024, sizeof(*buff)); in drain()
H A Dflanger.c143 f->delay_bufs[c] = lsx_calloc(f->delay_buf_length, sizeof(*f->delay_bufs[0])); in start()
147 f->lfo = lsx_calloc(f->lfo_length, sizeof(*f->lfo)); in start()
H A Dxmalloc.c55 void *lsx_calloc(size_t n, size_t size) in lsx_calloc() function
H A Dspectrogram.c418 p->buf = lsx_calloc(p->dft_size, sizeof(*p->buf)); in start()
419 p->dft_buf = lsx_calloc(p->dft_size, sizeof(*p->dft_buf)); in start()
420 p->window = lsx_calloc(p->dft_size + 1, sizeof(*p->window)); in start()
421 p->magnitudes = lsx_calloc(p->dft_size / 2 + 1, sizeof(*p->magnitudes)); in start()
541 sox_sample_t * ibuf = lsx_calloc(p->dft_size, sizeof(*ibuf)); in drain()
542 sox_sample_t * obuf = lsx_calloc(p->dft_size, sizeof(*obuf)); in drain()
H A Dlibsox.sym1 lsx_calloc
H A Ddivide.c33 p->last = lsx_calloc(effp->in_signal.channels, sizeof(*p->last)); in start()
H A Dcompand.c89 l->channels = lsx_calloc(pairs, sizeof(*l->channels)); in getopts()
162 l->delay_buf = lsx_calloc((size_t)l->delay_buf_size, sizeof(*l->delay_buf)); in start()
H A Dxa.c181 xa->buf = lsx_calloc(1, (size_t)xa->blockSize); in startread()
184 xa->state = lsx_calloc(sizeof(xa_state_t), ft->signal.channels); in startread()
H A Deffects.c60 sox_effect_t * effp = lsx_calloc(1, sizeof(*effp)); in sox_create_effect()
72 effp->priv = lsx_calloc(1, effp->handler.priv_size); in sox_create_effect()
94 sox_effects_chain_t * result = lsx_calloc(1, sizeof(sox_effects_chain_t)); in sox_create_effects_chain()
195 lsx_calloc(effp->flows, sizeof(chain->effects[chain->length][0])); in sox_add_effect()
H A Dremix.c125 p->out_specs = lsx_calloc(p->num_out_channels, sizeof(*p->out_specs)); in create()
226 p->out_specs = lsx_calloc(num_out_channels, sizeof(*p->out_specs)); in channels_start()
H A Dsox-fmt.c58 char * buf = lsx_calloc(1, (size_t)comments_bytes + 1); /* ensure nul-terminated */ in startread()
H A Dphaser.c99 p->delay_buf = lsx_calloc(p->delay_buf_len, sizeof(*p->delay_buf)); in start()
H A Dformats.c283 result = lsx_calloc(len? len : 1, sizeof(*result)); in lsx_cat_comments()
494 sox_format_t * ft = lsx_calloc(1, sizeof(*ft)); in open_read()
598 ft->priv = lsx_calloc(1, ft->handler.priv_size); in open_read()
887 sox_format_t * ft = lsx_calloc(sizeof(*ft), 1); in open_write()
965 ft->priv = lsx_calloc(1, ft->handler.priv_size); in open_write()
H A Dsplice.c177 p->splices = lsx_calloc(p->nsplices, sizeof(*p->splices)); in create()
187 p->buffer = lsx_calloc(p->max_buffer_size * effp->in_signal.channels, sizeof(*p->buffer)); in start()
H A Dmcompand.c184 c->bands = lsx_calloc(c->nBands, sizeof(comp_band_t)); in getopts()
249 l->delay_buf = lsx_calloc(sizeof(long), c->delay_buf_size); in start()
H A Dtempo.c153 float * buff = lsx_calloc(128 * t->channels, sizeof(*buff)); in tempo_flush()
195 tempo_t * t = lsx_calloc(1, sizeof(*t)); in tempo_create()
H A Dsf.c101 char * buf = lsx_calloc(1, (size_t)size + 1); /* +1 ensures null-terminated */ in startread()
H A Dmcompand_xover.h66 p->previous = lsx_calloc(effp->in_signal.channels, sizeof(*p->previous)); in crossover_setup()
H A Dfirfit.c62 work = lsx_calloc(work_len + 2, sizeof(*work)); in make_filter()

12