Lines Matching refs:quant_cof
217 int32_t **quant_cof; ///< quantized parcor coefficients for a channel
243 int32_t *quant_cof; ///< quantized parcor coefficients
606 int32_t *quant_cof = bd->quant_cof;
689 quant_cof[0] = 32 * parcor_scaled_values[get_bits(gb, 7)];
693 quant_cof[1] = -32 * parcor_scaled_values[get_bits(gb, 7)];
697 quant_cof[k] = get_bits(gb, 7);
707 quant_cof[k] = decode_rice(gb, rice_param) + offset;
708 if (quant_cof[k] < -64 || quant_cof[k] > 63) {
709 av_log(avctx, AV_LOG_ERROR, "quant_cof %d is out of range\n", quant_cof[k]);
717 quant_cof[k] = decode_rice(gb, 2) + (k & 1);
721 quant_cof[k] = decode_rice(gb, 1);
723 quant_cof[0] = 32 * parcor_scaled_values[quant_cof[0] + 64];
726 quant_cof[1] = -32 * parcor_scaled_values[quant_cof[1] + 64];
730 quant_cof[k] = (quant_cof[k] << 14) + (add_base << 13);
864 int32_t *quant_cof = bd->quant_cof;
899 parcor_to_lpc(smp, quant_cof, lpc_cof);
903 parcor_to_lpc(k, quant_cof, lpc_cof);
1055 bd.quant_cof = ctx->quant_cof[0];
1098 bd[0].quant_cof = ctx->quant_cof[0];
1111 bd[1].quant_cof = ctx->quant_cof[0];
1245 bd->quant_cof = ctx->quant_cof[c];
1385 bd.quant_cof = ctx->quant_cof[c];
1408 bd.quant_cof = ctx->quant_cof[c];
1572 av_freep(&ctx->quant_cof);
1640 ctx->quant_cof = av_malloc(sizeof(*ctx->quant_cof) * num_buffers);
1649 if (!ctx->quant_cof || !ctx->lpc_cof ||
1658 ctx->quant_cof[c] = ctx->quant_cof_buffer + c * sconf->max_order;