Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Relaxing checks for MULT16_32_QX() | Jean-Marc Valin | 2022-07-22 | 1 | -2/+2 |
| | | | | | | | | MULT16_32_QX() is now implemented using a signed-unsigned multiply, so the second argument can now have one extra bit compared to the old signed-signed implementation. Reviewed by Mark Harris | ||||
* | Avoid left shifts of negative values in debug macros | Jean-Marc Valin | 2022-07-05 | 1 | -3/+3 |
| | | | | Reviewed by Mark Harris | ||||
* | Silence some warnings for fixed-point debug builds | Jean-Marc Valin | 2022-06-28 | 1 | -12/+12 |
| | | | | Reviewed by Timothy B. Terriberry. | ||||
* | celt_lpc: avoid overflows when computing lpcs in fixed point | Felicia Lim | 2021-03-02 | 1 | -0/+45 |
| | | | | | | | The LPCs are computed in 32-bit, so increase the allowed range from +/-8 to +/-64 to avoid overflows caught during fuzzing. Before downshifting back down to the +/-8 range in the final 16-bit output, perform bandwidth extension to avoid any additional overflow issues. | ||||
* | Fix compiler warnings | Mark Harris | 2017-02-26 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | - celt/modes.c:430:14: warning: cast from 'const unsigned char *' to 'opus_int16 *' increases required alignment from 1 to 2 [-Wcast-align] - 'C[0][1]' may be used uninitialized [-Wmaybe-uninitialized] - Unused variable/parameter - Value stored is never read - MSVC warnings about "possible loss of data" due to type conversions - MSVC warning C4146: unary minus operator applied to unsigned type - silk/NLSF_del_dec_quant.c:137:20: warning: array subscript is above array bounds [-Warray-bounds] (gcc -O3 false positive) - src/mlp_train.h:39:20: warning: function declaration isn't a prototype [-Wstrict-prototypes] - Remove SMALL_FOOTPRINT code from SSE 4.1 FIR implementation, matching the C implementation. The clang -Wcast-align warnings with SSE intrinsics are a known clang issue: https://llvm.org/bugs/show_bug.cgi?id=20670 | ||||
* | fixed_debug.h: delete some dead code | James Zern | 2017-01-12 | 1 | -3/+0 |
| | | | | | | this has the side-effect of removing some C++ style comments Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca> | ||||
* | fixes overflows in celt_iir() by doing proper saturation | Jean-Marc Valin | 2016-07-22 | 1 | -0/+2 |
| | |||||
* | silencing overflows in MDCT and FFT | Jean-Marc Valin | 2016-07-22 | 1 | -0/+6 |
| | |||||
* | Adds SIG2WORD16() to fixed_debug.h | Jean-Marc Valin | 2014-06-18 | 1 | -0/+10 |
| | |||||
* | Speed up the comb filter on ARM by using MAC16_32_Q16() | Jean-Marc Valin | 2014-01-21 | 1 | -0/+1 |
| | |||||
* | Adds SATURATE16() to the fixed-point debug build too | Jean-Marc Valin | 2013-11-17 | 1 | -0/+10 |
| | |||||
* | Replace "inline" with OPUS_INLINE. | Gregory Maxwell | 2013-10-28 | 1 | -29/+29 |
| | | | | | | | | | Newer versions of MSVC are unhappy with the strategy of the build environment redefining "inline" (even though they don't support the actual keyword). Instead we define OPUS_INLINE to the right thing in opus_defines.h. This is the same approach we use for restrict. | ||||
* | Replace long long in celt/ with opus_int64. | Gregory Maxwell | 2012-08-21 | 1 | -40/+40 |
| | |||||
* | Use 64-bits in fixed point debug for _P16, fixes spurious failures. | Gregory Maxwell | 2012-08-19 | 1 | -4/+4 |
| | |||||
* | Add OPUS_{GET|SET}_GAIN CTLs for adjusting output gain. | Gregory Maxwell | 2012-07-11 | 1 | -0/+35 |
| | | | | This CTL was requested by Nicolas George for FFmpeg. | ||||
* | When FIXED_DEBUG_ASSERT CELT will assert on fixed-debug error. | Gregory Maxwell | 2012-05-15 | 1 | -1/+212 |
| | |||||
* | Merge commit '390c89225d' | Jean-Marc Valin | 2012-04-24 | 1 | -2/+2 |
|\ | |||||
| * | s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code" | Jean-Marc Valin | 2012-04-20 | 1 | -2/+2 |
| | | | | | | | | Also added 3rd clause to "master" COPYING file | ||||
* | | Fixes several overflows in the CELT fixed-point | Jean-Marc Valin | 2012-04-12 | 1 | -3/+4 |
| | | | | | | | | | | These were all mostly benign and would at worst result in (rare) suboptimal encoder decisions rather than signal corruption. | ||||
* | | Check for underflow in the debug USUB32. | Ralph Giles | 2012-03-05 | 1 | -0/+4 |
| | | |||||
* | | Print the actual arguments to the debug UADD/SUB32 routines. | Ralph Giles | 2012-03-05 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | The versions of UADD32 and USUB32 in fixed_debug.h take unsigned long long (ideally 64 bit) inputs, and range check the arguments. However, the printed warnings cast them to (unsigned), which is confusing. Instead, print the full value passed in. NB this will make negative values print has huge, rather than negative, values. | ||||
* | | Uncomment the reporting for UADD32 and USUB32 in fixed_debug.h. | Ralph Giles | 2012-03-05 | 1 | -2/+2 |
| | | |||||
* | | Used unsigned intermediates with unsigned arguments in fixed_debug.h. | Ralph Giles | 2012-03-05 | 1 | -2/+2 |
| | | | | | | | | Corrects a signed-compare warning. | ||||
* | | Fix --enable-fixed-point-debug. | Ralph Giles | 2012-03-05 | 1 | -1/+2 |
|/ | | | | | | Use the celt_mips defined in fixed_debug.h from the unit tests by defining CELT_C earlier. We must export celt_mips so it can be used by clients calling the library, like opus_custom_demo. | ||||
* | Rename '_FOO' to avoid potentional collisions with reserved identifiers. | Ralph Giles | 2011-12-02 | 1 | -30/+30 |
| | | | | | | | | | | | | | | C reserves identifiers of the from _[A-Z]+ and we have a number of those in the code. This patch renames the various function arguments, MACROS and preprocessor symbols to avoid the reserved form. It also removes the CHANNELS() macro altogether. This was a minor optimization for TI DSP to force a mono-only build, as were the associated local 'const' versions. Since stereo support is manditory, it wasn't worth keeping. Thanks to John Ridges for raising the issue, and Jean-Marc Valin and Greg Maxwell for reviewing the changes. | ||||
* | renames the libcelt/ directory to celt/ | Jean-Marc Valin | 2011-09-13 | 1 | -0/+511 |
| | |||||
* | Moved all SILK source code to the silk/ directory | Jean-Marc Valin | 2011-04-28 | 1 | -6/+0 |
| | |||||
* | Loss rate adaptation for the CELT layer | Jean-Marc Valin | 2011-04-25 | 1 | -5/+5 |
| | |||||
* | draft update | Jean-Marc Valin | 2011-03-31 | 1 | -5/+5 |
| | |||||
* | Build fixes | Jean-Marc Valin | 2011-03-23 | 1 | -5/+5 |
| | |||||
* | Making mode switching use the same window as CELT (squared) | Jean-Marc Valin | 2011-03-21 | 1 | -5/+5 |
| | |||||
* | CELT update | Jean-Marc Valin | 2011-03-18 | 1 | -5/+5 |
| | | | | With minor fixes | ||||
* | More project files update | Jean-Marc Valin | 2011-03-18 | 1 | -5/+5 |
| | |||||
* | Fixes a few PLC/DTX bugs due to the recent decode API change | Jean-Marc Valin | 2011-03-16 | 1 | -5/+5 |
| | |||||
* | Adding constrained VBR mode | Jean-Marc Valin | 2011-03-14 | 1 | -5/+5 |
| | |||||
* | Draft update (allocation | Gregory Maxwell | 2011-03-14 | 1 | -5/+5 |
| | |||||
* | Disable newly introduced CELT signalling | Jean-Marc Valin | 2011-03-11 | 1 | -5/+5 |
| | |||||
* | Nothing to see here | Jean-Marc Valin | 2011-03-10 | 1 | -5/+5 |
| | |||||
* | CELT update | Jean-Marc Valin | 2011-03-09 | 1 | -18/+5 |
| | |||||
* | Support for glitchles mode switching | Jean-Marc Valin | 2011-03-07 | 1 | -5/+18 |
| | | | | | | Uses a 5ms redundant CELT frame embedded into the SILK or hybrid packet to handle the switching. It's still possible to use the PLC-based method when no redundant packet is included. | ||||
* | SILK/CELT update | Jean-Marc Valin | 2011-02-28 | 1 | -5/+5 |
| | |||||
* | preparing the next version | Jean-Marc Valin | 2011-02-14 | 1 | -5/+5 |
| | |||||
* | missing files | Jean-Marc Valin | 2011-02-14 | 1 | -10/+5 |
| | |||||
* | SILK and CELT updates | Jean-Marc Valin | 2011-02-14 | 1 | -5/+10 |
| | |||||
* | Update for in-band FEC | Koen Vos | 2011-02-14 | 1 | -5/+5 |
| | |||||
* | draft date | Jean-Marc Valin | 2011-02-04 | 1 | -0/+6 |
| | |||||
* | CELT update | Jean-Marc Valin | 2011-02-04 | 1 | -6/+0 |
| | |||||
* | Tuning the hybrid bit-rate split | Koen Vos | 2011-02-04 | 1 | -24/+5 |
| | |||||
* | Oops, fixed the CELT version | Jean-Marc Valin | 2011-02-03 | 1 | -0/+25 |
| | |||||
* | Update Opus range coder due to CELT refactoring. | Timothy B. Terriberry | 2011-02-03 | 1 | -6/+0 |
| | | | | | The byte buffer is now part of the range coder struct itself, and rangeenc.c and rangedec.c have gone away. |