diff options
author | Vladimir Voroshilov <voroshil@gmail.com> | 2009-06-20 13:36:21 +0000 |
---|---|---|
committer | Vladimir Voroshilov <voroshil@gmail.com> | 2009-06-20 13:36:21 +0000 |
commit | 630c97ff4b81e5c631c33f1d803d69531f781fb3 (patch) | |
tree | e25de5fd71536821975386053eaaefcea1b0405a /libavcodec/g729data.h | |
parent | 6ee0eb38c015d7bf139b0058e4d28244830d9d01 (diff) | |
download | ffmpeg-630c97ff4b81e5c631c33f1d803d69531f781fb3.tar.gz |
Convertion of LSF values to coefficients of linear prediction filter
Originally committed as revision 19240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g729data.h')
-rw-r--r-- | libavcodec/g729data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/g729data.h b/libavcodec/g729data.h index 796d24ec64..ef95570cdc 100644 --- a/libavcodec/g729data.h +++ b/libavcodec/g729data.h @@ -262,4 +262,12 @@ static const int16_t cb_ma_predictor[2][MA_NP][10] = { /* (0.15) */ { 3024, 1592, 940, 1631, 1723, 1579, 2034, 2084, 1913, 2601} } }; + +/** + * initial LSP coefficients belongs to virtual frame preceding the + * first frame of the stream + */ +static const int16_t lsp_init[10]= { /* (0.15) */ + 30000, 26000, 21000, 15000, 8000, 0, -8000,-15000,-21000,-26000 +}; #endif /* AVCODEC_G729DATA_H */ |