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
2023-11-04Match silenced overflow checks in the sse4.1 versionHEADmasterFelicia Lim
Update silk/x86/NSQ_del_dec_sse4_1.c to match the remaining silk/NSQ_del_dec.c changes made in https://gitlab.xiph.org/xiph/opus/-/commit/c913dc38
2023-10-24Silence some overflow checksFelicia Lim
Co-authored-by: James Zern <jzern@google.com>
2023-08-11Fixes stack overflow for some custom modesJean-Marc Valin
This only affects custom modes (builds with --enable-custom-modes) with frame sizes 2.5, 5, 10, and 20ms and sampling rates below 40 kHz. The problem does not affect normal use of Opus (using OpusEncoder/OpusDecoder) even when built with custom modes enabled, but only special applications that use OpusCustomEncoder/OpusCustomDecoder.
2023-06-14Fix Gitlab CIMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2023-05-28cmake instructionsMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2023-04-27ci: add ci-fairy linter to make sure commits are GPG signedTim-Philipp Müller
2023-04-26ci: add arm64 CITim-Philipp Müller
2023-04-26meson: fix build on arm64Tim-Philipp Müller
Would fail like: Checking if "compiler supports ARMv7/AArch64 NEON intrinsics" : links: NO Checking if "compiler supports ARMv7/AArch64 NEON intrinsics with -mfpu=neon" : links: YES Checking if "compiler supports AArch64 NEON intrinsics" : links: NO Checking if "compiler supports AArch64 NEON intrinsics with -mfpu=neon" : links: NO Message: Compiler does not support AArch64 NEON intrinsics ../silk/meson.build:28:45: ERROR: Unknown variable "have_arm_intrinsics_or_asm". since commit 08088411259056f63774befb2d00951fdd5c46ba.
2023-04-21docs: replace fgrep with grep -FClaudio Saavedra
It's been deprecated for decades and in Debian system it's starting to print warnings. Just use grep -F instead. Signed-off-by: Ralph Giles <giles@thaumas.net>
2023-04-19oops, avoid using a reserved identifierv1.4Jean-Marc Valin
2023-04-18Avoid "ISO C forbids an empty translation unit"Jean-Marc Valin
Add dummy typedef to avoid the warning
2023-04-18Bump LT versionJean-Marc Valin
Added OPUS_SET_INBAND_FEC(2) since previous version
2023-01-18Make CELT FFT twiddle complex type alignedZheng Lv
This makes kiss_twiddle_cpx 4-byte aligned (instead of 2-byte) for fixed-point builds. Tested with an armv6j+nofp development board, CELT encoding becomes 1.4x as fast, and decoding over 2x. Performance gain is mostly attributed to the proper alignment of the static const array mdct_twiddles960. Co-authored-by: David Gao <davidgao@google.com> Signed-off-by: Felicia Lim <flim@google.com>
2022-11-25opus.m4: fix -Wstrict-prototypesSam James
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-09-06Fix typo in MacroDebug.h comment.Nathan E. Egge
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2022-08-05Change pitch scaling behavior wrt nFramesPerPacketJean-Marc Valin
Not sure if it was the original intent, but we now reduce the loss percentage threshold for pitch scaling as 1/nFramesPerPacket since only the first frame will have pitch scaling anyway. As a side effect, this brings back the original behavior of disabling pitch scaling for 0% loss.
2022-07-24Smooth out the LBRR rate estimateJean-Marc Valin
Reduces fluctuations in the non-FEC target bitrate.
2022-07-24More FEC tuning: lowering the LBRR bitrate a bitJean-Marc Valin
2022-07-24Re-tuning the use of LTP scalingJean-Marc Valin
Making LTP scaling depend on the bitrate and whether FEC is on. The thresholds for scaling 1 and 2 are now independent.
2022-07-22Ensuring we can see where crashes occurJean-Marc Valin
Reviewed by Mark Harris
2022-07-22More ubsan fixes for the debug macros themselvesJean-Marc Valin
Reviewed by Mark Harris
2022-07-22Using saturating round to fix some wrap-aroundsJean-Marc Valin
Reviewed by Mark Harris
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-15Fix NORM_ALIASING_HACKJean-Marc Valin
We need to move the history out of the way before we write to the shape array X, or else we get corruption of the audio. Signed-off-by: Jean-Marc Valin <jmvalin@amazon.com>
2022-07-13Silence MSVC C4244 warningMarcus Asteborg
When building with FLOAT_APPROX. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-11Silence Clang 13+ null-pointer-subtraction warningMark Harris
2022-07-10Only build platform RTCD sources when enabled.Timothy B. Terriberry
To avoid issues with empty compilation units.
2022-07-10Don't compile x86 cpu detection without RTCD.Timothy B. Terriberry
Also #error if RTCD is enabled without a detection method, like Arm. A number of SILK functions also still used the lookup tables, even when RTCD was disabled. Fix those, too.
2022-07-10Make silk/x86 header indentation consistent.Timothy B. Terriberry
The indentation for nested #ifs was all over the place.
2022-07-09Fix C90-related warningsexp_warnings1Jean-Marc Valin
2022-07-09update doc on custom modeMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2022-07-08cmake - move warning C4244 to level 4Marcus Asteborg
Opus compare is used to generate test vectors so no cosmetic changes is taken. Hence we move this warning to level 4 for opus compare. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-08cmake - fix rtcd detection on x86 non windowsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-08cmake - fix lrintf, lrint detectionMarcus Asteborg
This commit addresses the issues of not finding lrintf and lrint. We switch to check_symbol_exists instead per cmake documentation. Also make sure to link math lib for detection for nix. For MSVC the issue for non x86 builds was that the standard was set to default which is 199409L. This resulted in not using lrintf even that it was found. To address this we set the C standard to C11 and it will only apply to newer versions of MSVC where the /std flag is supported. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-08Fix uninitialized field on custom mode malloc failMark Harris
2022-07-06meson: Fix reporting of cpu family if intrinsics not supportedDoug Nazar
Signed-off-by: Doug Nazar <nazard@nazar.ca>
2022-07-06Update x86 CPU detection configure check.Timothy B. Terriberry
Commit 6577534a80c8 switched from using __get_cpuid() to __get_cpuid_count(), but the corresponding configure check was not updated. Since __get_cpuid_count() was introduced much later, make sure we check for the function we actually use. Thanks to Mark Harris for the report.
2022-07-06Fix warnings when compiling with FUZZING enabledJean-Marc Valin
2022-07-06cmake - Add OPUS_BUILD to test targetsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06doc: Use consistent alternative notationMark Harris
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06Fix opus.h for doxygen when referencing alternative valuesAlexander Traud
Doxygen was not able to resolve the references because it looked for OPUS_APPLICATION_VOIP/@ref. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06Remove unused variable in testsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06Replace assert with test_failed function in testMarcus Asteborg
This will fix -Wunused-but-set-variable on gcc 9.3 release build. Also remove unused assert.h. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-06Fix warning with --disable-rfc8251Jean-Marc Valin
2022-07-06Fix quoting and whitespace errors in build testMark Harris
Reviewed by Jean-Marc Valin.
2022-07-06Silence GCC 11+ -Wmaybe-uninitialized warningsMark Harris
Reviewed by Timothy B. Terriberry.
2022-07-06Avoids incrementing uninitialized valuesJean-Marc Valin
The values were never used, but ubsan + valgrind would complain. Reviewed by Mark Harris
2022-07-06Avoid undefined behaviour within the debug macrosJean-Marc Valin
Even when the macro itself would overflow. Reviewed by Mark Harris
2022-07-06Fix fixed-point overflow in pitch downsamplingJean-Marc Valin
Reviewed by Mark Harris
2022-07-06Fix some 16-bit overflows (using 32-bit macros)Jean-Marc Valin
Reviewed by Mark Harris