Home
last modified time | relevance | path

Searched refs:FRAME_SIZE_SHIFT (Results 1 – 1 of 1) sorted by relevance

/external/rnnoise/src/
Ddenoise.c44 #define FRAME_SIZE_SHIFT 2 macro
45 #define FRAME_SIZE (120<<FRAME_SIZE_SHIFT)
107 band_size = (eband5ms[i+1]-eband5ms[i])<<FRAME_SIZE_SHIFT; in compute_band_energy()
111 tmp = SQUARE(X[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].r); in compute_band_energy()
112 tmp += SQUARE(X[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].i); in compute_band_energy()
132 band_size = (eband5ms[i+1]-eband5ms[i])<<FRAME_SIZE_SHIFT; in compute_band_corr()
136 tmp = X[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].r * P[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].r; in compute_band_corr()
137 tmp += X[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].i * P[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j].i; in compute_band_corr()
157 band_size = (eband5ms[i+1]-eband5ms[i])<<FRAME_SIZE_SHIFT; in interp_band_gain()
160 g[(eband5ms[i]<<FRAME_SIZE_SHIFT) + j] = (1-frac)*bandE[i] + frac*bandE[i+1]; in interp_band_gain()
[all …]