Commit graph

1205 commits

Author SHA1 Message Date
Jean-Marc Valin
0475267e62 More preparation work for variable frame size 2010-05-07 21:20:22 -04:00
Jean-Marc Valin
3b918bac54 replaced instances of mode->nbShortMdcts by the dynamic number of MDCTs (M) 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
f7547a4e8e Shrinking the MDCT's table by separately rotating by the 1/(8N) factor 2010-05-07 20:57:48 -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
6578ea0e26 Re-enabled special stereo code for N=2 2010-04-20 23:52:31 -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
d6b79eeb7a Skipping transient shape renormalisation in the encoder because
our search can now work on vectors that don't have unit norm
2010-04-20 17:31:45 -04:00
Jean-Marc Valin
281a63eae8 Bump bitstream version now that we broke everything 2010-04-20 10:43:51 -04:00
Jean-Marc Valin
8271dc8a22 Tuning the amount of spreading based on Koen's feedback 2010-04-20 00:47:22 -04:00
Jean-Marc Valin
9c30de571d Improved transient_analysis() by adding one frame of memory. 2010-04-19 13:32:15 -04:00
Jean-Marc Valin
b450ed48ae Removed unnecessary calls to log2Amp() 2010-04-18 22:47:58 -04:00
Jean-Marc Valin
b8ba70c99b Disabling resynthesis when not needed (need to remove folding for this to work) 2010-04-18 22:10:24 -04:00
Jean-Marc Valin
b8a06ee00d Re-introducing the successive spreading rotations, but in a two-step
scheme. Keeping Hadamard as an option (disabled for now) for transients.
2010-04-18 09:57:42 -04:00
Jean-Marc Valin
65a487069d Corrected some non-sensical code 2010-04-17 17:29:03 -04:00
Jean-Marc Valin
628c025373 Converted a few double-precision constants to single precision 2010-04-16 20:57:56 -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
f080a151a5 version string set to 0.8.0-git 2010-04-14 17:45:27 -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
64209a3edf A few minor optimisations (compute_allocation, denormalise_bands,
deemphasis)
2010-04-06 20:33:50 -04:00
Jean-Marc Valin
9a92d61ee8 A bit more tuning on the pseudo-frac-Hadamard. Also Trying to improve
transient spreading.
2010-04-06 20:33:12 -04:00
Jean-Marc Valin
354bf60b04 Doing the spreading with a "pseudo-fractional-Hadamard" transform 2010-04-03 09:23:29 -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
c7b01bad50 fixed-point: slightly increasing the decoder accuracy again 2010-03-19 23:17:28 -04:00
Timothy B. Terriberry
dc8a6eee43 Update the log2 approximation to accomodate the increased bit precision from bd0610d21b. This requires another term in the power series to reduce the error to the level of truncation (peak absolute error 0.621785). Also refactor the rounding bias term so that further changes to DB_SHIFT will leave the result unbiased. 2010-03-16 00:17:38 -04:00
Jean-Marc Valin
3a4a463f0a fixed-point: Further reduction in mismatch 2010-03-15 22:55:51 -04:00
Jean-Marc Valin
70bdf9bf39 fixed-point: reducing the mismatch in the folded part 2010-03-15 20:50:30 -04:00
Jean-Marc Valin
bd0610d21b Increasing log energy resolution 2010-03-13 10:04:19 -05:00
Jean-Marc Valin
5503f11a3d Using the mean energy even when start>0 2010-03-12 22:00:10 -05:00
Jean-Marc Valin
210ccafaff Improves fixed-point precision for quant_coarse_energy 2010-03-11 22:20:19 -05:00
Jean-Marc Valin
e45ccb1693 Fix quant_bands() for start != 0 2010-03-01 07:09:46 -05:00
Jean-Marc Valin
3a0bc3d95c Allowing CELT to skip the low frequencies 2010-02-25 22:46:55 -05:00
John Ridges
5378bf8253 Updating CELT_RESET_STATE to clear some fields that were "recently" added. 2010-02-12 07:08:01 -05:00
Jean-Marc Valin
6c79a9325c Getting "make dist" to work again with the files that got removed 2010-01-16 23:35:45 -05:00
Jean-Marc Valin
619a9681bc Misc changes for 0.7.1. 2010-01-16 19:12:06 -05:00
Thorvald Natvig
df726557ad Change name of libcelt to libcelt0 2010-01-16 08:06:41 -05:00
Stefan de Konink
7f1822961d Updates celtclient to the new API. 2010-01-07 21:27:42 -05:00
Jean-Marc Valin
74128befe4 fixed-point: converted PLC filters and LPC parameters 2010-01-01 09:33:17 -05:00
Jean-Marc Valin
303b3b627e fixed-point: starting conversion of the new PLC 2009-12-30 22:40:24 -05:00
Jean-Marc Valin
07fed1bf76 Adding a safeguard against unstable LPC, so now there's no way (that I can
think of) to produce NaNs in the new PLC.
2009-12-28 07:59:42 -05:00
Jean-Marc Valin
d69c1cb37c Making new PLC code work in fixed-point even though it's still using float
arithmetic.
2009-12-28 00:34:29 -05:00
Jean-Marc Valin
aec0ee41ab C89 friendliness 2009-12-21 00:06:12 -05:00
Jean-Marc Valin
d5f99308c9 This fixes a bug in stereo PLC (offset wasn't changed between channels) 2009-12-16 22:42:32 -05:00
Jean-Marc Valin
5a0fae53c7 PLC: Added lag windowing and constraint to synthesis energy 2009-12-14 21:19:37 -05:00
Thorvald Natvig
b8002a0ef3 Varlength arrays fix for C89 2009-12-11 07:38:38 -05:00
Jean-Marc Valin
e14fe9046f New LPC-based PLC code 2009-12-11 00:07:31 -05:00