summaryrefslogtreecommitdiff
path: root/libavcodec/lsp.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-11-09 12:06:19 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-11-09 12:06:19 +0000
commite26d1318458e598bbea796508b812917d983cef6 (patch)
treed2b8f05a95678945a3b760d1b3df8dcd66d2697f /libavcodec/lsp.h
parent91cc5d37679b112d03c20d053905c3941c0a8992 (diff)
Do not hardcode filter order in ff_acelp_lspd2lpc()
Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lsp.h')
-rw-r--r--libavcodec/lsp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/lsp.h b/libavcodec/lsp.h
index 9aee5fad7d..7201d5015b 100644
--- a/libavcodec/lsp.h
+++ b/libavcodec/lsp.h
@@ -86,8 +86,10 @@ void ff_acelp_lp_decode(int16_t* lp_1st, int16_t* lp_2nd, const int16_t* lsp_2nd
* @param lsp line spectral pairs in cosine domain
* @param lpc linear predictive coding coefficients
*
+ * @note buffers should have a minimux size of 2*lp_half_order elements.
+ *
* TIA/EIA/IS-733 2.4.3.3.5
*/
-void ff_acelp_lspd2lpc(const double *lsp, float *lpc);
+void ff_acelp_lspd2lpc(const double *lsp, float *lpc, int lp_half_order);
#endif /* AVCODEC_LSP_H */