Home
last modified time | relevance | path

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

/liblc3-latest/src/
Dspec.c333 uint8_t state = 0; in compute_nbits() local
350 const uint8_t *lut = lut_coeff[state]; in compute_nbits()
394 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in compute_nbits()
428 uint8_t state = 0; in put_quantized() local
439 const uint8_t *lut = lut_coeff[state]; in put_quantized()
483 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in put_quantized()
508 uint8_t state = 0; in get_quantized() local
515 const uint8_t *lut = lut_coeff[state]; in get_quantized()
560 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in get_quantized()
/liblc3-latest/test/
Dltpf.py489 state = initial_hp50_state()
493 y = lc3.ltpf_resample(dt, sr, state, x, y)
500 y = lc3.ltpf_resample(dt, sr, state, x, y)
587 state = initial_state()
590 (pitch_present, data) = lc3.ltpf_analyse(dt, sr, state, x)
592 ok = ok and C.T_CURR[i0][0] - state['tc'] == 17
593 ok = ok and np.amax(np.abs(state['nc'][0] - C.NC_LTPF[i0][0])) < 1e-5
599 (pitch_present, data) = lc3.ltpf_analyse(dt, sr, state, x)
601 ok = ok and C.T_CURR[i0][1] - state['tc'] == 17
602 ok = ok and np.amax(np.abs(state['nc'][0] - C.NC_LTPF[i0][1])) < 1e-5
[all …]
Dattdet.py158 state = initial_state()
161 f_att = lc3.attdet_run(dt, sr, C.NBYTES_ATT[i0], state, x)
165 f_att = lc3.attdet_run(dt, sr, C.NBYTES_ATT[i0], state, x)
/liblc3-latest/python/
DLICENSE131 5. Submission of Contributions. Unless You explicitly state otherwise,
/liblc3-latest/
DLICENSE131 5. Submission of Contributions. Unless You explicitly state otherwise,