Lines Matching refs:LPC_ORDER
65 ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER, in ra144_encode_init()
146 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in get_match_score()
220 ff_celp_lp_synthesis_filterf(work, coefs, exc, BLOCKSIZE, LPC_ORDER); in adaptive_cb_search()
303 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in fixed_cb_search()
332 float data[BLOCKSIZE] = { 0 }, work[LPC_ORDER + BLOCKSIZE]; in ra144_encode_subblock()
333 float coefs[LPC_ORDER]; in ra144_encode_subblock()
341 for (i = 0; i < LPC_ORDER; i++) { in ra144_encode_subblock()
350 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, data, BLOCKSIZE, in ra144_encode_subblock()
351 LPC_ORDER); in ra144_encode_subblock()
353 zero[i] = work[LPC_ORDER + i]; in ra144_encode_subblock()
362 memset(work, 0, LPC_ORDER * sizeof(*work)); in ra144_encode_subblock()
364 cba_idx = adaptive_cb_search(ractx->adapt_cb, work + LPC_ORDER, coefs, in ra144_encode_subblock()
371 memcpy(cba, work + LPC_ORDER, sizeof(cba)); in ra144_encode_subblock()
376 fixed_cb_search(work + LPC_ORDER, coefs, data, cba_idx, &cb1_idx, &cb2_idx); in ra144_encode_subblock()
381 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb1, BLOCKSIZE, in ra144_encode_subblock()
382 LPC_ORDER); in ra144_encode_subblock()
383 memcpy(cb1, work + LPC_ORDER, sizeof(cb1)); in ra144_encode_subblock()
385 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb2, BLOCKSIZE, in ra144_encode_subblock()
386 LPC_ORDER); in ra144_encode_subblock()
387 memcpy(cb2, work + LPC_ORDER, sizeof(cb2)); in ra144_encode_subblock()
430 static const uint8_t sizes[LPC_ORDER] = {64, 32, 32, 16, 16, 8, 8, 8, 8, 4}; in ra144_encode_frame()
431 static const uint8_t bit_sizes[LPC_ORDER] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; in ra144_encode_frame()
435 int32_t lpc_coefs[LPC_ORDER][MAX_LPC_ORDER]; in ra144_encode_frame()
436 int shift[LPC_ORDER]; in ra144_encode_frame()
437 int16_t block_coefs[NBLOCKS][LPC_ORDER]; in ra144_encode_frame()
438 int lpc_refl[LPC_ORDER]; /**< reflection coefficients of the frame */ in ra144_encode_frame()
473 ff_lpc_calc_coefs(&ractx->lpc_ctx, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, in ra144_encode_frame()
474 LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, in ra144_encode_frame()
476 for (i = 0; i < LPC_ORDER; i++) in ra144_encode_frame()
477 block_coefs[NBLOCKS - 1][i] = -lpc_coefs[LPC_ORDER - 1][i] in ra144_encode_frame()
478 * (1 << (12 - shift[LPC_ORDER - 1])); in ra144_encode_frame()
496 for (i = 0; i < LPC_ORDER; i++) { in ra144_encode_frame()