Commit graph

1205 commits

Author SHA1 Message Date
Jean-Marc Valin
f5b0587bd2 s/ROUND/ROUND16/ 2008-03-21 10:46:17 +11:00
Jean-Marc Valin
83006eec60 fixed-point: using TI intrinsic for celt_ilog2() if available. 2008-03-21 10:40:43 +11:00
Jean-Marc Valin
983f6387e0 Wrapper for the TI dsplib FFT 2008-03-20 23:17:18 +11:00
Jean-Marc Valin
fcb841aa0b Making the real/single FFT easier to replace 2008-03-20 22:23:54 +11:00
Jean-Marc Valin
104c218c9b Random numbers should work on 16-bit archs. 2008-03-19 09:33:49 +11:00
Jean-Marc Valin
b311554ccd fixed-point: more TI macros. Comments on the existing ones. 2008-03-16 23:33:02 +11:00
Jean-Marc Valin
b674a27863 Removed useless functions that caused warnings in skeleton.c 2008-03-16 21:39:05 +11:00
Jean-Marc Valin
c7e0b76c06 Making sure not to use the C library calls directly 2008-03-16 07:55:29 +11:00
Jean-Marc Valin
4ff068e670 Some work on assertions. 2008-03-15 23:34:39 +11:00
Jean-Marc Valin
bfcbd184b5 New C55 macro 2008-03-15 08:12:49 +11:00
Jean-Marc Valin
fb7359a61f fixed-point: Fixed a "shift too large" warning by using a 16-bit mul instead
of 32-bit in find_spectral_pitch()
2008-03-15 08:04:16 +11:00
Jean-Marc Valin
15b9be3a29 fixed-point: playing it safe. SHL32() now automatically casts input to 32-bit
to prevent surprises. Also, a few comments.
2008-03-14 17:58:33 +11:00
Jean-Marc Valin
0773fec4ad fixed-point: fixed a 16-bit issue in normalise_bands() where Q15ONE was directly
shifted left
2008-03-14 16:28:28 +11:00
Jean-Marc Valin
71a84590e7 Removed unnecessary header inclusions 2008-03-14 11:09:50 +11:00
Jean-Marc Valin
a82dfdd240 Adjusting/fixing warnings 2008-03-13 23:01:55 +11:00
Jean-Marc Valin
2b35de9164 fixed-point: Using reciproqual instead of DIV32_16 for find_spectral_pitch() 2008-03-13 17:55:03 +11:00
Jean-Marc Valin
679f5cc675 Enabling warnings and restricting symbol visibility 2008-03-13 17:39:55 +11:00
Jean-Marc Valin
92518982cc Added mathops-test 2008-03-13 17:20:08 +11:00
Jean-Marc Valin
9d5b4a6f56 fixed-point: simplification of the gain in mix_pitch_and_residual() 2008-03-13 11:36:45 +11:00
Jean-Marc Valin
19ae9fc944 fixed-point: simplifying the arithmetic in alg_quant() 2008-03-13 11:18:15 +11:00
Jean-Marc Valin
3ec78b173b More accurate sqrt approximation using MULT16_16_Q15() instead of Q14. 2008-03-12 23:00:42 +11:00
Jean-Marc Valin
f823f409a8 TODO update 2008-03-12 22:21:46 +11:00
Jean-Marc Valin
887ad9ff29 Increased accuracy of the reciprocal approximation and made it use
MULT16_16_Q15() instead of Q14 (should be faster).
2008-03-12 21:34:50 +11:00
Jean-Marc Valin
0ac437b82d Testcases should now work even when symbols aren't visible in the dso 2008-03-12 18:04:27 +11:00
Jean-Marc Valin
7f38906f50 Added info for properly exporting symbols 2008-03-12 17:46:04 +11:00
Jean-Marc Valin
31b79d1993 Changed definition of VARDECL to make it more flexible. No actual code change. 2008-03-12 17:17:23 +11:00
Jean-Marc Valin
d857ac48de Using reciprocal approximation instead of full 32-bit division in alg_quant() 2008-03-12 13:26:37 +11:00
Jean-Marc Valin
980ad38495 configure update (MIXED_PRECISION and STATIC_MODES can now be used) 2008-03-12 11:47:19 +11:00
Jean-Marc Valin
931db72e75 Defined the celt_rcp() reciprocal approximation 2008-03-12 11:28:26 +11:00
Jean-Marc Valin
3c7ae6c3b9 __GNUC_PREREQ should be causing problems anymore. 2008-03-12 10:42:24 +11:00
Jean-Marc Valin
72e8003f75 Added macro definitions for the TI C5x family (untested) 2008-03-12 10:16:26 +11:00
Jean-Marc Valin
493b38d48f Better heuristic for deciding when to use the 32-bit version of the cwrs code. 2008-03-11 15:24:07 +11:00
Jean-Marc Valin
949902fd1b const correctness. celt_mode_create() now makes a copy of the static mode
(if STATIC_MODES is defined) instead of attempting to modify read-only
storage.
2008-03-11 10:43:06 +11:00
Jean-Marc Valin
88b7abb6ac oops, forgot to disable the main() 2008-03-10 16:44:07 +11:00
Jean-Marc Valin
db0141e766 Changed some of the mode data from int to celt_int16_t to save memory. 2008-03-10 16:37:37 +11:00
Jean-Marc Valin
6a0d97ebbc No longer include redundent entries in the bit allocation cache 2008-03-10 16:10:15 +11:00
Jean-Marc Valin
b76ee70606 Allocation cache can now be pre-computed as well. 2008-03-10 15:42:35 +11:00
Jean-Marc Valin
5588d52e94 Psychoacoustic decay coefficients can now be included in the static modes 2008-03-10 15:07:58 +11:00
Jean-Marc Valin
680a9ec54b Improvements to static modes 2008-03-10 14:52:18 +11:00
Jean-Marc Valin
29f52990b9 Moved the psycoacoustics data to the mode struct 2008-03-10 13:34:52 +11:00
Jean-Marc Valin
defa357525 Simplified spreading function so that only one set of coefficients (the right
slope is required).
2008-03-10 13:17:58 +11:00
Jean-Marc Valin
f39e869c9f Initial support for static modes (defined STATIC_MODES) 2008-03-10 12:13:23 +11:00
Jean-Marc Valin
2b361230b3 fixed-point: done converting find_spectral_pitch() 2008-03-10 10:41:13 +11:00
Jean-Marc Valin
7dbe0ca375 fixed some build problems 2008-03-10 10:25:40 +11:00
Jean-Marc Valin
2472dd7c89 testcelt no longer attempts to use ALLOC() 2008-03-09 19:27:58 +11:00
Jean-Marc Valin
7b5dc851ce manual stack allocator should now work for sizeof(char)!=1 2008-03-09 17:18:39 +11:00
Jean-Marc Valin
ecd214d585 fixed-point: stereo_mix() converted. 2008-03-08 20:17:12 +11:00
Jean-Marc Valin
3dbc1d0df9 cleaning up some of the mode stuff 2008-03-08 15:21:24 +11:00
Jean-Marc Valin
03f9ed3005 oops, forgot an int sampling rate somewhere 2008-03-08 10:02:30 +11:00
Jean-Marc Valin
d0f57874ef sampling rate has to be int32 2008-03-08 07:39:47 +11:00