summaryrefslogtreecommitdiff
path: root/libavcodec/lsp.h
diff options
context:
space:
mode:
authorMarcelo Galvăo Póvoa <marspeoplester@gmail.com>2010-09-07 20:44:41 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-09-07 20:44:41 +0000
commit1d96cc08652072730e64ecb45df81b608a015a38 (patch)
treea685761cce72c9d4acde9a2e08620a7c454ff9a6 /libavcodec/lsp.h
parentb33451eeacaa31a7b4f15daf3f106763a4093aa0 (diff)
Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.
Patch by Marcelo Galvăo Póvoa Originally committed as revision 25061 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lsp.h')
-rw-r--r--libavcodec/lsp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/lsp.h b/libavcodec/lsp.h
index 5ee5c277bc..2c22058062 100644
--- a/libavcodec/lsp.h
+++ b/libavcodec/lsp.h
@@ -63,6 +63,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)
* \param lsp LSP coefficients (-0x8000 <= (0.15) < 0x8000)