Searched refs:pitch (Results 1 – 9 of 9) sorted by relevance
/liblc3-latest/src/ |
D | ltpf.c | 622 static int refine_pitch(const int16_t *x, int n, int tc, int *pitch) in refine_pitch() argument 652 *pitch = 4*e + f; in refine_pitch() 699 int tc, pitch = 0; in lc3_ltpf_analyse() local 707 data->pitch_index = refine_pitch(x_12k8, n_12k8, tc, &pitch); in lc3_ltpf_analyse() 710 interpolate(x_12k8 - (pitch >> 2), n_12k8, pitch & 3, v); in lc3_ltpf_analyse() 719 LC3_MAX(pitch, ltpf->pitch) - LC3_MIN(pitch, ltpf->pitch); in lc3_ltpf_analyse() 732 ltpf->pitch = pitch; in lc3_ltpf_analyse() 864 int pitch = in lc3_ltpf_synthesize() local 869 pitch = (pitch * lc3_ns(LC3_DT_10M, sr) + 64) / 128; in lc3_ltpf_synthesize() 885 c[ i] = g * lc3_ltpf_cden[sr][pitch & 3][(w-1)-i]; in lc3_ltpf_synthesize() [all …]
|
D | ltpf.h | 67 int lc3_ltpf_get_nbits(bool pitch);
|
D | spec.h | 53 bool pitch, const lc3_tns_data_t *tns, lc3_spec_analysis_t *spec,
|
D | spec.c | 822 bool pitch, const lc3_tns_data_t *tns, in lc3_spec_analyze() argument 834 lc3_bwdet_get_nbits(sr) - lc3_ltpf_get_nbits(pitch) - in lc3_spec_analyze()
|
/liblc3-latest/test/ |
D | decoder.py | 62 pitch = b.read_bit() 66 if pitch: 73 return (x, bw, pitch) 75 def synthesize(self, x, bw, pitch, nbytes): argument 90 (x, bw, pitch) = self.decode(data) 92 x = self.synthesize(x, bw, pitch, len(data))
|
D | spec_py.c | 125 int nbytes, pitch; in analyze_py() local 134 &nbytes, &pitch, &tns_obj, &spec_obj, &x_obj)) in analyze_py() 146 lc3_spec_analyze(dt, sr, nbytes, pitch, &tns, &spec, x, &side); in analyze_py()
|
D | ltpf.py | 151 self.pitch = 0 257 pitch = e + f/4 264 dp = abs(pitch - self.pitch) 270 pitch = 0 274 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-latest/include/ |
D | lc3_private.h | 101 int pitch; member 144 int pitch; member
|