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

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-13Update build instructionsneural_plcJean-Marc Valin
2022-03-21enable neural PLC by defaultexp_plc_hack4Jean-Marc Valin
2022-03-21Add LPCNet submoduleJean-Marc Valin
2022-03-03updateJean-Marc Valin
2022-02-17Add new PLC filesJean-Marc Valin
2022-01-28WIP: Using LPCNet for PLCJean-Marc Valin
2022-01-15Initialize non-zero test arrays.Tom Denton
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2021-12-19Disable dangerous SSE 4.1 intrinsic optimizationsJean-Marc Valin
These could result in 16-byte-aligned loads on unaligned data, causing a segfault.
2021-12-15Fix buffer overflow in xcorr_kernel_sse4_1Felicia Lim
Before, an overflow can occur in the last loop if `len` is not a multiple of 4 as OP_CVTEPI16_EPI32_M64 tries to load 64 bits, but there are insufficient bits allocated in `x`.
2021-09-28Check channels/stream counts and mapping when creating the multistreamFelicia Lim
encoder
2021-07-08Remove an unused parameterFelicia Lim
2021-06-16meson: fix get-version script for git worktreesTim-Philipp Müller
For git worktree directories .git is not a directory but a file that points to the real .git dir. The `update_version` script used by other builds works correctly with git worktrees. Signed-off-by: Ralph Giles <giles@thaumas.net>
2021-06-10Revert relaxing comparison to 0 for fixed point onlyFelicia Lim
2021-06-08Relax comparison to 0 to avoid a floating point divide-by-zero error.Felicia Lim
2021-05-12cmake - add support to run ctest on android #2347Marcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2021-05-12Fix trailing whitespace.Ralph Giles
This was introduced in February, and fails the corresponding check in gitlab ci runs. Also indent the subsequent lines to match and correct typos. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
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.
2021-02-20Sending refresh DTX packets every 400 ms independently of the encoded frame ↵Jesús de Vicente Peña
size. Signed-off-by: Felicia Lim <flim@google.com>
2021-01-24Fix float-approx negative left shift UBMark Harris
Reported by toto.
2020-12-23ci: fix pipeline run for merge requestsTim-Philipp Müller
This way CI pipeline runs for branches and tags and makes it show up in merge requests where a branch is used as source branch. Makes all jobs show up in merge request CI indicator (not just the whitespace job) and only runs a single CI pipeline, without the additional detached pipeline. https://docs.gitlab.com/ce/ci/yaml/#workflowrules-templates Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-12-09docs: fix simple typo, neareast -> nearestTim Gates
There is a small typo in celt/fixed_generic.h. Should read `nearest` rather than `neareast`. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-26Meson: Fix doc build when opus is a subprojectXavier Claessens
meson.source_root() and meson.build_root() have been deprecated in latest Meson release because they are a trap. They point to the root of parent project instead of root of current subproject. Meson 0.56.0 added meson.project_source/build_root() but it is just as easy to use meson.current_source/build_dir() in the root meson.build file and avoids bumping required meson version. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for fixed point debugMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for check asmMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for fuzzingMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for hardeningMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - add option for assertionsMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21CMakeLists.txt: specify working directory in add_test() directivesDavide Beatrici
This is required for Windows because it doesn't have RPATH, thus it fails to find Opus if it's not in the same directory as the executables or in PATH. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21CMakeLists.txt: specify path to target file in add_test() directivesDavide Beatrici
This is required in case the output path for tests is changed by a project adding Opus as submodule. Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-11-21cmake - change logging of api version to debugMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-10-28Add support for Meson build systemTim-Philipp Müller
Tested on: - Linux/x86* with gcc - Android armv7 arm64 x86 x86_64 with clang - Windows x86 x86_64 with Visual Studio 2017 - Windows x86 x86_64 with MinGW - macOS x86_64 with clang - iOS arm64 x86_64 with clang Co-authored by: Nirbheek Chauhan <nirbheek@centricular.com> https://gitlab.xiph.org/xiph/opus/-/merge_requests/13
2020-08-22Fix MSVC warning about trunction from double to floatNirbheek Chauhan
Specify the precision as float to avoid truncating from double. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-08-22repacketizer_demo: check for read errors to fix compiler warningsNirbheek Chauhan
Actually check for read errors instead of just storing the return value in a variable that then never gets checked. Also fixes "conversion from 'size_t' to 'int', possible loss of data" compiler warnings on Windows with MSVC caused by storing the size_t returned by fread() into an int variable. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-08-22Replace WIN32 with _WIN32 everywhereNirbheek Chauhan
_WIN32 is defined on all Windows platforms by every compiler that targets Windows. We do not need WIN32 at all. Signed-off-by: Mark Harris <mark.hsj@gmail.com> Resolves https://github.com/xiph/opus/pull/104
2020-08-22celt: Fix broken SSE pre-processor check due to typoNirbheek Chauhan
This broke 5 years ago in 43120f00758219a784f952754f33b9788a8d731b Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-08-22silk: Fix incorrect ifdef in debug.cNirbheek Chauhan
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-08-10opus_decoder_fuzzer: limit the number of decodes to avoid timeoutFelicia Lim
2020-08-08cmake - MINGW check for ssp lib and link if security features is enabledMarcus Asteborg
2020-08-08CMake: Make _FORTIFY_SOURCE optionalZeno Endemann
2020-08-08cmake - fix bugs around consuming Opus as a submodule in cmake and package ↵Marcus Asteborg
version parsing
2020-08-08cmake - Fix typo bug in enable_float_api optionMarcus Asteborg
2020-08-08cmake - add warning flags for clang, gcc etc.Marcus Asteborg
2020-08-08gitlab-ci: Run jobs on the gcc:9 image.Ralph Giles
Use a versioned gcc container image for more consistent test results. This is the same version we're using for other projects, but of course it will need to be bumped periodically. The current gcc release is 10.2. The oldest supported release is 8.4, so this is in the middle of the support window. Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2020-07-08configure: adjust x86 get cpu info inline assembly method for PIC casesezero
.. just like the way it is done in celt/x86/x86cpu.c. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-06-18Fix and clean up opus_decode_fuzzerFelicia Lim
Use the fuzzed sub-length of the input data instead of the whole input.
2020-06-16Remove trailing whitespaces in vla.c that was missed previouslyMarcus Asteborg
2020-06-16Add CI to check for trailing whitespaces in merge requestsMarcus Asteborg
2020-06-14Fix arm build with rtcd enabled.Ralph Giles
The autotools build doesn't set OPUS_HAVE_RTCD for arm targets, assuming all the supported intrinsics will work on the runtime cpu. The cmake build however defines this by default when the neon extension is available on the target. On Linux, the runtime cpu detection reads /proc/cpuinfo, so removing stdio.h from celt/os_support.h meant that the cmake build for arm targets failed. We don't currently have ci runs for that configuration, so this only became apparent through manual testing. Signed-off-by: Marcus Asteborg <maastebo@microsoft.com> Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-06-14Fix trailing whitspace in previous commitMarcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-06-14Prefer SSE and ASM implementation of float2int before lrintf for MSVCMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>