Home
last modified time | relevance | path

Searched refs:pred_order (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dflacdec.c221 static int decode_residuals(FLACContext *s, int32_t *decoded, int pred_order) in decode_residuals() argument
235 decoded += pred_order; in decode_residuals()
236 i = pred_order; in decode_residuals()
250 if (pred_order > samples) { in decode_residuals()
252 pred_order, samples); in decode_residuals()
283 int pred_order, int bps) in decode_subframe_fixed() argument
291 for (i = 0; i < pred_order; i++) { in decode_subframe_fixed()
295 if ((ret = decode_residuals(s, decoded, pred_order)) < 0) in decode_subframe_fixed()
298 if (pred_order > 0) in decode_subframe_fixed()
299 a = decoded[pred_order-1]; in decode_subframe_fixed()
[all …]
Dflacdsp.c47 int pred_order, int qlevel, int len) in flac_lpc_16_c() argument
51 for (i = pred_order; i < len - 1; i += 2, decoded += 2) { in flac_lpc_16_c()
55 for (j = 1; j < pred_order; j++) { in flac_lpc_16_c()
68 for (j = 0; j < pred_order; j++) in flac_lpc_16_c()
75 int pred_order, int qlevel, int len) in flac_lpc_32_c() argument
79 for (i = pred_order; i < len; i++, decoded++) { in flac_lpc_32_c()
81 for (j = 0; j < pred_order; j++) in flac_lpc_32_c()
Dshorten.c353 int pred_order, sum, qshift, init_sum, i, j; in decode_subframe_lpc() local
358 pred_order = get_ur_golomb_shorten(&s->gb, LPCQSIZE); in decode_subframe_lpc()
359 if ((unsigned)pred_order > s->nwrap) { in decode_subframe_lpc()
361 pred_order); in decode_subframe_lpc()
365 for (i = 0; i < pred_order; i++) in decode_subframe_lpc()
372 pred_order = command; in decode_subframe_lpc()
373 if (pred_order >= FF_ARRAY_ELEMS(fixed_coeffs)) { in decode_subframe_lpc()
375 pred_order); in decode_subframe_lpc()
378 coeffs = fixed_coeffs[pred_order]; in decode_subframe_lpc()
384 for (i = -pred_order; i < 0; i++) in decode_subframe_lpc()
[all …]
Dflacenc.c552 int pred_order) in subframe_count_exact() argument
571 count += pred_order * sub->obits; in subframe_count_exact()
575 count += 4 + 5 + pred_order * s->options.lpc_coeff_precision; in subframe_count_exact()
586 i = pred_order; in subframe_count_exact()
637 int n, int pred_order, int max_param, int exact) in calc_optimal_rice_params() argument
646 cnt = (n >> porder) - pred_order; in calc_optimal_rice_params()
665 static void calc_sum_top(int pmax, int kmax, const uint32_t *data, int n, int pred_order, in calc_sum_top() argument
676 res = &data[pred_order]; in calc_sum_top()
709 const int32_t *data, int n, int pred_order, int exact) in calc_rice_params() argument
726 calc_sum_top(pmax, exact ? kmax : 0, udata, n, pred_order, sums); in calc_rice_params()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dflacdsp.asm39 cglobal flac_lpc_32, 5,6,5, decoded, coeffs, pred_order, qlevel, len, j