Skip to content
Snippets Groups Projects
  1. Jul 10, 2022
  2. Jul 09, 2022
  3. Jul 08, 2022
  4. Jul 06, 2022
  5. Jul 05, 2022
  6. Jul 01, 2022
  7. Jun 30, 2022
  8. 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.
      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.
      03889ae7
  9. Jun 28, 2022
  10. 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.
      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
  11. 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.
      8101b33e
  12. Apr 02, 2022
Loading