Commit graph

181 commits

Author SHA1 Message Date
Jean-Marc Valin
7d1cc9d5f3 Tuning around 30 kb/s 2010-09-01 16:21:38 -04:00
Jean-Marc Valin
fbcec9a960 Tuning in the 24 kb/s area 2010-09-01 16:09:30 -04:00
Jean-Marc Valin
c98ff9086c Tuning at very low bit-rate (around 14 kb/s) 2010-09-01 15:43:06 -04:00
Jean-Marc Valin
8bcd38824d Tuning at very low rate 2010-09-01 11:11:37 -04:00
Jean-Marc Valin
8f50b0f756 Making the allocation matrix a bit smoother 2010-09-01 11:00:48 -04:00
Jean-Marc Valin
1887401cca Converting allocation table to 1/32 bit/sample resolution. 2010-09-01 10:07:12 -04:00
Jean-Marc Valin
6d3829f266 CELT no longer prints to stderr (unless assertions are enabled) 2010-08-27 17:52:38 -04:00
Jean-Marc Valin
f9950e0624 Remove model markers 2010-08-27 16:15:20 -04:00
Jean-Marc Valin
bce1dd0d75 Remove check_mode() 2010-08-27 16:10:39 -04:00
Jean-Marc Valin
40603b2f03 No longer making copies of static modes 2010-08-25 23:02:49 -04:00
Jean-Marc Valin
bb5288174d coarse probability model in static modes too 2010-08-25 22:12:18 -04:00
Jean-Marc Valin
31b189b419 static modes update for MDCT 2010-08-25 21:21:43 -04:00
Jean-Marc Valin
732ea38810 Updated static modes for new pulse cache.
Fixed a few minor bugs in the process.
2010-08-25 13:52:27 -04:00
Jean-Marc Valin
3ad8db49c5 New pulse cache 2010-08-25 13:11:09 -04:00
Jean-Marc Valin
8cbea177ba Removing pitch prediction code 2010-08-05 15:28:27 -04:00
Jean-Marc Valin
ea17d42304 Removing uselessly low bitrate allocation entries 2010-07-28 10:39:04 +02:00
Jean-Marc Valin
ca6533cd88 Energy quantization tuning.
Prediction coefficient now depends on the frame size. Also, the pdfs and means
have been adjusted and better quantized. This breaks compatibility of course.
2010-07-23 16:10:36 -04:00
Jean-Marc Valin
8952c45ea5 The encoder and decoder can now process audio encoded at a higher rate
than what they're running at.
2010-07-16 21:48:44 -04:00
Jean-Marc Valin
85f41b20df Some work towards being able to encode a 48 kHz stream from 32 kHz audio (incomplete) 2010-07-16 18:12:45 -04:00
Jean-Marc Valin
3b0df0dc2a All modes based on 2.5 ms short blocks now use the same definition 2010-07-16 15:55:30 -04:00
Jean-Marc Valin
a2546bbf72 Number of short blocks now based on the frame duration instead of the
number of samples
2010-07-16 12:00:00 -04:00
Jean-Marc Valin
223b69db02 Better support for non-48 kHz sampling rates 2010-07-16 11:47:50 -04:00
Jean-Marc Valin
af1fce93b1 Pre-emphasis coefficients now part of the mode and has a numerator as well
as a denominator
2010-07-16 11:05:06 -04:00
Jean-Marc Valin
72513f3cc7 Sharing twiddle factors across all MDCTs 2010-07-07 21:26:38 -04:00
Jean-Marc Valin
2f6c5feae8 Oops, fixed an uninitialized var error 2010-06-28 17:22:37 -04:00
Jean-Marc Valin
60ff999118 Mode cleanup (removed redundant mdctSize field) 2010-06-27 13:49:38 -04:00
Jean-Marc Valin
f477d5806e Think I got static modes working again 2010-06-27 09:56:26 -04:00
Jean-Marc Valin
9a33c5c346 Remove unnecessary free of global stack on error 2010-06-08 21:01:41 -04:00
Jean-Marc Valin
ffe5061a75 nothing to see here 2010-06-04 00:13:19 -04:00
Jean-Marc Valin
01b54b9964 Completely removed the old allocation table.
Also made the new table an unsigned char array.
2010-06-03 23:29:35 -04:00
Jean-Marc Valin
c51e98ba1b Base everything on the "standard allocation table" 2010-06-03 22:11:41 -04:00
Jean-Marc Valin
12e851dad7 Using allocation table for "standard" frame sizes 2010-06-03 08:12:11 -04:00
Jean-Marc Valin
bb8fa1fca2 Allocation table now in bits/sample 2010-06-03 00:33:42 -04:00
Jean-Marc Valin
c5d00a066e Bunch of fixes for frames of 2.5 ms. 2010-05-26 11:27:32 -04:00
Jean-Marc Valin
cae30df09a Getting rid of PVQ-level split
Adding one more level of band splitting so that splitting at the
PVQ encoding level is no longer necessary.
2010-05-21 00:26:03 -04:00
Jean-Marc Valin
4aa1b8df26 Most 5ms bands now have even width 2010-05-19 22:02:02 -04:00
Jean-Marc Valin
20639c416c Tuned the 5ms mode to have a band at 4 kHz and one at 8 kHz 2010-05-19 16:10:12 -04:00
Jean-Marc Valin
c1ca587d47 Saving ~1 kB by using chars for the alloc table
Also a bunch of comments
2010-05-18 23:20:43 -04:00
Jean-Marc Valin
aead79b133 Proper use of logN and logM for the offsets 2010-05-11 07:46:35 -04:00
Jean-Marc Valin
e949b72049 Fixed pitchEnd wrt to variable frame size. It should (sort of) all work now 2010-05-07 21:20:22 -04:00
Jean-Marc Valin
ce4dd367c2 More work on variable frame size (getting rid of FRAMESIZE() ) 2010-05-07 21:20:22 -04:00
Jean-Marc Valin
811f21ab76 Fix for very short frame size (M=1) 2010-05-07 21:20:22 -04:00
Jean-Marc Valin
073d0bc925 Yet another step towards variable frame size 2010-05-07 21:20:22 -04:00
Jean-Marc Valin
7f1c9427e5 Allocation table stored with BITRES accuracy based on the short block size 2010-05-07 21:20:21 -04:00
Jean-Marc Valin
5f633543c7 shortWindow hadn't been used for a while 2010-05-07 21:20:21 -04:00
Jean-Marc Valin
65ee67ac55 Making the band definition the same at all frame sizes. 2010-04-26 07:08:44 -04:00
Jean-Marc Valin
be8d1259af Minor tweak to the band layout offset 2010-04-21 18:09:07 -04:00
Jean-Marc Valin
4fb9568709 Bands are now (again) a multiple of the number of short MDCTs 2010-04-20 23:30:22 -04:00
Jean-Marc Valin
3ff5e4c2dc Making sure compute_allocation_table() doesn't overrun at lower sampling rates 2010-04-14 18:02:09 -04:00
Jean-Marc Valin
137f3366bc Changed compute_allocation_table() so it handles ebands that start and end in the same allocation band. Also fixed a minor C89 issue. 2010-04-14 17:42:22 -04:00