Home
last modified time | relevance | path

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

/liblc3-3.7.0-3.6.0/test/
Dsns.py32 (self.ind_lf, self.ind_hf, self.shape, self.gain) = \
41 'shape' : self.shape, 'gain' : self.gain,
272 self.gain = np.argmin(dMSE[self.shape])
274 gain = G[self.shape][self.gain]
293 scf_q = st1 + gain * fftpack.idct(xq[self.shape], norm = 'ortho')
316 b.write_uint(self.gain >> gain_lsb_bits, gain_msb_bits)
327 index_joint = self.idx_a + (self.gain & 1) * sz_shape_a
334 index_joint = sz_shape_a + (self.gain & 1) + 2 * self.idx_a
399 gain = G[self.shape][self.gain]
402 + gain * fftpack.idct(y, norm = 'ortho')
[all …]
Dsns_py.c94 int shape, gain; in unquantize_py() local
98 &lfcb_idx, &hfcb_idx, &y_obj, &shape, &gain)) in unquantize_py()
106 (unsigned)gain < (unsigned)lc3_sns_vq_gains[shape].count); in unquantize_py()
110 unquantize(lfcb_idx, hfcb_idx, y, shape, gain, scf); in unquantize_py()
Dctypes.h433 new_scalar(NPY_INT, &data->gain)); in new_sns_data()
467 CTYPES_CHECK("sns.gain", to_scalar(item, NPY_INT, &data->gain)); in to_sns_data()
/liblc3-3.7.0-3.6.0/src/
Dsns.c545 const float *c, int shape, int gain, float *scf) in unquantize() argument
549 float g = lc3_sns_vq_gains[shape].v[gain]; in unquantize()
745 c, cn, &data->shape, &data->gain); in lc3_sns_analyze()
748 cn[data->shape], data->shape, data->gain, scf); in lc3_sns_analyze()
770 unquantize(data->lfcb, data->hfcb, cn, data->shape, data->gain, scf); in lc3_sns_synthesize()
805 2 * (data->idx_b + 1) + data->ls_b : data->gain & 1; in lc3_sns_put_data()
808 lc3_put_bits(bits, data->gain >> submode, 1); in lc3_sns_put_data()
817 data->idx_a : size_a + 2 * data->idx_a + (data->gain & 1); in lc3_sns_put_data()
819 lc3_put_bits(bits, data->gain >> submode, 2); in lc3_sns_put_data()
840 data->gain = lc3_get_bits(bits, 1 + shape_msb); in lc3_sns_get_data()
[all …]
Dsns.h39 int shape, gain; member
Dtns.c60 const float *x, float *gain, float (*a)[9]) in compute_lpc_coeffs() argument
116 gain[f] = err; in compute_lpc_coeffs()
144 gain[f] /= err; in compute_lpc_coeffs()