Skip to content
Snippets Groups Projects
  1. Jun 29, 2022
    • 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.
      Unverified
      6577534a
    • 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
       fail.
      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.
      Unverified
      03889ae7
  2. Jun 28, 2022
  3. Jun 26, 2022
    • 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.
      Verified
      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.
      Unverified
      63855aff
  4. Jun 25, 2022
    • 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.
      Verified
      8101b33e
  5. Apr 02, 2022
  6. Apr 01, 2022
  7. Mar 08, 2022
  8. Feb 24, 2022
  9. Jan 14, 2022
  10. Dec 18, 2021
  11. Dec 15, 2021
  12. Sep 28, 2021
  13. Jul 08, 2021
  14. Jun 15, 2021
  15. Jun 10, 2021
  16. Jun 07, 2021
  17. May 12, 2021
  18. Mar 03, 2021
  19. Feb 19, 2021
  20. Jan 23, 2021
  21. Dec 23, 2020
  22. Dec 08, 2020
  23. Nov 26, 2020
    • 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: default avatarRalph Giles <giles@thaumas.net>
      Verified
      d2f6805c
  24. Nov 21, 2020
  25. Oct 28, 2020
Loading