Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-22Relaxing checks for MULT16_32_QX()Jean-Marc Valin
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
2022-07-06Avoid left shifts of negative values in debug macrosJean-Marc Valin
Reviewed by Mark Harris
2022-06-28Silence some warnings for fixed-point debug buildsJean-Marc Valin
Reviewed by Timothy B. Terriberry.
2021-03-03celt_lpc: avoid overflows when computing lpcs in fixed pointFelicia Lim
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.
2017-02-27Fix compiler warningsMark Harris
- 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
2017-01-13fixed_debug.h: delete some dead codeJames Zern
this has the side-effect of removing some C++ style comments Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2016-07-22fixes overflows in celt_iir() by doing proper saturationJean-Marc Valin
2016-07-22silencing overflows in MDCT and FFTJean-Marc Valin
2014-06-18Adds SIG2WORD16() to fixed_debug.hJean-Marc Valin
2014-01-21Speed up the comb filter on ARM by using MAC16_32_Q16()Jean-Marc Valin
2013-11-18Adds SATURATE16() to the fixed-point debug build tooJean-Marc Valin
2013-10-28Replace "inline" with OPUS_INLINE.Gregory Maxwell
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.
2012-08-21Replace long long in celt/ with opus_int64.Gregory Maxwell
2012-08-19Use 64-bits in fixed point debug for _P16, fixes spurious failures.Gregory Maxwell
2012-07-11Add OPUS_{GET|SET}_GAIN CTLs for adjusting output gain.Gregory Maxwell
This CTL was requested by Nicolas George for FFmpeg.
2012-05-15When FIXED_DEBUG_ASSERT CELT will assert on fixed-debug error.Gregory Maxwell
2012-04-24Merge commit '390c89225d'Jean-Marc Valin
2012-04-21s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"Jean-Marc Valin
Also added 3rd clause to "master" COPYING file
2012-04-12Fixes several overflows in the CELT fixed-pointJean-Marc Valin
These were all mostly benign and would at worst result in (rare) suboptimal encoder decisions rather than signal corruption.
2012-03-06Check for underflow in the debug USUB32.Ralph Giles
2012-03-06Print the actual arguments to the debug UADD/SUB32 routines.Ralph Giles
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.
2012-03-06Uncomment the reporting for UADD32 and USUB32 in fixed_debug.h.Ralph Giles
2012-03-06Used unsigned intermediates with unsigned arguments in fixed_debug.h.Ralph Giles
Corrects a signed-compare warning.
2012-03-06Fix --enable-fixed-point-debug.Ralph Giles
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.
2011-12-02Rename '_FOO' to avoid potentional collisions with reserved identifiers.Ralph Giles
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.
2011-09-14renames the libcelt/ directory to celt/Jean-Marc Valin
2011-04-29Moved all SILK source code to the silk/ directoryJean-Marc Valin
2011-04-25Loss rate adaptation for the CELT layerJean-Marc Valin
2011-03-31draft updateJean-Marc Valin
2011-03-23Build fixesJean-Marc Valin
2011-03-21Making mode switching use the same window as CELT (squared)Jean-Marc Valin
2011-03-18CELT updateJean-Marc Valin
With minor fixes
2011-03-18More project files updateJean-Marc Valin
2011-03-17Fixes a few PLC/DTX bugs due to the recent decode API changeJean-Marc Valin
2011-03-14Adding constrained VBR modeJean-Marc Valin
2011-03-14Draft update (allocationGregory Maxwell
2011-03-12Disable newly introduced CELT signallingJean-Marc Valin
2011-03-10Nothing to see hereJean-Marc Valin
2011-03-09CELT updateJean-Marc Valin
2011-03-08Support for glitchles mode switchingJean-Marc Valin
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.
2011-03-01SILK/CELT updateJean-Marc Valin
2011-02-15preparing the next versionJean-Marc Valin
2011-02-15missing filesJean-Marc Valin
2011-02-15SILK and CELT updatesJean-Marc Valin
2011-02-14Update for in-band FECKoen Vos
2011-02-04draft dateJean-Marc Valin
2011-02-04CELT updateJean-Marc Valin
2011-02-04Tuning the hybrid bit-rate splitKoen Vos
2011-02-04Oops, fixed the CELT versionJean-Marc Valin
2011-02-04Update Opus range coder due to CELT refactoring.Timothy B. Terriberry
The byte buffer is now part of the range coder struct itself, and rangeenc.c and rangedec.c have gone away.