diff options
author | Kenan Gillet <kenan.gillet@gmail.com> | 2008-11-14 17:36:47 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-11-14 17:36:47 +0000 |
commit | 39ded680136edad007db435aba069a8791bfad92 (patch) | |
tree | 201fba56455eeaae9224544f10120d60d56b62dc /libavcodec/qcelpdata.h | |
parent | eb63b051c09d1b10bf1ceaa2932c5fd5bf0d71ab (diff) | |
download | ffmpeg-39ded680136edad007db435aba069a8791bfad92.tar.gz |
More OKed parts of the QCELP decoder
patch by Kenan Gillet, kenan.gillet gmail com
Originally committed as revision 15822 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdata.h')
-rw-r--r-- | libavcodec/qcelpdata.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/qcelpdata.h b/libavcodec/qcelpdata.h index f5b39b6954..856f11d601 100644 --- a/libavcodec/qcelpdata.h +++ b/libavcodec/qcelpdata.h @@ -461,6 +461,15 @@ static const int8_t qcelp_rate_half_codebook[128] = { #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 * |