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.c377 unsigned int rice_order, exp_order, switch_bits, switch_val; in encode_vlc_codeword() local
382 rice_order = codebook >> 5; /* rice code order */ in encode_vlc_codeword()
385 switch_val = switch_bits << rice_order; in encode_vlc_codeword()
394 exponent = val >> rice_order; in encode_vlc_codeword()
399 if (rice_order) in encode_vlc_codeword()
400 put_sbits(pb, rice_order, val); in encode_vlc_codeword()
643 unsigned int rice_order, exp_order, switch_bits, switch_val; in estimate_vlc() local
648 rice_order = codebook >> 5; /* rice code order */ in estimate_vlc()
651 switch_val = switch_bits << rice_order; in estimate_vlc()
659 return (val >> rice_order) + rice_order + 1; in estimate_vlc()
Dproresdec2.c407 unsigned int rice_order, exp_order, switch_bits; \
415 rice_order = codebook >> 5; \
425 ((switch_bits + 1) << rice_order); \
427 } else if (rice_order) { \
429 val = (q << rice_order) + SHOW_UBITS(re, gb, rice_order); \
430 SKIP(re, gb, rice_order); \
Dproresenc_anatoliy.c202 unsigned int rice_order, exp_order, switch_bits, first_exp, exp, zeros; in encode_codeword() local
206 rice_order = codebook >> 5; in encode_codeword()
209 first_exp = ((switch_bits + 1) << rice_order); in encode_codeword()
218 } else if (rice_order) { in encode_codeword()
219 put_bits(pb, (val >> rice_order), 0); in encode_codeword()
221 put_sbits(pb, rice_order, val); in encode_codeword()