Lines Matching refs:decode_rice
445 static int32_t decode_rice(GetBitContext *gb, unsigned int k)
624 s[k] = s[k - 1] + decode_rice(gb, 2);
633 s[k] = s[k - 1] + decode_rice(gb, 0);
678 quant_cof[k] = decode_rice(gb, rice_param) + offset;
684 quant_cof[k] = decode_rice(gb, 2) + (k & 1);
688 quant_cof[k] = decode_rice(gb, 1);
708 bd->ltp_gain[0] = decode_rice(gb, 1) << 3;
709 bd->ltp_gain[1] = decode_rice(gb, 2) << 3;
715 bd->ltp_gain[3] = decode_rice(gb, 2) << 3;
716 bd->ltp_gain[4] = decode_rice(gb, 1) << 3;
726 bd->raw_samples[0] = decode_rice(gb, avctx->bits_per_raw_sample - 4);
728 bd->raw_samples[1] = decode_rice(gb, FFMIN(s[0] + 3, ctx->s_max));
730 bd->raw_samples[2] = decode_rice(gb, FFMIN(s[0] + 1, ctx->s_max));
780 res = decode_rice(gb, cur_s);
810 *current_res++ = decode_rice(gb, s[sb]);
1140 current->weighting[0] = mcc_weightings[av_clip(decode_rice(gb, 1) + 16, 0, 32)];
1141 current->weighting[1] = mcc_weightings[av_clip(decode_rice(gb, 2) + 14, 0, 32)];
1142 current->weighting[2] = mcc_weightings[av_clip(decode_rice(gb, 1) + 16, 0, 32)];
1145 current->weighting[3] = mcc_weightings[av_clip(decode_rice(gb, 1) + 16, 0, 32)];
1146 current->weighting[4] = mcc_weightings[av_clip(decode_rice(gb, 1) + 16, 0, 32)];
1147 current->weighting[5] = mcc_weightings[av_clip(decode_rice(gb, 1) + 16, 0, 32)];