Home
last modified time | relevance | path

Searched refs:lsx_malloc (Results 1 – 25 of 50) sorted by relevance

12

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dxmalloc.h26 LSX_RETURN_VALID void *lsx_malloc(size_t size);
32 #define lsx_memdup(p,s) ((p)? memcpy(lsx_malloc(s), p, s) : NULL)
H A Did3.c124 buffer = lsx_malloc((size_t)size); in add_tag()
133 current = lsx_malloc(sizeof(struct tag_info_node)); in add_tag()
196 char * comment = lsx_malloc(strlen(id3tagmap[i][1]) + 1 + strlen((char *)utf8) + 1); in lsx_id3_read_tag()
H A Dstretch.c141 p->ibuf = lsx_malloc(p->segment * sizeof(sox_sample_t)); in start()
156 p->obuf = lsx_malloc(p->segment * sizeof(double)); in start()
158 p->fade_coefs = lsx_malloc(p->overlap * sizeof(double)); in start()
H A Dladspa.c169 l_st->inputs = lsx_malloc(l_st->desc->PortCount * sizeof(unsigned long)); in sox_ladspa_getopts()
170 l_st->outputs = lsx_malloc(l_st->desc->PortCount * sizeof(unsigned long)); in sox_ladspa_getopts()
249 l_st->handles = lsx_malloc(effp->in_signal.channels * in sox_ladspa_start()
283 l_st->handles = lsx_malloc(sizeof(LADSPA_Handle *)); in sox_ladspa_start()
H A Dmcompand.c103 l->attackRate = lsx_malloc(sizeof(double) * rates); in sox_mcompand_getopts_1()
104 l->decayRate = lsx_malloc(sizeof(double) * rates); in sox_mcompand_getopts_1()
105 l->volume = lsx_malloc(sizeof(double) * rates); in sox_mcompand_getopts_1()
378 ibuf_copy = lsx_malloc(*isamp * sizeof(sox_sample_t)); in flow()
H A Ddelay.c51 p->max_delay = lsx_malloc(sizeof(*p->max_delay)); in create()
106 p->buffer = lsx_malloc(p->buffer_size * sizeof(*p->buffer)); in start()
H A Dwav.c162 wav->packet = lsx_malloc(wav->blockAlign); in wav_ima_adpcm_fmt()
164 lsx_malloc(ft->signal.channels * wav->samplesPerBlock * sizeof(short)); in wav_ima_adpcm_fmt()
249 wav->packet = lsx_malloc(wav->blockAlign); in wav_ms_adpcm_fmt()
251 lsx_malloc(ft->signal.channels * wav->samplesPerBlock * sizeof(short)); in wav_ms_adpcm_fmt()
254 wav->lsx_ms_adpcm_i_coefs = lsx_malloc(wav->nCoefs * 2 * sizeof(short)); in wav_ms_adpcm_fmt()
395 wav->gsmsample=lsx_malloc(sizeof(gsm_signal)*160*2); in wavgsminit()
1144 wav->packet = lsx_malloc((size_t)wav->blockAlign); in startwrite()
1145 wav->samples = lsx_malloc(sbsize*sizeof(short)); in startwrite()
H A Dgsm.c80 p->frames = lsx_malloc(p->channels*FRAMESIZE); in gsmstart_rw()
81 p->samples = lsx_malloc(BLOCKSIZE * (p->channels+1) * sizeof(gsm_signal)); in gsmstart_rw()
H A Dxmalloc.c50 void *lsx_malloc(size_t size) in lsx_malloc() function
H A Dsilence.c235 silence->window = lsx_malloc(silence->window_size * sizeof(double)); in sox_silence_start()
260 silence->start_holdoff = lsx_malloc(sizeof(sox_sample_t)*silence->start_duration); in sox_silence_start()
265 silence->stop_holdoff = lsx_malloc(sizeof(sox_sample_t)*silence->stop_duration); in sox_silence_start()
H A Dlibsox.sym23 lsx_malloc
H A Dwavpack.c140 int32_t * obuf = lsx_malloc(len * sizeof(*obuf)); in write_samples()
168 char * buf = lsx_malloc(p->first_block_size); in stop_write()
H A Draw.c75 ctype *data = lsx_malloc(sizeof(ctype) * len); \
103 ctype *data = lsx_malloc(sizeof(ctype) * len); \
H A Dlibsox_i.c98 char * name = lsx_malloc(strlen(path) + strlen(end) + 1); in lsx_tmpfile()
H A Dhcom.c153 p->dictionary = lsx_malloc(511 * sizeof(dictent)); in startread()
275 p->data = lsx_malloc(p->size); in startwrite()
418 datafork = lsx_malloc((size_t)l); in compress()
H A D8svx.c87 chunk_buf = lsx_malloc(chunksize + (size_t)2); in startread()
105 chunk_buf = lsx_malloc(chunksize + (size_t)1); in startread()
H A Dchorus.c201 chorus->lookup_tab[i] = lsx_malloc(sizeof (int) * chorus->length[i]); in sox_chorus_start()
225 chorus->chorusbuf = lsx_malloc(sizeof (float) * chorus->maxsamples); in sox_chorus_start()
H A Dstat.c107 stat->re_in = lsx_malloc(sizeof(float) * stat->fft_size); in sox_stat_start()
108 stat->re_out = lsx_malloc(sizeof(float) * (stat->fft_size / 2 + 1)); in sox_stat_start()
H A Deffects_i_dsp.c95 double p, qn, sig, un, * u = lsx_malloc((n - 1) * sizeof(*u)); in lsx_prepare_spline3()
245 double * work = lsx_malloc(n * sizeof(*work)); in lsx_power_spectrum_f()
431 pi_wraps = lsx_malloc((((size_t)work_len + 2) / 2) * sizeof(*pi_wraps)); in lsx_fir_to_phase()
519 double * H = lsx_malloc((N / 2 + 1) * sizeof(*H)); in lsx_plot_fir()
H A Dvorbis.c119 vb->vf = lsx_malloc(sizeof(OggVorbis_File)); in startread()
304 ve = vb->vorbis_enc_data = lsx_malloc(sizeof(vorbis_enc_t)); in startwrite()
H A Dsox.c505 z->ibuf = lsx_malloc(input_count * sizeof(*z->ibuf)); in combiner_start()
507 z->ibuf[i] = lsx_malloc(sox_globals.bufsiz * sizeof(sox_sample_t)); in combiner_start()
513 z->ilen = lsx_malloc(input_count * sizeof(*z->ilen)); in combiner_start()
714 user_effargs[eff_chain_count] = lsx_malloc(sizeof(**user_effargs)); in add_eff_chain()
892 char *s = lsx_malloc(buffer_size); /* buffer for one input line */ in read_user_effects()
1393 efn = expand_fn = lsx_malloc((size_t)FILENAME_MAX); in fndup_with_count()
1842 format_list = lsx_malloc(formats * sizeof(*format_list)); in display_supported_formats()
2116 char * text = lsx_malloc(text_length + 1); in read_comment_file()
2252 char * set = lsx_malloc(len); in enum_option()
2558 file_t * f = lsx_malloc(sizeof(*f)); in add_file()
[all …]
H A Dao.c40 ao->buf = lsx_malloc(ao->buf_size); in startwrite()
H A Dfifo.h115 f->data = lsx_malloc(f->allocation); in fifo_create()
H A Dphaser.c102 p->mod_buf = lsx_malloc(p->mod_buf_len * sizeof(*p->mod_buf)); in start()
H A Dspectrogram.c321 double *q = lsx_malloc(2 * (n / 2 + 1) * n * sizeof(*q)); in rdft_init()
784 png_byte *pixels = lsx_malloc(cols * rows * sizeof(*pixels)); in stop()
785 png_bytepp png_rows = lsx_malloc(rows * sizeof(*png_rows)); in stop()
813 font = lsx_malloc(font_len); in stop()

12