LPC_ORDER 53 libavcodec/g723_1.c int16_t prev_lsp[LPC_ORDER]; LPC_ORDER 54 libavcodec/g723_1.c int16_t sid_lsp[LPC_ORDER]; LPC_ORDER 57 libavcodec/g723_1.c int16_t synth_mem[LPC_ORDER]; LPC_ORDER 58 libavcodec/g723_1.c int16_t fir_mem[LPC_ORDER]; LPC_ORDER 59 libavcodec/g723_1.c int iir_mem[LPC_ORDER]; LPC_ORDER 72 libavcodec/g723_1.c int16_t audio[FRAME_LEN + LPC_ORDER + PITCH_MAX + 4]; LPC_ORDER 79 libavcodec/g723_1.c int16_t perf_fir_mem[LPC_ORDER]; ///< perceptual filter fir LPC_ORDER 80 libavcodec/g723_1.c int16_t perf_iir_mem[LPC_ORDER]; ///< and iir memories LPC_ORDER 94 libavcodec/g723_1.c memcpy(p->prev_lsp, dc_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); LPC_ORDER 95 libavcodec/g723_1.c memcpy(p->sid_lsp, dc_lsp, LPC_ORDER * sizeof(*p->sid_lsp)); LPC_ORDER 303 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 308 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 310 libavcodec/g723_1.c cur_lsp[LPC_ORDER - 1] = FFMIN(cur_lsp[LPC_ORDER - 1], 0x7e00); LPC_ORDER 313 libavcodec/g723_1.c for (j = 1; j < LPC_ORDER; j++) { LPC_ORDER 322 libavcodec/g723_1.c for (j = 1; j < LPC_ORDER; j++) { LPC_ORDER 333 libavcodec/g723_1.c memcpy(cur_lsp, prev_lsp, LPC_ORDER * sizeof(*cur_lsp)); LPC_ORDER 352 libavcodec/g723_1.c int f1[LPC_ORDER / 2 + 1]; LPC_ORDER 353 libavcodec/g723_1.c int f2[LPC_ORDER / 2 + 1]; LPC_ORDER 357 libavcodec/g723_1.c for (j = 0; j < LPC_ORDER; j++) { LPC_ORDER 384 libavcodec/g723_1.c for (i = 2; i < LPC_ORDER / 2; i++) { LPC_ORDER 402 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER / 2; i++) { LPC_ORDER 407 libavcodec/g723_1.c lpc[LPC_ORDER - i - 1] = av_clipl_int32(((ff1 - ff2) << 3) + LPC_ORDER 427 libavcodec/g723_1.c 4096, 12288, 1 << 13, 14, LPC_ORDER); LPC_ORDER 428 libavcodec/g723_1.c ff_acelp_weighted_vector_sum(lpc + LPC_ORDER, cur_lsp, prev_lsp, LPC_ORDER 429 libavcodec/g723_1.c 8192, 8192, 1 << 13, 14, LPC_ORDER); LPC_ORDER 430 libavcodec/g723_1.c ff_acelp_weighted_vector_sum(lpc + 2 * LPC_ORDER, cur_lsp, prev_lsp, LPC_ORDER 431 libavcodec/g723_1.c 12288, 4096, 1 << 13, 14, LPC_ORDER); LPC_ORDER 432 libavcodec/g723_1.c memcpy(lpc + 3 * LPC_ORDER, cur_lsp, LPC_ORDER * sizeof(*lpc)); LPC_ORDER 436 libavcodec/g723_1.c lpc_ptr += LPC_ORDER; LPC_ORDER 680 libavcodec/g723_1.c int16_t *buf = p->audio + LPC_ORDER + offset; LPC_ORDER 752 libavcodec/g723_1.c int16_t *buf = p->audio + LPC_ORDER; LPC_ORDER 829 libavcodec/g723_1.c for (n = 1; n <= LPC_ORDER; n++) {\ LPC_ORDER 892 libavcodec/g723_1.c int16_t filter_coef[2][LPC_ORDER]; LPC_ORDER 893 libavcodec/g723_1.c int filter_signal[LPC_ORDER + FRAME_LEN], *signal_ptr; LPC_ORDER 896 libavcodec/g723_1.c memcpy(buf, p->fir_mem, LPC_ORDER * sizeof(*buf)); LPC_ORDER 897 libavcodec/g723_1.c memcpy(filter_signal, p->iir_mem, LPC_ORDER * sizeof(*filter_signal)); LPC_ORDER 899 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { LPC_ORDER 900 libavcodec/g723_1.c for (k = 0; k < LPC_ORDER; k++) { LPC_ORDER 908 libavcodec/g723_1.c lpc += LPC_ORDER; LPC_ORDER 911 libavcodec/g723_1.c memcpy(p->fir_mem, buf + FRAME_LEN, LPC_ORDER * sizeof(int16_t)); LPC_ORDER 912 libavcodec/g723_1.c memcpy(p->iir_mem, filter_signal + FRAME_LEN, LPC_ORDER * sizeof(int)); LPC_ORDER 914 libavcodec/g723_1.c buf += LPC_ORDER; LPC_ORDER 915 libavcodec/g723_1.c signal_ptr = filter_signal + LPC_ORDER; LPC_ORDER 1069 libavcodec/g723_1.c vector_ptr = p->audio + LPC_ORDER; LPC_ORDER 1148 libavcodec/g723_1.c memcpy(p->prev_excitation, p->audio + LPC_ORDER + FRAME_LEN, LPC_ORDER 1162 libavcodec/g723_1.c int16_t cur_lsp[LPC_ORDER]; LPC_ORDER 1163 libavcodec/g723_1.c int16_t lpc[SUBFRAMES * LPC_ORDER]; LPC_ORDER 1202 libavcodec/g723_1.c memcpy(p->prev_lsp, cur_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); LPC_ORDER 1240 libavcodec/g723_1.c ff_acelp_weighted_vector_sum(p->audio + LPC_ORDER + i, LPC_ORDER 1247 libavcodec/g723_1.c audio = vector_ptr - LPC_ORDER; LPC_ORDER 1262 libavcodec/g723_1.c (FRAME_LEN + LPC_ORDER) * sizeof(int16_t)); LPC_ORDER 1264 libavcodec/g723_1.c int16_t *buf = p->audio + LPC_ORDER; LPC_ORDER 1291 libavcodec/g723_1.c memcpy(p->prev_lsp, p->sid_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); LPC_ORDER 1296 libavcodec/g723_1.c memcpy(p->audio, p->synth_mem, LPC_ORDER * sizeof(*p->audio)); LPC_ORDER 1297 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) LPC_ORDER 1298 libavcodec/g723_1.c ff_celp_lp_synthesis_filter(p->audio + i, &lpc[j * LPC_ORDER], LPC_ORDER 1299 libavcodec/g723_1.c audio + i, SUBFRAME_LEN, LPC_ORDER, LPC_ORDER 1301 libavcodec/g723_1.c memcpy(p->synth_mem, p->audio + FRAME_LEN, LPC_ORDER * sizeof(*p->audio)); LPC_ORDER 1307 libavcodec/g723_1.c out[i] = av_clip_int16(p->audio[LPC_ORDER + i] << 1); LPC_ORDER 1373 libavcodec/g723_1.c memcpy(p->prev_lsp, dc_lsp, LPC_ORDER * sizeof(int16_t)); LPC_ORDER 1425 libavcodec/g723_1.c memset(autocorr + 1, 0, LPC_ORDER * sizeof(int16_t)); LPC_ORDER 1427 libavcodec/g723_1.c for (i = 1; i <= LPC_ORDER; i++) { LPC_ORDER 1445 libavcodec/g723_1.c int16_t vector[LPC_ORDER]; LPC_ORDER 1449 libavcodec/g723_1.c memset(lpc, 0, LPC_ORDER * sizeof(int16_t)); LPC_ORDER 1451 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 1489 libavcodec/g723_1.c int16_t autocorr[(LPC_ORDER + 1) * SUBFRAMES]; LPC_ORDER 1498 libavcodec/g723_1.c lpc_ptr += LPC_ORDER; LPC_ORDER 1499 libavcodec/g723_1.c autocorr_ptr += LPC_ORDER + 1; LPC_ORDER 1505 libavcodec/g723_1.c int f[LPC_ORDER + 2]; ///< coefficients of the sum and difference LPC_ORDER 1514 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 1521 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER / 2; i++) { LPC_ORDER 1523 libavcodec/g723_1.c f[2 * i + 2] = -f[2 * i] - ((lsp[i] + lsp[LPC_ORDER - 1 - i]) << 12); LPC_ORDER 1525 libavcodec/g723_1.c f[2 * i + 3] = f[2 * i + 1] - ((lsp[i] - lsp[LPC_ORDER - 1 - i]) << 12); LPC_ORDER 1529 libavcodec/g723_1.c f[LPC_ORDER] >>= 1; LPC_ORDER 1530 libavcodec/g723_1.c f[LPC_ORDER + 1] >>= 1; LPC_ORDER 1534 libavcodec/g723_1.c for (i = 1; i < LPC_ORDER + 2; i++) LPC_ORDER 1539 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER + 2; i++) LPC_ORDER 1548 libavcodec/g723_1.c for (i = 0; i <= LPC_ORDER / 2; i++) LPC_ORDER 1555 libavcodec/g723_1.c for (j = 0; j <= LPC_ORDER / 2; j++) LPC_ORDER 1556 libavcodec/g723_1.c temp += f[LPC_ORDER - 2 * j + p] * cos_tab[i * j % COS_TBL_SIZE]; LPC_ORDER 1570 libavcodec/g723_1.c if (count == LPC_ORDER) LPC_ORDER 1578 libavcodec/g723_1.c for (j = 0; j <= LPC_ORDER / 2; j++){ LPC_ORDER 1579 libavcodec/g723_1.c temp += f[LPC_ORDER - 2 * j + p] * LPC_ORDER 1587 libavcodec/g723_1.c if (count != LPC_ORDER) LPC_ORDER 1588 libavcodec/g723_1.c memcpy(lsp, prev_lsp, LPC_ORDER * sizeof(int16_t)); LPC_ORDER 1625 libavcodec/g723_1.c int16_t weight[LPC_ORDER]; LPC_ORDER 1631 libavcodec/g723_1.c weight[LPC_ORDER - 1] = (1 << 20) / LPC_ORDER 1632 libavcodec/g723_1.c (lsp[LPC_ORDER - 1] - lsp[LPC_ORDER - 2]); LPC_ORDER 1634 libavcodec/g723_1.c for (i = 1; i < LPC_ORDER - 1; i++) { LPC_ORDER 1644 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 1648 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 1653 libavcodec/g723_1.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 1672 libavcodec/g723_1.c int16_t vector[FRAME_LEN + LPC_ORDER]; LPC_ORDER 1675 libavcodec/g723_1.c memcpy(buf, p->iir_mem, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1676 libavcodec/g723_1.c memcpy(vector, p->fir_mem, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1677 libavcodec/g723_1.c memcpy(vector + LPC_ORDER, buf + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); LPC_ORDER 1679 libavcodec/g723_1.c for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { LPC_ORDER 1680 libavcodec/g723_1.c for (k = 0; k < LPC_ORDER; k++) { LPC_ORDER 1683 libavcodec/g723_1.c flt_coef[k + 2 * l + LPC_ORDER] = (unq_lpc[k + l] * LPC_ORDER 1687 libavcodec/g723_1.c iir_filter(flt_coef + 2 * l, flt_coef + 2 * l + LPC_ORDER, vector + i, LPC_ORDER 1689 libavcodec/g723_1.c l += LPC_ORDER; LPC_ORDER 1691 libavcodec/g723_1.c memcpy(p->iir_mem, buf + FRAME_LEN, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1692 libavcodec/g723_1.c memcpy(p->fir_mem, vector + FRAME_LEN, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1882 libavcodec/g723_1.c int16_t buf_16[SUBFRAME_LEN + LPC_ORDER]; LPC_ORDER 1885 libavcodec/g723_1.c int16_t *bptr_16 = buf_16 + LPC_ORDER; LPC_ORDER 1887 libavcodec/g723_1.c memcpy(buf_16, perf_fir, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1888 libavcodec/g723_1.c memcpy(dest - LPC_ORDER, perf_iir, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1892 libavcodec/g723_1.c for (j = 1; j <= LPC_ORDER; j++) LPC_ORDER 1901 libavcodec/g723_1.c for (j = 1; j <= LPC_ORDER; j++) { LPC_ORDER 1903 libavcodec/g723_1.c iir += perf_lpc[j + LPC_ORDER - 1] * dest[i - j]; LPC_ORDER 1908 libavcodec/g723_1.c memcpy(perf_fir, buf_16 + SUBFRAME_LEN, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 1909 libavcodec/g723_1.c memcpy(perf_iir, dest + SUBFRAME_LEN - LPC_ORDER, LPC_ORDER 1910 libavcodec/g723_1.c sizeof(int16_t) * LPC_ORDER); LPC_ORDER 2343 libavcodec/g723_1.c int16_t unq_lpc[LPC_ORDER * SUBFRAMES]; LPC_ORDER 2344 libavcodec/g723_1.c int16_t qnt_lpc[LPC_ORDER * SUBFRAMES]; LPC_ORDER 2345 libavcodec/g723_1.c int16_t cur_lsp[LPC_ORDER]; LPC_ORDER 2346 libavcodec/g723_1.c int16_t weighted_lpc[LPC_ORDER * SUBFRAMES << 1]; LPC_ORDER 2364 libavcodec/g723_1.c lpc2lsp(&unq_lpc[LPC_ORDER * 3], p->prev_lsp, cur_lsp); LPC_ORDER 2368 libavcodec/g723_1.c memcpy(vector + LPC_ORDER, p->prev_data + SUBFRAME_LEN, LPC_ORDER 2370 libavcodec/g723_1.c memcpy(vector + LPC_ORDER + SUBFRAME_LEN, in, LPC_ORDER 2374 libavcodec/g723_1.c memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); LPC_ORDER 2378 libavcodec/g723_1.c memcpy(in, vector + LPC_ORDER, sizeof(int16_t) * FRAME_LEN); LPC_ORDER 2400 libavcodec/g723_1.c memcpy(p->prev_lsp, cur_lsp, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 2407 libavcodec/g723_1.c int16_t zero[LPC_ORDER], fir[LPC_ORDER], iir[LPC_ORDER]; LPC_ORDER 2413 libavcodec/g723_1.c memset(zero, 0, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 2424 libavcodec/g723_1.c memcpy(fir, p->perf_fir_mem, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 2425 libavcodec/g723_1.c memcpy(iir, p->perf_iir_mem, sizeof(int16_t) * LPC_ORDER); LPC_ORDER 2460 libavcodec/g723_1.c offset += LPC_ORDER; LPC_ORDER 115 libavcodec/g723_1_data.h static const int16_t dc_lsp[LPC_ORDER] = { LPC_ORDER 1268 libavcodec/g723_1_data.h static const int16_t postfilter_tbl[2][LPC_ORDER] = { LPC_ORDER 1302 libavcodec/g723_1_data.h static const int16_t binomial_window[LPC_ORDER] = { LPC_ORDER 1309 libavcodec/g723_1_data.h static const int16_t bandwidth_expand[LPC_ORDER] = { LPC_ORDER 1316 libavcodec/g723_1_data.h static const int16_t percept_flt_tbl[2][LPC_ORDER] = { LPC_ORDER 1548 libavcodec/ra144.c int buffer1[LPC_ORDER]; LPC_ORDER 1549 libavcodec/ra144.c int buffer2[LPC_ORDER]; LPC_ORDER 1553 libavcodec/ra144.c for (i=0; i < LPC_ORDER; i++) LPC_ORDER 1556 libavcodec/ra144.c refl[LPC_ORDER-1] = bp2[LPC_ORDER-1]; LPC_ORDER 1558 libavcodec/ra144.c if ((unsigned) bp2[LPC_ORDER-1] + 0x1000 > 0x1fff) { LPC_ORDER 1563 libavcodec/ra144.c for (i = LPC_ORDER-2; i >= 0; i--) { LPC_ORDER 1595 libavcodec/ra144.c int buffer[LPC_ORDER]; LPC_ORDER 1600 libavcodec/ra144.c for (i=0; i < LPC_ORDER; i++) { LPC_ORDER 1609 libavcodec/ra144.c for (i=0; i < LPC_ORDER; i++) LPC_ORDER 1617 libavcodec/ra144.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 1640 libavcodec/ra144.c int b = LPC_ORDER; LPC_ORDER 1642 libavcodec/ra144.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 1659 libavcodec/ra144.c int work[LPC_ORDER]; LPC_ORDER 1665 libavcodec/ra144.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 1719 libavcodec/ra144.c LPC_ORDER*sizeof(*ractx->curr_sblock)); LPC_ORDER 1721 libavcodec/ra144.c if (ff_celp_lp_synthesis_filter(ractx->curr_sblock + LPC_ORDER, lpc_coefs, LPC_ORDER 1722 libavcodec/ra144.c block, BLOCKSIZE, LPC_ORDER, 1, 0, 0xfff)) LPC_ORDER 1723 libavcodec/ra144.c memset(ractx->curr_sblock, 0, (LPC_ORDER+BLOCKSIZE)*sizeof(*ractx->curr_sblock)); LPC_ORDER 68 libavcodec/ra144dec.c static const uint8_t sizes[LPC_ORDER] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; LPC_ORDER 70 libavcodec/ra144dec.c int16_t block_coefs[NBLOCKS][LPC_ORDER]; // LPC coefficients of each sub-block LPC_ORDER 71 libavcodec/ra144dec.c unsigned int lpc_refl[LPC_ORDER]; // LPC reflection coefficients of the frame LPC_ORDER 95 libavcodec/ra144dec.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 65 libavcodec/ra144enc.c ret = ff_lpc_init(&ractx->lpc_ctx, avctx->frame_size, LPC_ORDER, LPC_ORDER 149 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); LPC_ORDER 223 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work, coefs, exc, BLOCKSIZE, LPC_ORDER); LPC_ORDER 306 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work, coefs, vect, BLOCKSIZE, LPC_ORDER); LPC_ORDER 335 libavcodec/ra144enc.c float data[BLOCKSIZE] = { 0 }, work[LPC_ORDER + BLOCKSIZE]; LPC_ORDER 336 libavcodec/ra144enc.c float coefs[LPC_ORDER]; LPC_ORDER 344 libavcodec/ra144enc.c for (i = 0; i < LPC_ORDER; i++) { LPC_ORDER 353 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, data, BLOCKSIZE, LPC_ORDER 354 libavcodec/ra144enc.c LPC_ORDER); LPC_ORDER 356 libavcodec/ra144enc.c zero[i] = work[LPC_ORDER + i]; LPC_ORDER 365 libavcodec/ra144enc.c memset(work, 0, LPC_ORDER * sizeof(*work)); LPC_ORDER 367 libavcodec/ra144enc.c cba_idx = adaptive_cb_search(ractx->adapt_cb, work + LPC_ORDER, coefs, LPC_ORDER 374 libavcodec/ra144enc.c memcpy(cba, work + LPC_ORDER, sizeof(cba)); LPC_ORDER 379 libavcodec/ra144enc.c fixed_cb_search(work + LPC_ORDER, coefs, data, cba_idx, &cb1_idx, &cb2_idx); LPC_ORDER 384 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb1, BLOCKSIZE, LPC_ORDER 385 libavcodec/ra144enc.c LPC_ORDER); LPC_ORDER 386 libavcodec/ra144enc.c memcpy(cb1, work + LPC_ORDER, sizeof(cb1)); LPC_ORDER 388 libavcodec/ra144enc.c ff_celp_lp_synthesis_filterf(work + LPC_ORDER, coefs, cb2, BLOCKSIZE, LPC_ORDER 389 libavcodec/ra144enc.c LPC_ORDER); LPC_ORDER 390 libavcodec/ra144enc.c memcpy(cb2, work + LPC_ORDER, sizeof(cb2)); LPC_ORDER 433 libavcodec/ra144enc.c static const uint8_t sizes[LPC_ORDER] = {64, 32, 32, 16, 16, 8, 8, 8, 8, 4}; LPC_ORDER 434 libavcodec/ra144enc.c static const uint8_t bit_sizes[LPC_ORDER] = {6, 5, 5, 4, 4, 3, 3, 3, 3, 2}; LPC_ORDER 438 libavcodec/ra144enc.c int32_t lpc_coefs[LPC_ORDER][MAX_LPC_ORDER]; LPC_ORDER 439 libavcodec/ra144enc.c int shift[LPC_ORDER]; LPC_ORDER 440 libavcodec/ra144enc.c int16_t block_coefs[NBLOCKS][LPC_ORDER]; LPC_ORDER 441 libavcodec/ra144enc.c int lpc_refl[LPC_ORDER]; /**< reflection coefficients of the frame */ LPC_ORDER 476 libavcodec/ra144enc.c ff_lpc_calc_coefs(&ractx->lpc_ctx, lpc_data, NBLOCKS * BLOCKSIZE, LPC_ORDER, LPC_ORDER 477 libavcodec/ra144enc.c LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, LPC_ORDER 479 libavcodec/ra144enc.c for (i = 0; i < LPC_ORDER; i++) LPC_ORDER 480 libavcodec/ra144enc.c block_coefs[NBLOCKS - 1][i] = -(lpc_coefs[LPC_ORDER - 1][i] << LPC_ORDER 481 libavcodec/ra144enc.c (12 - shift[LPC_ORDER - 1])); LPC_ORDER 499 libavcodec/ra144enc.c for (i = 0; i < LPC_ORDER; i++) {