• Home
  • Raw
  • Download

Lines Matching refs:LPC_ORDER

102 static const int16_t postfilter_tbl[2][LPC_ORDER] = {
130 memcpy(p->prev_lsp, dc_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); in g723_1_decode_init()
131 memcpy(p->sid_lsp, dc_lsp, LPC_ORDER * sizeof(*p->sid_lsp)); in g723_1_decode_init()
445 int16_t *buf = p->audio + LPC_ORDER + offset; in comp_ppf_coeff()
519 int16_t *buf = p->audio + LPC_ORDER; in comp_interp_index()
597 for (n = 1; n <= LPC_ORDER; n++) {\
660 int16_t filter_coef[2][LPC_ORDER]; in formant_postfilter()
661 int filter_signal[LPC_ORDER + FRAME_LEN], *signal_ptr; in formant_postfilter()
664 memcpy(buf, p->fir_mem, LPC_ORDER * sizeof(*buf)); in formant_postfilter()
665 memcpy(filter_signal, p->iir_mem, LPC_ORDER * sizeof(*filter_signal)); in formant_postfilter()
667 for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) { in formant_postfilter()
668 for (k = 0; k < LPC_ORDER; k++) { in formant_postfilter()
675 lpc += LPC_ORDER; in formant_postfilter()
678 memcpy(p->fir_mem, buf + FRAME_LEN, LPC_ORDER * sizeof(int16_t)); in formant_postfilter()
679 memcpy(p->iir_mem, filter_signal + FRAME_LEN, LPC_ORDER * sizeof(int)); in formant_postfilter()
681 buf += LPC_ORDER; in formant_postfilter()
682 signal_ptr = filter_signal + LPC_ORDER; in formant_postfilter()
844 vector_ptr = p->audio + LPC_ORDER; in generate_noise()
923 memcpy(p->prev_excitation, p->audio + LPC_ORDER + FRAME_LEN, in generate_noise()
937 int16_t cur_lsp[LPC_ORDER]; in g723_1_decode_frame()
938 int16_t lpc[SUBFRAMES * LPC_ORDER]; in g723_1_decode_frame()
981 memcpy(p->prev_lsp, cur_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); in g723_1_decode_frame()
1020 ff_acelp_weighted_vector_sum(p->audio + LPC_ORDER + i, in g723_1_decode_frame()
1027 audio = vector_ptr - LPC_ORDER; in g723_1_decode_frame()
1042 (FRAME_LEN + LPC_ORDER) * sizeof(int16_t)); in g723_1_decode_frame()
1044 int16_t *buf = p->audio + LPC_ORDER; in g723_1_decode_frame()
1071 memcpy(p->prev_lsp, p->sid_lsp, LPC_ORDER * sizeof(*p->prev_lsp)); in g723_1_decode_frame()
1076 memcpy(p->audio, p->synth_mem, LPC_ORDER * sizeof(*p->audio)); in g723_1_decode_frame()
1077 for (i = LPC_ORDER, j = 0; j < SUBFRAMES; i += SUBFRAME_LEN, j++) in g723_1_decode_frame()
1078 ff_celp_lp_synthesis_filter(p->audio + i, &lpc[j * LPC_ORDER], in g723_1_decode_frame()
1079 audio + i, SUBFRAME_LEN, LPC_ORDER, in g723_1_decode_frame()
1081 memcpy(p->synth_mem, p->audio + FRAME_LEN, LPC_ORDER * sizeof(*p->audio)); in g723_1_decode_frame()
1087 out[i] = av_clip_int16(2 * p->audio[LPC_ORDER + i]); in g723_1_decode_frame()