diff qcelpdata.h @ 8145:f27d01aff4af libavcodec

More OKed parts of the QCELP decoder patch by Kenan Gillet, kenan.gillet gmail com
author vitor
date Fri, 14 Nov 2008 17:36:47 +0000
parents 3b5256153553
children 3b9eefe120e6
line wrap: on
line diff
--- a/qcelpdata.h	Fri Nov 14 02:49:23 2008 +0000
+++ b/qcelpdata.h	Fri Nov 14 17:36:47 2008 +0000
@@ -461,6 +461,15 @@
 #define QCELP_RATE_HALF_CODEBOOK_RATIO 0.5
 
 /**
+ * sqrt(1.887) is the maximum of the pseudorandom
+ * white sequence used to generate the scaled codebook
+ * vector for framerate 1/4.
+ *
+ * TIA/EIA/IS-733 2.4.8.1.2
+ */
+#define QCELP_SQRT1887 1.373681186
+
+/**
  * table for impulse response of BPF used to filter
  * the white excitation for framerate 1/4 synthesis
  *