comparison lsp.h @ 12465:1921e24d5886 libavcodec

Move lsp2lpc_sipr() function to common code so it can be reused in a AMRWB decoder. Patch by Marcelo Galvo Pvoa.
author vitor
date Tue, 07 Sep 2010 20:46:29 +0000
parents 2dd67ed2f947
children
comparison
equal deleted inserted replaced
12464:2dd67ed2f947 12465:1921e24d5886
74 * \param lp_half_order LP filter order, divided by 2 74 * \param lp_half_order LP filter order, divided by 2
75 */ 75 */
76 void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order); 76 void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order);
77 77
78 /** 78 /**
79 * LSP to LP conversion (5.2.4 of AMR-WB)
80 */
81 void ff_amrwb_lsp2lpc(const double *lsp, float *lp, int lp_order);
82
83 /**
79 * \brief Interpolate LSP for the first subframe and convert LSP -> LP for both subframes (3.2.5 and 3.2.6 of G.729) 84 * \brief Interpolate LSP for the first subframe and convert LSP -> LP for both subframes (3.2.5 and 3.2.6 of G.729)
80 * \param[out] lp_1st decoded LP coefficients for first subframe (-0x8000 <= (3.12) < 0x8000) 85 * \param[out] lp_1st decoded LP coefficients for first subframe (-0x8000 <= (3.12) < 0x8000)
81 * \param[out] lp_2nd decoded LP coefficients for second subframe (-0x8000 <= (3.12) < 0x8000) 86 * \param[out] lp_2nd decoded LP coefficients for second subframe (-0x8000 <= (3.12) < 0x8000)
82 * \param lsp_2nd LSP coefficients of the second subframe (-0x8000 <= (0.15) < 0x8000) 87 * \param lsp_2nd LSP coefficients of the second subframe (-0x8000 <= (0.15) < 0x8000)
83 * \param lsp_prev LSP coefficients from the second subframe of the previous frame (-0x8000 <= (0.15) < 0x8000) 88 * \param lsp_prev LSP coefficients from the second subframe of the previous frame (-0x8000 <= (0.15) < 0x8000)