Mercurial > libavcodec.hg
diff lsp.h @ 12464:2dd67ed2f947 libavcodec
Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.
Patch by Marcelo Galvo Pvoa
author | vitor |
---|---|
date | Tue, 07 Sep 2010 20:44:41 +0000 |
parents | 0885e7a93ed4 |
children | 1921e24d5886 |
line wrap: on
line diff
--- a/lsp.h Tue Sep 07 19:54:48 2010 +0000 +++ b/lsp.h Tue Sep 07 20:44:41 2010 +0000 @@ -63,6 +63,11 @@ void ff_acelp_lsf2lsp(int16_t *lsp, const int16_t *lsf, int lp_order); /** + * Floating point version of ff_acelp_lsf2lsp() + */ +void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order); + +/** * \brief LSP to LP conversion (3.2.6 of G.729) * \param[out] lp decoded LP coefficients (-0x8000 <= (3.12) < 0x8000) * \param lsp LSP coefficients (-0x8000 <= (0.15) < 0x8000)