diff qcelpdec.c @ 10011:c1cfa4679371 libavcodec

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 )
author superdump
date Mon, 03 Aug 2009 08:37:02 +0000
parents 18dab2b47db7
children 5f2ced30548b
line wrap: on
line diff
--- a/qcelpdec.c	Mon Aug 03 08:31:20 2009 +0000
+++ b/qcelpdec.c	Mon Aug 03 08:37:02 2009 +0000
@@ -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 @@
 } 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