Mercurial > libavcodec.hg
changeset 7781:0d62fafc69ae libavcodec
gain codebook (first stage), 8k mode for G.729
author | voroshil |
---|---|
date | Wed, 03 Sep 2008 04:45:01 +0000 |
parents | b35486af268e |
children | 6efb15a24e91 |
files | g729data.h |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/g729data.h Wed Sep 03 01:07:03 2008 +0000 +++ b/g729data.h Wed Sep 03 04:45:01 2008 +0000 @@ -211,4 +211,18 @@ { -163, 674, -11, -886, 531, -1125, -265, -242, 724, 934} }; +/** + * gain codebook (first stage), 8k mode (3.9.2 of G.729) + */ +static const int16_t cb_gain_1st_8k[1<<GC_1ST_IDX_BITS_8K][2] = +{ /*(0.14) (2.13) */ + { 3242 , 9949 }, + { 1551 , 2425 }, + { 2678 , 27162 }, + { 1921 , 9291 }, + { 1831 , 5022 }, + { 1 , 1516 }, + { 356 , 14756 }, + { 57 , 5404 }, +}; #endif // AVCODEC_G729DATA_H