Lines Matching refs:tmpk
517 int tmpk;
522 tmpk = range_decode_bits(ctx, 5);
525 tmpk = (rice->k < 1) ? 0 : rice->k - 1;
527 if (tmpk <= 16 || ctx->fileversion < 3910) {
528 if (tmpk > 23) {
529 av_log(ctx->avctx, AV_LOG_ERROR, "Too many bits: %d\n", tmpk);
532 x = range_decode_bits(ctx, tmpk);
533 } else if (tmpk <= 31) {
535 x |= (range_decode_bits(ctx, tmpk - 16) << 16);
537 av_log(ctx->avctx, AV_LOG_ERROR, "Too many bits: %d\n", tmpk);
540 x += overflow << tmpk;