diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2009-11-09 12:06:19 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-11-09 12:06:19 +0000 |
commit | e26d1318458e598bbea796508b812917d983cef6 (patch) | |
tree | d2b8f05a95678945a3b760d1b3df8dcd66d2697f /libavcodec/lsp.h | |
parent | 91cc5d37679b112d03c20d053905c3941c0a8992 (diff) | |
download | ffmpeg-e26d1318458e598bbea796508b812917d983cef6.tar.gz |
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.h | 4 |
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 */ |