Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/test/
Dsns_py.c119 float *scf_q, *x; in spectral_shaping_py() local
130 CTYPES_CHECK("scf_q", to_1d_ptr(scf_q_obj, NPY_FLOAT, 16, &scf_q)); in spectral_shaping_py()
133 spectral_shaping(dt, sr, scf_q, inv, x, x); in spectral_shaping_py()
Dsns.py293 scf_q = st1 + gain * fftpack.idct(xq[self.shape], norm = 'ortho')
295 return scf_q
300 scf_q = self.quantize(scf)
301 y = self.spectral_shaping(scf_q, False, x)
534 scf_q = lc3.sns_unquantize(lf, hf, yn[shape], shape, gain)
535 ok = ok and np.amax(np.abs(scf_q - C.SCF_Q[dt][i])) < 1e-5
/liblc3-3.5.0-3.4.0/src/
Dsns.c679 const float *scf_q, bool inv, const float *x, float *y) in spectral_shaping() argument
684 float s0, s1 = inv ? -scf_q[0] : scf_q[0]; in spectral_shaping()
688 s0 = s1, s1 = inv ? -scf_q[i+1] : scf_q[i+1]; in spectral_shaping()