Searched refs:lpc_order (Results 1 – 4 of 4) sorted by relevance
57 int lpc_order; member160 s->lpc[ch].lpc_order = 6; in calc_predictor_params()178 s->lpc[ch].lpc_order = opt_order; in calc_predictor_params()263 if (lpc.lpc_order == 31) { in alac_linear_predictor()276 if (lpc.lpc_order > 0) { in alac_linear_predictor()281 for (i = 1; i <= lpc.lpc_order; i++) in alac_linear_predictor()285 for (i = lpc.lpc_order + 1; i < s->frame_size; i++) { in alac_linear_predictor()288 for (j = 0; j < lpc.lpc_order; j++) { in alac_linear_predictor()289 sum += (samples[lpc.lpc_order-j] - samples[0]) * in alac_linear_predictor()295 residual[i] = sign_extend(samples[lpc.lpc_order+1] - sum, in alac_linear_predictor()[all …]
176 int lpc_order, int lpc_quant) in lpc_prediction() argument187 if (!lpc_order) { in lpc_prediction()193 if (lpc_order == 31) { in lpc_prediction()203 for (i = 1; i <= lpc_order && i < nb_samples; i++) in lpc_prediction()216 for (j = 0; j < lpc_order; j++) in lpc_prediction()225 for (j = 0; j < lpc_order && (int)(error_val * error_sign) > 0; j++) { in lpc_prediction()291 int lpc_order[2]; in decode_element() local312 lpc_order[ch] = get_bits(&alac->gb, 5); in decode_element()314 if (lpc_order[ch] >= alac->max_samples_per_frame || !lpc_quant[ch]) in decode_element()318 for (i = lpc_order[ch] - 1; i >= 0; i--) in decode_element()[all …]
173 int lpc_order; member569 s->lpc_order = get_bits(&s->gb, 5) + 1; in decode_lpc()574 for (i = 0; i < s->lpc_order; i++) in decode_lpc()
307 int *lpc_order, int *has_lpc_leadin, int voiced) in silk_decode_lpc() argument315 *lpc_order = order = s->wb ? 16 : 10; in silk_decode_lpc()