Searched refs:pitch (Results 1 – 9 of 9) sorted by relevance
/liblc3-3.5.0-3.4.0/src/ |
D | ltpf.c | 573 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 …]
|
D | ltpf.h | 74 int lc3_ltpf_get_nbits(bool pitch);
|
D | spec.h | 63 int nbytes, bool pitch, const lc3_tns_data_t *tns,
|
D | spec.c | 769 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/ |
D | decoder.py | 65 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))
|
D | spec_py.c | 135 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()
|
D | ltpf.py | 151 self.pitch = 0 250 pitch = e + f/4 257 dp = abs(pitch - self.pitch) 263 pitch = 0 267 self.pitch = pitch
|
D | ctypes.h | 279 PyDict_GetItemString(obj, "pitch"), NPY_INT, <pf->pitch)); in to_ltpf_analysis() 315 new_scalar(NPY_INT, <pf->pitch)); in from_ltpf_analysis() 347 PyDict_GetItemString(obj, "pitch"), NPY_INT, <pf->pitch)); in to_ltpf_synthesis() 370 new_scalar(NPY_INT, <pf->pitch)); in from_ltpf_synthesis()
|
/liblc3-3.5.0-3.4.0/include/ |
D | lc3_private.h | 88 int pitch; member 131 int pitch; member
|