Mercurial > libavcodec.hg
diff lsp.h @ 10502:f132cde57bbe libavcodec
Do not hardcode filter order in ff_acelp_lspd2lpc()
author | vitor |
---|---|
date | Mon, 09 Nov 2009 12:06:19 +0000 |
parents | 9f35b262d3f0 |
children | a1d84a5cf21d |
line wrap: on
line diff
--- a/lsp.h Mon Nov 09 09:11:35 2009 +0000 +++ b/lsp.h Mon Nov 09 12:06:19 2009 +0000 @@ -86,8 +86,10 @@ * @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 */