Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dproresenc_kostya.c378 unsigned int rice_order, exp_order, switch_bits, switch_val; in encode_vlc_codeword() local
384 exp_order = (codebook >> 2) & 7; /* exp golomb code order */ in encode_vlc_codeword()
389 val -= switch_val - (1 << exp_order); in encode_vlc_codeword()
392 put_bits(pb, exponent - exp_order + switch_bits, 0); in encode_vlc_codeword()
629 unsigned int rice_order, exp_order, switch_bits, switch_val; in estimate_vlc() local
635 exp_order = (codebook >> 2) & 7; /* exp golomb code order */ in estimate_vlc()
640 val -= switch_val - (1 << exp_order); in estimate_vlc()
643 return exponent * 2 - exp_order + switch_bits + 1; in estimate_vlc()
Dproresdec2.c433 unsigned int rice_order, exp_order, switch_bits; \
442 exp_order = (codebook >> 2) & 7; \
447 bits = exp_order - switch_bits + (q<<1); \
450 val = SHOW_UBITS(re, gb, bits) - (1 << exp_order) + \
Dproresenc_anatoliy.c204 unsigned int rice_order, exp_order, switch_bits, first_exp, exp, zeros; in encode_codeword() local
209 exp_order = (codebook >> 2) & 7; in encode_codeword()
215 val += (1 << exp_order); in encode_codeword()
217 zeros = exp - exp_order + switch_bits + 1; in encode_codeword()