Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dflacdec.c224 int i, tmp, partition, method_type, rice_order; in decode_residuals() local
229 rice_order = get_bits(&gb, 4); in decode_residuals()
231 samples = s->blocksize >> rice_order; in decode_residuals()
244 if (samples << rice_order != s->blocksize) { in decode_residuals()
246 rice_order, s->blocksize); in decode_residuals()
256 for (partition = 0; partition < (1 << rice_order); partition++) { in decode_residuals()
Dproresenc_kostya.c378 unsigned int rice_order, exp_order, switch_bits, switch_val; in encode_vlc_codeword() local
383 rice_order = codebook >> 5; /* rice code order */ in encode_vlc_codeword()
386 switch_val = switch_bits << rice_order; in encode_vlc_codeword()
395 exponent = val >> rice_order; in encode_vlc_codeword()
400 if (rice_order) in encode_vlc_codeword()
401 put_sbits(pb, rice_order, val); in encode_vlc_codeword()
629 unsigned int rice_order, exp_order, switch_bits, switch_val; in estimate_vlc() local
634 rice_order = codebook >> 5; /* rice code order */ in estimate_vlc()
637 switch_val = switch_bits << rice_order; in estimate_vlc()
645 return (val >> rice_order) + rice_order + 1; in estimate_vlc()
Dproresdec2.c433 unsigned int rice_order, exp_order, switch_bits; \
441 rice_order = codebook >> 5; \
451 ((switch_bits + 1) << rice_order); \
453 } else if (rice_order) { \
455 val = (q << rice_order) + SHOW_UBITS(re, gb, rice_order); \
456 SKIP(re, gb, rice_order); \
Dproresenc_anatoliy.c204 unsigned int rice_order, exp_order, switch_bits, first_exp, exp, zeros; in encode_codeword() local
208 rice_order = codebook >> 5; in encode_codeword()
211 first_exp = ((switch_bits + 1) << rice_order); in encode_codeword()
220 } else if (rice_order) { in encode_codeword()
221 put_bits(pb, (val >> rice_order), 0); in encode_codeword()
223 put_sbits(pb, rice_order, val); in encode_codeword()