diff options
author | Colin McQuillan <m.niloc@googlemail.com> | 2009-08-03 08:37:02 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-08-03 08:37:02 +0000 |
commit | 33ae681f5ca9fa9aae82081dd6a6edbe2509f983 (patch) | |
tree | 091f20de691a3115540d9c6582fb84de0d153b5b /libavcodec/qcelpdec.c | |
parent | 1e1e02eacd948572108c78c15d5b3e3bcd94947c (diff) | |
download | ffmpeg-33ae681f5ca9fa9aae82081dd6a6edbe2509f983.tar.gz |
Expose QCELP's floating-point LSP-to-LPC function
qcelp_lsp exported a single function, ff_acelp_lspd2lpc, which was not
specific to qcelp. It can be kept with its fixed-point version
ff_acelp_lsp2lpc in lpc.c.
Patch by Colin McQuillan ( m.niloc googlemail com )
Originally committed as revision 19571 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r-- | libavcodec/qcelpdec.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index 4ba42a1be1..0df30daf34 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -38,6 +38,7 @@ #include "celp_math.h" #include "celp_filters.h" #include "acelp_vectors.h" +#include "lsp.h" #undef NDEBUG #include <assert.h> @@ -76,13 +77,6 @@ typedef struct } QCELPContext; /** - * Reconstructs LPC coefficients from the line spectral pair frequencies. - * - * TIA/EIA/IS-733 2.4.3.3.5 - */ -void ff_acelp_lspd2lpc(const double *lsp, float *lpc); - -/** * Initialize the speech codec according to the specification. * * TIA/EIA/IS-733 2.4.9 |