aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lsp.h
diff options
context:
space:
mode:
authorMarcelo Galvăo Póvoa <marspeoplester@gmail.com>2010-09-07 20:46:29 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-09-07 20:46:29 +0000
commit48ac225db2563fe534b1d9e999bf8e70d5a577f8 (patch)
treeaed733027f03e4d14b906a7c70b450a7eb681340 /libavcodec/lsp.h
parent1d96cc08652072730e64ecb45df81b608a015a38 (diff)
downloadffmpeg-48ac225db2563fe534b1d9e999bf8e70d5a577f8.tar.gz
Move lsp2lpc_sipr() function to common code so it can be reused in a
AMRWB decoder. Patch by Marcelo Galvăo Póvoa. Originally committed as revision 25062 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 2c22058062..e3af30d300 100644
--- a/libavcodec/lsp.h
+++ b/libavcodec/lsp.h
@@ -76,6 +76,11 @@ void ff_acelp_lsf2lspd(double *lsp, const float *lsf, int lp_order);
void ff_acelp_lsp2lpc(int16_t* lp, const int16_t* lsp, int lp_half_order);
/**
+ * LSP to LP conversion (5.2.4 of AMR-WB)
+ */
+void ff_amrwb_lsp2lpc(const double *lsp, float *lp, int lp_order);
+
+/**
* \brief Interpolate LSP for the first subframe and convert LSP -> LP for both subframes (3.2.5 and 3.2.6 of G.729)
* \param[out] lp_1st decoded LP coefficients for first subframe (-0x8000 <= (3.12) < 0x8000)
* \param[out] lp_2nd decoded LP coefficients for second subframe (-0x8000 <= (3.12) < 0x8000)