Home
last modified time | relevance | path

Searched refs:txval (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dopusenc.c288 int txval, octave = f->pf_octave, period = f->pf_period, tapset = f->pf_tapset; in celt_enc_quant_pfilter() local
295 txval = FFMIN(octave, 6); in celt_enc_quant_pfilter()
296 ff_opus_rc_enc_uint(rc, txval, 6); in celt_enc_quant_pfilter()
297 octave = txval; in celt_enc_quant_pfilter()
299 txval = av_clip(period - (16 << octave) + 1, 0, (1 << (4 + octave)) - 1); in celt_enc_quant_pfilter()
301 period = txval + (16 << octave) - 1; in celt_enc_quant_pfilter()
303 txval = FFMIN(((int)(gain / 0.09375f)) - 1, 7); in celt_enc_quant_pfilter()
304 ff_opus_rc_put_raw(rc, txval, 3); in celt_enc_quant_pfilter()
305 gain = 0.09375f * (txval + 1); in celt_enc_quant_pfilter()

Completed in 3 milliseconds