Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dopus_silk.c311 int8_t lsf_i1, lsf_i2[16]; // stage-1 and stage-2 codebook indices in silk_decode_lpc() local
322 lsf_i2[i] = ff_opus_rc_dec_cdf(rc, ff_silk_model_lsf_s2[index]) - 4; in silk_decode_lpc()
323 if (lsf_i2[i] == -4) in silk_decode_lpc()
324 lsf_i2[i] -= ff_opus_rc_dec_cdf(rc, ff_silk_model_lsf_s2_ext); in silk_decode_lpc()
325 else if (lsf_i2[i] == 4) in silk_decode_lpc()
326 lsf_i2[i] += ff_opus_rc_dec_cdf(rc, ff_silk_model_lsf_s2_ext); in silk_decode_lpc()
333 lsf_res[i] = lsf_i2[i] * 1024; in silk_decode_lpc()
334 if (lsf_i2[i] < 0) lsf_res[i] += 102; in silk_decode_lpc()
335 else if (lsf_i2[i] > 0) lsf_res[i] -= 102; in silk_decode_lpc()