From 87574416f7fa256080321bfc0806dab4f0e05345 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Wed, 4 Mar 2009 01:33:56 +0000 Subject: 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 --- libavcodec/qcelpdata.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavcodec/qcelpdata.h') 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 */ -- cgit v1.2.3