diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2007-12-11 16:45:15 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2007-12-11 16:45:15 +0300 |
commit | 4a897680e34dc59aebc0dfa8076e38338fbe48e9 (patch) | |
tree | f9b49b8982f44ef129cba8bfe83d95b684e3c6b5 /libcelt/modes.c | |
parent | f347dd3b3d9c1ffef4f707d39208ffa4750370ab (diff) |
Working on some stability issues (appears to be solved by making the pitch
projection less aggressive). Also, fixed a 64-bit overflow in the stereo mode
and added a "band rotation" function.
Diffstat (limited to 'libcelt/modes.c')
-rw-r--r-- | libcelt/modes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcelt/modes.c b/libcelt/modes.c index 36c48de..44b1d60 100644 --- a/libcelt/modes.c +++ b/libcelt/modes.c @@ -39,7 +39,7 @@ const int qbank1[NBANDS128+2] = {0, 2, 4, 6, 8, 12, 16, 20, 24, 28, 36, 44, 52 const int qpulses1[NBANDS128] = {7, 5, 5, 5, 4, 5, 4, 5, 5, 4, -2, 0, 0, 0, 0}; const int qpulses2[NBANDS128] = {28,24,20,16,24,20, 18, 12, 10, 10,-7, -4, 0, 0, 0}; -const int qpulses2b[NBANDS128] = {32,28,24,20,28,24, 22, 18, 16, 15,-12, -12, 12, 12, 0}; +const int qpulses2s[NBANDS128] = {38,30,24,20,24,20, 18, 16, 14, 20,-20,-14, -8, -8, -5}; const int pbank1[PBANDS128+2] = {0, 4, 8, 12, 20, PITCH_END128, 128}; @@ -94,7 +94,7 @@ const CELTMode mode3 = { qpulses2 /**< nbPulses */ }; -/* Stereo mode (doesn't work yet) */ +/* Stereo mode around 120 kbps */ const CELTMode mode4 = { 256, /**< frameSize */ 128, /**< mdctSize */ @@ -107,7 +107,7 @@ const CELTMode mode4 = { qbank1, /**< eBands */ pbank1, /**< pBands*/ - qpulses1 /**< nbPulses */ + qpulses2s /**< nbPulses */ }; const CELTMode const *celt_mode1 = &mode1; |