Mercurial > libavcodec.hg
diff g729data.h @ 9876:2719d29359c6 libavcodec
Convertion of LSF values to coefficients of linear prediction filter
author | voroshil |
---|---|
date | Sat, 20 Jun 2009 13:36:21 +0000 |
parents | 7679262f1459 |
children | c2da2b1e1a12 |
line wrap: on
line diff
--- a/g729data.h Sat Jun 20 13:16:07 2009 +0000 +++ b/g729data.h Sat Jun 20 13:36:21 2009 +0000 @@ -262,4 +262,12 @@ { 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 */