Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Using LPCNet version with FECexp_neural_fec2b | Jean-Marc Valin | 2022-11-24 | 1 | -0/+0 |
| | |||||
* | Experimentng with padding extensions | Jean-Marc Valin | 2022-11-24 | 6 | -11/+326 |
| | |||||
* | Hooking up FEC for ICASSP results | Jean-Marc Valin | 2022-11-24 | 3 | -4/+54 |
| | |||||
* | More general Laplace encoderexp_neural_fec2 | Jean-Marc Valin | 2022-09-15 | 5 | -0/+153 |
| | |||||
* | Update build instructions | Jean-Marc Valin | 2022-09-15 | 1 | -0/+3 |
| | |||||
* | enable neural PLC by default | Jean-Marc Valin | 2022-09-15 | 1 | -1/+9 |
| | |||||
* | Add LPCNet submodule | Jean-Marc Valin | 2022-09-15 | 3 | -0/+5 |
| | |||||
* | update | Jean-Marc Valin | 2022-09-15 | 1 | -8/+12 |
| | |||||
* | Add new PLC files | Jean-Marc Valin | 2022-09-15 | 1 | -1/+3 |
| | |||||
* | WIP: Using LPCNet for PLC | Jean-Marc Valin | 2022-09-15 | 4 | -4/+57 |
| | |||||
* | Fix typo in MacroDebug.h comment. | Nathan E. Egge | 2022-09-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca> | ||||
* | Change pitch scaling behavior wrt nFramesPerPacket | Jean-Marc Valin | 2022-08-04 | 2 | -2/+2 |
| | | | | | | | | 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. | ||||
* | Smooth out the LBRR rate estimate | Jean-Marc Valin | 2022-07-24 | 1 | -2/+13 |
| | | | | Reduces fluctuations in the non-FEC target bitrate. | ||||
* | More FEC tuning: lowering the LBRR bitrate a bit | Jean-Marc Valin | 2022-07-24 | 1 | -1/+1 |
| | |||||
* | Re-tuning the use of LTP scaling | Jean-Marc Valin | 2022-07-24 | 2 | -3/+14 |
| | | | | | Making LTP scaling depend on the bitrate and whether FEC is on. The thresholds for scaling 1 and 2 are now independent. | ||||
* | Ensuring we can see where crashes occur | Jean-Marc Valin | 2022-07-22 | 1 | -0/+4 |
| | | | | Reviewed by Mark Harris | ||||
* | More ubsan fixes for the debug macros themselves | Jean-Marc Valin | 2022-07-22 | 1 | -9/+9 |
| | | | | Reviewed by Mark Harris | ||||
* | Using saturating round to fix some wrap-arounds | Jean-Marc Valin | 2022-07-22 | 2 | -9/+9 |
| | | | | Reviewed by Mark Harris | ||||
* | Relaxing checks for MULT16_32_QX() | Jean-Marc Valin | 2022-07-22 | 1 | -2/+2 |
| | | | | | | | | 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 | ||||
* | Fix NORM_ALIASING_HACK | Jean-Marc Valin | 2022-07-15 | 1 | -5/+4 |
| | | | | | | | 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> | ||||
* | Silence MSVC C4244 warning | Marcus Asteborg | 2022-07-12 | 1 | -1/+1 |
| | | | | | | When building with FLOAT_APPROX. Signed-off-by: Mark Harris <mark.hsj@gmail.com> | ||||
* | Silence Clang 13+ null-pointer-subtraction warning | Mark Harris | 2022-07-10 | 1 | -1/+1 |
| | |||||
* | Only build platform RTCD sources when enabled. | Timothy B. Terriberry | 2022-07-09 | 8 | -14/+52 |
| | | | | To avoid issues with empty compilation units. | ||||
* | Don't compile x86 cpu detection without RTCD. | Timothy B. Terriberry | 2022-07-09 | 6 | -24/+36 |
| | | | | | | | 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. | ||||
* | Make silk/x86 header indentation consistent. | Timothy B. Terriberry | 2022-07-09 | 2 | -51/+51 |
| | | | | The indentation for nested #ifs was all over the place. | ||||
* | Fix C90-related warningsexp_warnings1 | Jean-Marc Valin | 2022-07-09 | 6 | -7/+10 |
| | |||||
* | update doc on custom mode | Marcus Asteborg | 2022-07-09 | 1 | -1/+2 |
| | | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca> | ||||
* | cmake - move warning C4244 to level 4 | Marcus Asteborg | 2022-07-07 | 1 | -0/+4 |
| | | | | | | | 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> | ||||
* | cmake - fix rtcd detection on x86 non windows | Marcus Asteborg | 2022-07-07 | 5 | -10/+76 |
| | | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com> | ||||
* | cmake - fix lrintf, lrint detection | Marcus Asteborg | 2022-07-07 | 1 | -9/+20 |
| | | | | | | | | | | | | | 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> | ||||
* | Fix uninitialized field on custom mode malloc fail | Mark Harris | 2022-07-07 | 1 | -0/+3 |
| | |||||
* | meson: Fix reporting of cpu family if intrinsics not supported | Doug Nazar | 2022-07-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Doug Nazar <nazard@nazar.ca> | ||||
* | Update x86 CPU detection configure check. | Timothy B. Terriberry | 2022-07-06 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | Fix warnings when compiling with FUZZING enabled | Jean-Marc Valin | 2022-07-06 | 2 | -0/+6 |
| | |||||
* | cmake - Add OPUS_BUILD to test targets | Marcus Asteborg | 2022-07-05 | 1 | -0/+5 |
| | | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com> | ||||
* | doc: Use consistent alternative notation | Mark Harris | 2022-07-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com> | ||||
* | Fix opus.h for doxygen when referencing alternative values | Alexander Traud | 2022-07-05 | 1 | -1/+1 |
| | | | | | | | 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> | ||||
* | Remove unused variable in tests | Marcus Asteborg | 2022-07-05 | 1 | -6/+3 |
| | | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com> | ||||
* | Replace assert with test_failed function in test | Marcus Asteborg | 2022-07-05 | 3 | -20/+18 |
| | | | | | | | 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> | ||||
* | Fix warning with --disable-rfc8251 | Jean-Marc Valin | 2022-07-05 | 1 | -0/+2 |
| | |||||
* | Fix quoting and whitespace errors in build test | Mark Harris | 2022-07-05 | 2 | -35/+34 |
| | | | | Reviewed by Jean-Marc Valin. | ||||
* | Silence GCC 11+ -Wmaybe-uninitialized warnings | Mark Harris | 2022-07-05 | 1 | -4/+6 |
| | | | | Reviewed by Timothy B. Terriberry. | ||||
* | Avoids incrementing uninitialized values | Jean-Marc Valin | 2022-07-05 | 1 | -4/+10 |
| | | | | | | The values were never used, but ubsan + valgrind would complain. Reviewed by Mark Harris | ||||
* | Avoid undefined behaviour within the debug macros | Jean-Marc Valin | 2022-07-05 | 1 | -2/+2 |
| | | | | | | Even when the macro itself would overflow. Reviewed by Mark Harris | ||||
* | Fix fixed-point overflow in pitch downsampling | Jean-Marc Valin | 2022-07-05 | 1 | -6/+15 |
| | | | | Reviewed by Mark Harris | ||||
* | Fix some 16-bit overflows (using 32-bit macros) | Jean-Marc Valin | 2022-07-05 | 2 | -6/+6 |
| | | | | Reviewed by Mark Harris | ||||
* | Avoid left shifts of negative values in debug macros | Jean-Marc Valin | 2022-07-05 | 2 | -22/+16 |
| | | | | Reviewed by Mark Harris | ||||
* | Work around UBSan unaligned access errors. | Timothy B. Terriberry | 2022-07-05 | 1 | -1/+9 |
| | | | | | | | The underlying objects are all 8-bit integers. Verified that the generated assembly still just uses MOVD. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca> | ||||
* | Add asan/ubsan support in random tests | Jean-Marc Valin | 2022-07-05 | 1 | -3/+6 |
| | |||||
* | Adds OPUS_SET_INBAND_FEC(2) option | Jean-Marc Valin | 2022-06-30 | 3 | -8/+13 |
| | | | | | Unlike OPUS_SET_INBAND_FEC(1), the encoder does not necessarily switch to SILK if we have music. |