1. 17 Mar, 2020 7 commits
  2. 16 Mar, 2020 9 commits
  3. 15 Mar, 2020 1 commit
  4. 14 Mar, 2020 16 commits
  5. 13 Mar, 2020 2 commits
  6. 12 Mar, 2020 5 commits
    • Lynne's avatar
      diracdec: rewrite golomb reader · 675bb1f4
      Lynne authored
      This version is able to output multiple coefficients at a time and
      is able to altogether remove actual golomb code parsing.
      Its also able to partially recover the last coefficient in case
      the packet is incomplete.
      
      Total decoder performance gain for 8bit 420 1080p lossless: 40%.
      Total decoder performance gain for 10bit 420 1080p lossless: 40%.
      
      clang was able to vectorize the loop much better than
      my handwritten assembly, but gcc was very naive and didn't.
      
      Lookup table is a rewritten version of vc2hqdecode.
      675bb1f4
    • Lynne's avatar
      d778be6e
    • Lynne's avatar
      hwcontext_vulkan: support more than one plane per DMABUF layer · 6353b9e4
      Lynne authored
      Requires the dmabuf modifiers extension.
      Allows for importing of compressed images with a second plane.
      6353b9e4
    • Lynne's avatar
      hwcontext_vulkan: duplicate DMABUF objects before importing them · b31959d7
      Lynne authored
      The specifications are very vague about who has ownership, and in this case,
      Vulkan takes ownership of all DMABUF FDs passed to it, causing errors
      to occur if someone gave us images for mapping which were meant to be kept.
      The old behavior worked with one-way VAAPI and DMABUF imports, but was broken
      with clients like wlroots' dmabuf-capture.
      b31959d7
    • Lynne's avatar
      hwcontext_vulkan: initialize semaphores of DMABUF imports · 501bd57b
      Lynne authored
      There was a recent change in Intel's driver that triggered a driver-internal
      error if the semaphore given to the command buffer wasn't initialized.
      Given that the specifications require the semaphore to be initialized,
      this is within spec. Unlike what's causing it in the first place, which is
      that there are no ways to extract/import dma sync objects from DMABUFs,
      so we must leave our semaphores bare.
      501bd57b