1. 05 Jul, 2022 5 commits
  2. 01 Jul, 2022 1 commit
  3. 30 Jun, 2022 2 commits
  4. 29 Jun, 2022 2 commits
    • Timothy B. Terriberry's avatar
      Work around a valgrind false-positive in CPUID. · 6577534a
      Timothy B. Terriberry authored
      Valgrind versions prior to 3.17.0 assume that an uninitialized value
       in ECX causes the whole output of CPUID to be uninitialized, even
       though ECX is only "read" by CPUID for certain values of EAX.
      Work around that by guaranteeing that ECX is initialized.
    • Timothy B. Terriberry's avatar
      Check the return value of __get_cpuid(). · 03889ae7
      Timothy B. Terriberry authored
      This function can fail if CPUID is not supported or the maximum
       supported value of EAX is less than the requested one.
      Check the return value and explicitly disable all SIMD if it does
      This was happening before implicitly because of the initialization
       of info[] to zero, but being explicit about it makes it less likely
       someone will break this behavior because they did not realize what
       was going on.
  5. 28 Jun, 2022 4 commits
  6. 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.
    • 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.
  7. 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.
  8. 02 Apr, 2022 2 commits
  9. 01 Apr, 2022 2 commits
  10. 08 Mar, 2022 1 commit
  11. 24 Feb, 2022 1 commit
  12. 14 Jan, 2022 1 commit
  13. 18 Dec, 2021 1 commit
  14. 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`.
  15. 28 Sep, 2021 1 commit
  16. 08 Jul, 2021 1 commit
  17. 15 Jun, 2021 1 commit
  18. 10 Jun, 2021 1 commit
  19. 07 Jun, 2021 1 commit
  20. 12 May, 2021 2 commits
  21. 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.
  22. 19 Feb, 2021 1 commit
  23. 23 Jan, 2021 1 commit
  24. 23 Dec, 2020 1 commit
  25. 08 Dec, 2020 1 commit
  26. 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>
  27. 21 Nov, 2020 1 commit