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
Jean-Marc Valin
31bec963bb
Fix small mode leak (forgot to free the new logN array).
2010-04-07 18:30:28 -04:00
Jean-Marc Valin
f400a3c573
Caching log2_frac(N, BITRES) in the more data to save some CPU
2010-04-06 20:33:50 -04:00
Jean-Marc Valin
8974f00d53
fixed-point: improving accuracy of the energy prediction
2010-03-20 00:41:39 -04:00
Jean-Marc Valin
6d584acd95
Renamed MDCT functions to avoid symbol clashes with Vorbis
2009-11-21 21:57:44 -05:00
Jean-Marc Valin
9319e3e6df
Removing original freq-domain pitch code
2009-11-09 13:51:54 +09:00
Jean-Marc Valin
328b8bd7fc
fixed a few trivial bugs: exporting celt_strerror(), changed DB_SCALING to a
...
shift and removed the chec for DISABLE_STEREO in the mode creation.
2009-10-19 19:07:38 -04:00
Jean-Marc Valin
234969c903
Removed the _t from all the celt*_t types to avoid clashing with POSIX
2009-10-17 22:12:42 -04:00
Jean-Marc Valin
8b2ff0da5a
Updated copyright notices
2009-10-17 21:40:10 -04:00
Jean-Marc Valin
30f7f813ea
Changed all the celt*int*_t types to remove the _t suffix, which is reserved
...
by POSIX. The other _t types that are not part of the API are still there
for now. Also, got rid of all that was left of the 64-bit types.
2009-10-17 14:35:13 -04:00
Jean-Marc Valin
80ed147663
The number of channels is now set when creating the states rather than when
...
creating the mode. This means that the same mode can be shared for mono and
stereo.
2009-10-15 21:45:32 -04:00
Jean-Marc Valin
6a97802280
Adjusting the allocation for stereo directly in the alloc function rather than
...
in the table.
2009-10-13 20:35:21 -04:00
Jean-Marc Valin
39f68ac997
making compute_ebands() a tiny bit less stupid.
2009-10-03 23:27:52 -04:00