Searched refs:WINDOWSIZE (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | noisered.c | 147 inr = lsx_calloc(WINDOWSIZE * 5, sizeof(float)); in reduce_noise() 148 ini = inr + WINDOWSIZE; in reduce_noise() 149 outr = ini + WINDOWSIZE; in reduce_noise() 150 outi = outr + WINDOWSIZE; in reduce_noise() 151 power = outi + WINDOWSIZE; in reduce_noise() 156 memcpy(inr, window, WINDOWSIZE*sizeof(float)); in reduce_noise() 158 FFT(WINDOWSIZE, 0, inr, NULL, outr, outi); in reduce_noise() 160 memcpy(inr, window, WINDOWSIZE*sizeof(float)); in reduce_noise() 161 lsx_apply_hann_f(inr, WINDOWSIZE); in reduce_noise() 162 lsx_power_spectrum_f(WINDOWSIZE, inr, power); in reduce_noise() [all …]
|
| H A D | noiseprof.c | 88 data->chandata[i].window = lsx_calloc(WINDOWSIZE, sizeof(float)); in sox_noiseprof_start() 99 lsx_power_spectrum_f(WINDOWSIZE, chan->window, out); in collect_data() 121 size_t i, j, n = min(samp / chans, WINDOWSIZE - p->bufdata); in sox_noiseprof_flow() 133 if (n + p->bufdata == WINDOWSIZE) in sox_noiseprof_flow() 138 assert(p->bufdata <= WINDOWSIZE); in sox_noiseprof_flow() 139 if (p->bufdata == WINDOWSIZE) in sox_noiseprof_flow() 163 for (j = data->bufdata+1; j < WINDOWSIZE; j ++) { in sox_noiseprof_drain() 169 if (data->bufdata == WINDOWSIZE || data->bufdata == 0) in sox_noiseprof_drain()
|
| H A D | noisered.h | 24 #define WINDOWSIZE 2048 macro 25 #define HALFWINDOW (WINDOWSIZE / 2)
|