summaryrefslogtreecommitdiff
path: root/libavcodec/qcelpdata.h
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-03-04 01:33:56 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2009-03-04 01:33:56 +0000
commit87574416f7fa256080321bfc0806dab4f0e05345 (patch)
tree5f04a7abf99ec7483f32f0f47c884edfc1886245 /libavcodec/qcelpdata.h
parent77bd18e117176213bdb4e7cbcf7b17662ab99300 (diff)
downloadffmpeg-87574416f7fa256080321bfc0806dab4f0e05345.tar.gz
Part 2 of 2 of Kenan Gillet's 'make ff_qcelp_lspf2lpc
more general' changeset. This one relocates the QCELP especific code to the qcelpdec.* files. Originally committed as revision 17800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdata.h')
-rw-r--r--libavcodec/qcelpdata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/qcelpdata.h b/libavcodec/qcelpdata.h
index 0ab0be1c9f..1c9fad002d 100644
--- a/libavcodec/qcelpdata.h
+++ b/libavcodec/qcelpdata.h
@@ -550,4 +550,13 @@ static const double qcelp_rnd_fir_coefs[11] = {
*/
#define QCELP_LSP_OCTAVE_PREDICTOR 29.0/32
+/**
+ * initial coefficient to perform bandwidth expansion on LPC
+ *
+ * @note: 0.9883 looks like an approximation of 253/256.
+ *
+ * TIA/EIA/IS-733 2.4.3.3.6 6
+ */
+#define QCELP_BANDWITH_EXPANSION_COEFF 0.9883
+
#endif /* AVCODEC_QCELPDATA_H */