From 1d96cc08652072730e64ecb45df81b608a015a38 Mon Sep 17 00:00:00 2001 From: Marcelo Galvăo Póvoa Date: Tue, 7 Sep 2010 20:44:41 +0000 Subject: Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Marcelo Galvăo Póvoa Originally committed as revision 25061 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/lsp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/lsp.h') diff --git a/libavcodec/lsp.h b/libavcodec/lsp.h index 5ee5c277bc..2c22058062 100644 --- a/libavcodec/lsp.h +++ b/libavcodec/lsp.h @@ -62,6 +62,11 @@ void ff_set_min_dist_lsf(float *lsf, double min_spacing, int size); */ 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) -- cgit v1.2.3