• Home
  • Raw
  • Download

Lines Matching refs:LPC_ORDER

65     ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER,  in ra144_encode_init()
149 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in get_match_score()
223 ff_celp_lp_synthesis_filterf(work, coefs, exc, BLOCKSIZE, LPC_ORDER); in adaptive_cb_search()
306 ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); in fixed_cb_search()
335 float data[BLOCKSIZE] = { 0 }, work[LPC_ORDER + BLOCKSIZE]; in ra144_encode_subblock()
336 float coefs[LPC_ORDER]; in ra144_encode_subblock()
344 for (i = 0; i < LPC_ORDER; i++) { in ra144_encode_subblock()
353 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, data, BLOCKSIZE, in ra144_encode_subblock()
354 LPC_ORDER); in ra144_encode_subblock()
356 zero[i] = work[LPC_ORDER + i]; in ra144_encode_subblock()
365 memset(work, 0, LPC_ORDER * sizeof(*work)); in ra144_encode_subblock()
367 cba_idx = adaptive_cb_search(ractx->adapt_cb, work + LPC_ORDER, coefs, in ra144_encode_subblock()
374 memcpy(cba, work + LPC_ORDER, sizeof(cba)); in ra144_encode_subblock()
379 fixed_cb_search(work + LPC_ORDER, coefs, data, cba_idx, &cb1_idx, &cb2_idx); in ra144_encode_subblock()
384 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb1, BLOCKSIZE, in ra144_encode_subblock()
385 LPC_ORDER); in ra144_encode_subblock()
386 memcpy(cb1, work + LPC_ORDER, sizeof(cb1)); in ra144_encode_subblock()
388 ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb2, BLOCKSIZE, in ra144_encode_subblock()
389 LPC_ORDER); in ra144_encode_subblock()
390 memcpy(cb2, work + LPC_ORDER, sizeof(cb2)); in ra144_encode_subblock()
433 static const uint8_t sizes[LPC_ORDER] = {64, 32, 32, 16, 16, 8, 8, 8, 8, 4}; in ra144_encode_frame()
434 static const uint8_t bit_sizes[LPC_ORDER] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; in ra144_encode_frame()
438 int32_t lpc_coefs[LPC_ORDER][MAX_LPC_ORDER]; in ra144_encode_frame()
439 int shift[LPC_ORDER]; in ra144_encode_frame()
440 int16_t block_coefs[NBLOCKS][LPC_ORDER]; in ra144_encode_frame()
441 int lpc_refl[LPC_ORDER]; /**< reflection coefficients of the frame */ in ra144_encode_frame()
476 ff_lpc_calc_coefs(&ractx->lpc_ctx, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, in ra144_encode_frame()
477 LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, in ra144_encode_frame()
479 for (i = 0; i < LPC_ORDER; i++) in ra144_encode_frame()
480 block_coefs[NBLOCKS - 1][i] = -lpc_coefs[LPC_ORDER - 1][i] in ra144_encode_frame()
481 * (1 << (12 - shift[LPC_ORDER - 1])); in ra144_encode_frame()
499 for (i = 0; i < LPC_ORDER; i++) { in ra144_encode_frame()