Searched refs:exp_order (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | proresenc_kostya.c | 378 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()
|
D | proresdec2.c | 433 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) + \
|
D | proresenc_anatoliy.c | 204 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()
|