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
2018-09-14Fixes packet parsing for 16-bit CPUsv1.3-rc2Jean-Marc Valin
Without that change, a very long (> 682 ms) illegal packet could trigger a wrap-around in the test and be accepted as valid. Only 16-bit architectures (e.g. TI C5x) were affected.
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
2016-07-15Slightly increase the safety margin for opus_pcm_soft_clip()v1.1.3Jean-Marc Valin
No values outside of +/-1 detected now.
2016-07-15Fixes opus_pcm_soft_clip() returning values slightly larger than +/-1 with ↵Jean-Marc Valin
-ffast-math
2016-07-07make len==0 return OPUS_INVALID_PACKET rather than OPUS_BAD_ARG for ↵Jean-Marc Valin
opus_packet_parse_impl() len<0 still returns OPUS_BAD_ARG
2016-07-07Check for len<1 in opus_packet_parse_impl()Jean-Marc Valin
Rather than read invalid memory
2014-01-30Moves opus_packet_get_samples_per_frame() to opus.cJean-Marc Valin
2013-11-22Minor opus_pcm_soft_clip API hardening and tests.Gregory Maxwell
2013-10-29Moves opus_packet_parse_impl() from opus_decoder.c to opus.cJean-Marc Valin
Because it's indirectly used in the encoder (through the repackerizer).
2013-03-02Applies soft-clipping to the int decoder API.Jean-Marc Valin
opus_decode() and opus_multistream_decode() now apply soft clipping before converting to 16-bit int. This should produce better a higher quality result than hard clipping like we were doing before. The _float() API isn't affected, but the clipping function is exported so users can manually apply the soft clipping.
2012-04-21s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"Jean-Marc Valin
Also added 3rd clause to "master" COPYING file
2011-09-08Move the fallback OPUS_VERSION to libcelt.Ralph Giles
In f9265ddf25cc opus_get_version_string() was moved to libcelt, but the fallback definition for OPUS_VERSION stayed in src/opus.c. This is helpful for those using and external build system, which may not duplicate all the defines from the included build files.
2011-09-01opus_strerror() and opus_get_version_string() moved to libceltJean-Marc Valin
2011-08-23encode_size() moved out of opus_encoder.cJean-Marc Valin
2011-08-13Identifying the fuzzing builds in the version stringJean-Marc Valin
2011-08-02Remove duplicate 'libopus' from the fallback version string.Ralph Giles
Thanks to Tim Terriberry for pointing out the issue.
2011-08-02Use 'libopus' rather than 'Opus' in the version string.Ralph Giles
This better distinguishes the reference implementation, which is what this string is meant to do. Thanks to Greg Maxwell for the suggestion.
2011-08-02Prepend "Opus" to the version string.Ralph Giles
This lets users print it out without context, which is a little easier for clients.
2011-08-02Define a fallback version string.Ralph Giles
The new opus_get_version_string() call just returns a static string defined by OPUS_VERSION, which is passed in from the build system through config.h (or a custom compile line). Provide a fallback to "unknown" if the build system fails to actually provide that definition. This restores compilation with Makefile.draft. In general, this means there will be builds out there with non-specific version strings, since ports won't be forced to update the string. While that's unfortunate, I think it's more valuable that the library be simple to build.
2011-08-02forgot to include opus.h from opus.cJean-Marc Valin
2011-08-01Add a function to query the Opus versionJean-Marc Valin
2011-07-05Adding code for Opus CustomJean-Marc Valin