1. 26 Jun, 2022 2 commits
    • Mark Harris's avatar
      Fix 8101b33e to decode ignored redundancy · 57ddf37c
      Mark Harris authored
      Even if the redundancy is ignored, the final range from the decoder is
      needed for testing.
      
      Reviewed by Timothy B. Terriberry.
      57ddf37c
    • Jean-Marc Valin's avatar
      Improve background noise estimation for CELT DTX · 63855aff
      Jean-Marc Valin authored
      We now update the background noise estimate even in frames classified
      as transient. It shouldn't be a problem because we're using min
      statistics. Also, it avoids problems when update frames get
      missclassified as transient.
      
      In addition, we now use the duration of losses rather than the
      number of lost packets to make decisions. That should make
      PLC/DTX behaviour more consistent across frame sizes.
      63855aff
  2. 25 Jun, 2022 1 commit
    • Mark Harris's avatar
      Correct redundancy handling with lost/DTX frames · 8101b33e
      Mark Harris authored
      In https://github.com/xiph/opus/issues/253, the encoder generates a
      Hybrid frame with redundancy, to switch to CELT-only mode, and then
      activates DTX immediately afterwards.  The decoder ran Hybrid PLC,
      which isn't right.  Use CELT PLC instead if there was already a
      transition to CELT via redundancy at the end of the previous frame.
      
      Also do not use a stale CELT decoder to decode a second redundancy
      frame when the first redundancy frame for a transition from SILK-only
      mode was lost.  Instead of mixing in old audio from the last time
      that CELT was used, ignore the second redundancy frame in this case.
      Alternatively the CELT decoder could be reset before decoding, but
      it would not be ready until after the 2.5 ms of audio that is needed.
      
      Reviewed by Jean-Marc Valin.
      8101b33e
  3. 02 Apr, 2022 2 commits
  4. 01 Apr, 2022 2 commits
  5. 08 Mar, 2022 1 commit
  6. 24 Feb, 2022 1 commit
  7. 14 Jan, 2022 1 commit
  8. 18 Dec, 2021 1 commit
  9. 15 Dec, 2021 1 commit
    • Felicia Lim's avatar
      Fix buffer overflow in xcorr_kernel_sse4_1 · ec64b3c5
      Felicia Lim authored
      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`.
      ec64b3c5
  10. 28 Sep, 2021 1 commit
  11. 08 Jul, 2021 1 commit
  12. 15 Jun, 2021 1 commit
  13. 10 Jun, 2021 1 commit
  14. 07 Jun, 2021 1 commit
  15. 12 May, 2021 2 commits
  16. 03 Mar, 2021 1 commit
    • Felicia Lim's avatar
      celt_lpc: avoid overflows when computing lpcs in fixed point · 7b05f44f
      Felicia Lim authored
      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.
      7b05f44f
  17. 19 Feb, 2021 1 commit
  18. 23 Jan, 2021 1 commit
  19. 23 Dec, 2020 1 commit
  20. 08 Dec, 2020 1 commit
  21. 26 Nov, 2020 1 commit
    • Xavier Claessens's avatar
      Meson: Fix doc build when opus is a subproject · d2f6805c
      Xavier Claessens authored and Ralph Giles's avatar Ralph Giles committed
      
      
      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's avatarRalph Giles <giles@thaumas.net>
      d2f6805c
  22. 21 Nov, 2020 8 commits
  23. 28 Oct, 2020 1 commit
    • Tim-Philipp Müller's avatar
      Add support for Meson build system · c2b542b6
      Tim-Philipp Müller authored
      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>
      
      xiph/opus!13
      c2b542b6
  24. 22 Aug, 2020 5 commits
  25. 10 Aug, 2020 1 commit