1. 15 Feb, 2020 1 commit
  2. 19 Apr, 2019 1 commit
    • Carl Eugen Hoyos's avatar
      lavu/hwcontext_d3d: Cast src pointers calling av_image_copy*(). · a24a1523
      Carl Eugen Hoyos authored
      Silences several warnings:
      libavutil/hwcontext_d3d11va.c:413:49: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type
      libavutil/hwcontext_d3d11va.c:425:47: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type
      libavutil/hwcontext_dxva2.c:351:45: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type
      libavutil/hwcontext_dxva2.c:382:52: warning: passing argument 3 of ‘av_image_copy_uc_from’ from incompatible pointer type
      a24a1523
  3. 25 Jul, 2018 1 commit
  4. 09 Apr, 2018 1 commit
  5. 27 Mar, 2018 1 commit
  6. 16 Jan, 2018 1 commit
    • wm4's avatar
      hwcontext_d3d11va: implement av_hwdevice_get_hwframe_constraints() · 27b9f82e
      wm4 authored
      D3D11 has rather fine grained per format capabilities for different uses
      that can be queried at runtime. Since we don't know what the user wants
      to do with the formats when av_hwdevice_get_hwframe_constraints() is
      called, we simply return all formats that have the most basic support.
      27b9f82e
  7. 25 Nov, 2017 2 commits
  8. 08 Nov, 2017 1 commit
  9. 10 Aug, 2017 1 commit
    • Martin Storsjö's avatar
      d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY · 9042402e
      Martin Storsjö authored
      If using the winstore compat library, a fallback LoadLibrary
      function does exist, that only calls LoadPackagedLibrary though
      (which doesn't work for dynamically loading d3d11 DLLs).
      
      Therefore explicitly check the targeted API family instead.
      
      Make this check a reusable HAVE_* component which other parts
      of the libraries can check when necessary as well.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      
      Merged from Libav commit 4d330da0.
      9042402e
  10. 05 Jul, 2017 1 commit
    • Martin Storsjö's avatar
      d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARY · 1912973a
      Martin Storsjö authored
      If using the winstore compat library, a fallback LoadLibrary
      function does exist, that only calls LoadPackagedLibrary though
      (which doesn't work for dynamically loading d3d11 DLLs).
      
      Therefore explicitly check the targeted API family instead.
      
      Make this check a reusable HAVE_* component which other parts
      of the libraries can check when necessary as well.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      1912973a
  11. 27 Jun, 2017 7 commits
  12. 26 Jun, 2017 4 commits
  13. 18 Jun, 2017 1 commit
  14. 08 Jun, 2017 1 commit
    • wm4's avatar
      lavu: add new D3D11 pixfmt and hwcontext · fff90422
      wm4 authored
      To be used with the new d3d11 hwaccel decode API.
      
      With the new hwaccel API, we don't want surfaces to depend on the
      decoder (other than the required dimension and format). The old D3D11VA
      pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the
      decoder configuration, and thus is incompatible with the new hwaccel
      API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D
      and an index. It's simpler and compatible with the new hwaccel API.
      
      The introduced hwcontext supports only the new pixfmt.
      
      Frame upload code untested.
      
      Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with
      heavy changes/rewrites.
      Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
      fff90422