Lines Matching defs:quant
593 put_bits(&pb, 1, 0); // XXX FIXME: no custom tap quant table
634 int i, j, ch, quant = 0, x = 0;
721 quant = (int)(BASE_QUANT*s->quantization*energy2/SAMPLE_FACTOR);
722 // av_log(avctx, AV_LOG_DEBUG, "quant: %d energy: %f / %f\n", quant, energy1, energy2);
724 if (quant < 1)
725 quant = 1;
726 if (quant > 65535)
727 quant = 65535;
729 set_ue_golomb(&pb, quant);
731 quant *= SAMPLE_FACTOR;
739 s->coded_samples[ch][i] = divide(s->coded_samples[ch][i], quant);
799 av_log(avctx, AV_LOG_INFO, "Custom quant table\n");
858 int i, quant, ch, j;
874 quant = 1;
876 quant = get_ue_golomb(&gb) * SAMPLE_FACTOR;
878 // av_log(NULL, AV_LOG_INFO, "quant: %d\n", quant);
896 s->int_samples[x] = predictor_calc_error(s->predictor_k, s->predictor_state[ch], s->num_taps, s->coded_samples[ch][i] * quant);