1. 06 Nov, 2018 2 commits
    • Ronald S. Bultje's avatar
      Use grouped context setting · e3b5d4d0
      Ronald S. Bultje authored
      Decreases runtime of decoding first 1000 frames of Chimera (1080p, 8bit)
      from 12.227 to 12.075s (average of 6 runs) after changing decode.c, and
      further down to 12.027s (1.67%) with the changes to recon_tmpl.c included.
      After the changes to lf_mask.c, it goes down to 11.842s.
    • Tristan Laurent's avatar
      Add "disable_cdf_update" support · d9470160
      Tristan Laurent authored
  2. 04 Nov, 2018 1 commit
  3. 01 Nov, 2018 1 commit
  4. 31 Oct, 2018 2 commits
  5. 30 Oct, 2018 2 commits
    • Rostislav Pehlivanov's avatar
      Rewrite msac.c · 33d16d81
      Rostislav Pehlivanov authored
      This rewrites msac.c to the point of there being no libaom project
      code left, hence changing the license of the file to the dav1d
      project's license.
      The rewrite much simplifies and optimizes entropy decoding.
      Some encoder specific code also remained, such as tell_offs, to
      tell the fractional amount of bits left, which the decoder does
      not need.
      ctx_refill is much simpler and has a tighter loop with less
      instructions, which on some CPUs can actually be ran in one cycle.
      The old mechanism which checked to see if the buffer reached the
      end to disable calling ctx_refill is gone, as all it saved was
      a mostly well predicted branch.
      The optimizations regarading this function enabled us to use
      an ec_win of 64 bits whilst improving performance. This was not
      possible with the old needlessly robust system.
      Some msac-specific API changes were made - msac_decode_bool now
      takes a scaled value directly rather than doing scaling itself.
      This saves a shift in most use cases as the function is mainly
      used to read equiprobable bools rather than ones with specific
      There's still room for optimizations, mainly in that update_cdf
      could be SIMD'd. This commit prepares for some of them by
      moving the init function at the bottom of the file.
      Overall decoder speedup seems to be around 3%-5%, specific on
      bitrate and encoder as expected.
    • Janne Grunau's avatar
  6. 29 Oct, 2018 2 commits
    • Ronald S. Bultje's avatar
      Don't use msac_decode_bool() for edge partition parsing · 8fac3029
      Ronald S. Bultje authored
      This is identical to what libaom does, and fixes #119. After
      gather_left/top_partition_prob(), probabilities *can* overlap,
      and in extreme cases the output CDF[0] can therefore be 0, which
      will cause an assert failure when used with msac_decode_bool().
    • Janne Grunau's avatar
      unref reference pictures after decoding errors · 9f17489c
      Janne Grunau authored
      Fix #115. Fix 'assert(seg_id < 8)' in
      clusterfuzz-testcase-minimized-dav1d_fuzzer-5740590025670656 due to
      decoding error in the primary reference picture. Credits to oss-fuzz.
  7. 28 Oct, 2018 1 commit
  8. 25 Oct, 2018 1 commit
  9. 24 Oct, 2018 4 commits
  10. 23 Oct, 2018 1 commit
  11. 22 Oct, 2018 2 commits
  12. 21 Oct, 2018 1 commit
  13. 19 Oct, 2018 1 commit
  14. 18 Oct, 2018 3 commits
  15. 13 Oct, 2018 3 commits
  16. 11 Oct, 2018 4 commits
  17. 09 Oct, 2018 1 commit
  18. 08 Oct, 2018 7 commits
  19. 07 Oct, 2018 1 commit