summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorColin McQuillan <m.niloc@googlemail.com>2009-08-03 08:37:02 +0000
committerRobert Swain <robert.swain@gmail.com>2009-08-03 08:37:02 +0000
commit33ae681f5ca9fa9aae82081dd6a6edbe2509f983 (patch)
tree091f20de691a3115540d9c6582fb84de0d153b5b /libavcodec/qcelpdec.c
parent1e1e02eacd948572108c78c15d5b3e3bcd94947c (diff)
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.c8
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