Mark Harris
697beca22d
Only call isqrt32() with a positive argument
...
Fixes test_opus_projection failure under ubsan, due to clz(0).
2018-05-28 00:37:54 -07:00
Jean-Marc Valin
ef203135b4
Adding ENABLE_HARDENING
...
Enables "safes" assertions even with ENABLE_ASSERTIONS isn't set
2018-03-27 15:13:25 -04:00
Jean-Marc Valin
b66080a879
Fixes minor code quality issues in CELT
...
Reported by Durandal.
2016-06-20 12:11:05 -04:00
Gregory Maxwell
7830cf1bd2
Replace "inline" with OPUS_INLINE.
...
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.
2013-10-28 10:18:54 -07:00
Jean-Marc Valin
c3273ed7e7
Fixes an overflow in the fixed-point celt_sqrt() for large values.
...
Was causing problems with the PLC
2012-11-29 16:51:50 -05:00
Jean-Marc Valin
ab5a049705
Merge commit ' 390c89225d
'
2012-04-24 13:39:22 -04:00
Jean-Marc Valin
cb05e7cd96
s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"
...
Also added 3rd clause to "master" COPYING file
2012-04-20 16:41:42 -04:00
Jean-Marc Valin
64e8021c2f
oops, this removes dead code left from previous commit
2012-04-13 12:29:51 -04:00
Jean-Marc Valin
367c394866
Fixes several overflows in the CELT fixed-point
...
These were all mostly benign and would at worst result in (rare)
suboptimal encoder decisions rather than signal corruption.
2012-04-12 11:09:09 -04:00
Jean-Marc Valin
0da4f238e0
Avoiding more left shifts of negative values
2011-09-25 00:11:46 -04:00
Jean-Marc Valin
c37499090b
renames the libcelt/ directory to celt/
2011-09-13 18:21:18 -07:00