Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 5 of 5) sorted by relevance

/liblc3-latest/src/
Dltpf.c583 const int16_t *x, int n, int *tc) in detect_pitch() argument
589 int k0 = LC3_MAX( 0, ltpf->tc-4); in detect_pitch()
590 int nk = LC3_MIN(nr-1, ltpf->tc+4) - k0 + 1; in detect_pitch()
607 ltpf->tc = (t1sel ? t1 : t2); in detect_pitch()
609 *tc = r0 + ltpf->tc; in detect_pitch()
622 static int refine_pitch(const int16_t *x, int n, int tc, int *pitch) in refine_pitch() argument
627 int r0 = LC3_MAX( 32, 2*tc - 4); in refine_pitch()
628 int nr = LC3_MIN(228, 2*tc + 4) - r0 + 1; in refine_pitch()
699 int tc, pitch = 0; in lc3_ltpf_analyse() local
702 bool pitch_present = detect_pitch(ltpf, x_6k4, n_6k4, &tc); in lc3_ltpf_analyse()
[all …]
Dbwdet.c110 float tc = (const float []){ in lc3_bwdet_run()
114 hold = e[i-l] > tc * e[i]; in lc3_bwdet_run()
/liblc3-latest/test/
Dltpf.py150 self.tc = 0
191 tc = self.tc
192 k0 = max(0, tc-4)
193 k1 = min(len(r)-1, tc+4)
198 self.tc = t[ti] - 17
205 tc = self.tc + 17
211 k0 = max( 32, 2*tc-4)
212 k1 = min(228, 2*tc+4)
531 ok = ok and (not pitch_present or state_c['tc'] == ltpf.tc)
Dctypes.h297 PyDict_GetItemString(obj, "tc"), NPY_INT, &ltpf->tc)); in to_ltpf_analysis()
330 new_scalar(NPY_INT, &ltpf->tc)); in from_ltpf_analysis()
/liblc3-latest/include/
Dlc3_private.h107 int tc; member