Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/src/
Dltpf.c573 static int refine_pitch(const int16_t *x, int n, int tc, int *pitch) in refine_pitch() argument
603 *pitch = 4*e + f; in refine_pitch()
643 int tc, pitch = 0; in lc3_ltpf_analyse() local
651 data->pitch_index = refine_pitch(x_12k8, n_12k8, tc, &pitch); in lc3_ltpf_analyse()
654 interpolate(x_12k8 - (pitch >> 2), n_12k8, pitch & 3, v); in lc3_ltpf_analyse()
663 LC3_MAX(pitch, ltpf->pitch) - LC3_MIN(pitch, ltpf->pitch); in lc3_ltpf_analyse()
676 ltpf->pitch = pitch; in lc3_ltpf_analyse()
800 int pitch = in lc3_ltpf_synthesize() local
805 pitch = (pitch * LC3_SRATE_KHZ(sr) * 10 + 64) / 128; in lc3_ltpf_synthesize()
816 c[ i] = g * lc3_ltpf_cden[sr][pitch & 3][(w-1)-i]; in lc3_ltpf_synthesize()
[all …]
Dltpf.h74 int lc3_ltpf_get_nbits(bool pitch);
Dspec.h63 int nbytes, bool pitch, const lc3_tns_data_t *tns,
Dspec.c769 int nbytes, bool pitch, const lc3_tns_data_t *tns, in lc3_spec_analyze() argument
781 lc3_bwdet_get_nbits(sr) - lc3_ltpf_get_nbits(pitch) - in lc3_spec_analyze()
/liblc3-3.5.0-3.4.0/test/
Ddecoder.py65 pitch = b.read_bit()
69 if pitch:
76 return (x, bw, pitch)
78 def synthesize(self, x, bw, pitch, nbytes): argument
93 (x, bw, pitch) = self.decode(data)
95 x = self.synthesize(x, bw, pitch, len(data))
Dspec_py.c135 int pitch; in analyze_py() local
140 &pitch, &tns_obj, &spec_obj, &x_obj)) in analyze_py()
155 lc3_spec_analyze(dt, sr, nbytes, pitch, &tns, &spec, x, __xq, &side); in analyze_py()
Dltpf.py151 self.pitch = 0
250 pitch = e + f/4
257 dp = abs(pitch - self.pitch)
263 pitch = 0
267 self.pitch = pitch
Dctypes.h279 PyDict_GetItemString(obj, "pitch"), NPY_INT, &ltpf->pitch)); in to_ltpf_analysis()
315 new_scalar(NPY_INT, &ltpf->pitch)); in from_ltpf_analysis()
347 PyDict_GetItemString(obj, "pitch"), NPY_INT, &ltpf->pitch)); in to_ltpf_synthesis()
370 new_scalar(NPY_INT, &ltpf->pitch)); in from_ltpf_synthesis()
/liblc3-3.5.0-3.4.0/include/
Dlc3_private.h88 int pitch; member
131 int pitch; member