Home
last modified time | relevance | path

Searched refs:lpc_order (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dalacenc.c57 int lpc_order; member
160 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 …]
Dalac.c176 int lpc_order, int lpc_quant) in lpc_prediction() argument
187 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() local
312 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 …]
Dwmalosslessdec.c173 int lpc_order; member
569 s->lpc_order = get_bits(&s->gb, 5) + 1; in decode_lpc()
574 for (i = 0; i < s->lpc_order; i++) in decode_lpc()
Dopus_silk.c307 int *lpc_order, int *has_lpc_leadin, int voiced) in silk_decode_lpc() argument
315 *lpc_order = order = s->wb ? 16 : 10; in silk_decode_lpc()