1. 02 Nov, 2018 3 commits
    • Martin Storsjö's avatar
      dav1d: Only return 0/1 from md5_verify · 44cd6e25
      Martin Storsjö authored
      This makes the process exit codes more sensible when failing
      verification; when there's a mismatch, memcmp returns the difference
      between the two first differing bytes, which can fall outside of the
      range of normal exit codes, into the range of exit codes used when
      terminated by a signal.
    • Janne Grunau's avatar
      meson: prevent memory sanitizer builds with asm · 16ce8b1a
      Janne Grunau authored
      For example in dav1d_cdef_brow_{8,10}bpc memory sanitizer can not track
      that variance is initilized by dsp->cdef.dir() it is implemented by in
    • Martin Storsjö's avatar
      arm: Improve use of getauxval in quirky environments · d4fcb70d
      Martin Storsjö authored
      Manually define the necessary HWCAP if sys/auxv.h didn't define
      it. (It isn't defined in the Android NDK, one has to include
      asm/hwcap.h to get definitions of them. Additionally, the aarch64
      cross libc headers in Ubuntu 16.04 lacked HWCAP definitions from
      sys/auxv.h, also present in asm/hwcap.h. Ubuntu 16.04's armhf
      cross libc headers did however define HWCAP values in sys/auxv.h.)
      Don't use any detection at all for NEON on aarch64, since it is a
      mandatory feature there. On WSL on Windows 10 1803 arm64,
      getauxval(AT_HWCAP) returns 0.
  2. 01 Nov, 2018 13 commits
  3. 31 Oct, 2018 5 commits
  4. 30 Oct, 2018 8 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
      CI: add testdata based regression tests · c0351e1b
      Janne Grunau authored
      Fix #102
    • Janne Grunau's avatar
      fuzzing: limit maximum frame size to 4kx4k · 12465310
      Janne Grunau authored
      Avoid out of memory (2Gb) or time out (25s) issues in oss-fuzz.
    • Janne Grunau's avatar
    • Martin Storsjö's avatar
      meson: Simplify the name of the checkasm test target · fa93b8ff
      Martin Storsjö authored
      This simplifies running specifically this test by "meson test checkasm".
    • Marvin Scholz's avatar
      Readme: Add info how to run tests · 8cef1efc
      Marvin Scholz authored
    • Marvin Scholz's avatar
      Do not run other tests parallel with checkasm test · 4a535b9f
      Marvin Scholz authored
      This would result in weird output, as checkasm outputs several lines.
    • Marvin Scholz's avatar
      Add option to include extra testdata tests · ea707934
      Marvin Scholz authored
  5. 29 Oct, 2018 9 commits
  6. 28 Oct, 2018 2 commits