1. 08 Jun, 2017 3 commits
    • wm4's avatar
      dxva: preparations for new hwaccel API · 4dec101a
      wm4 authored
      The actual hwaccel code will need to access an internal context instead
      of avctx->hwaccel_context, so add a new DXVA_CONTEXT() macro, that will
      dispatch between the "old" external and the new internal context.
      
      Also, the new API requires a new D3D11 pixfmt, so all places which check
      for the pixfmt need to be adjusted. Introduce a ff_dxva2_is_d3d11()
      function, which does the check.
      Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
      4dec101a
    • wm4's avatar
      lavc: set avctx->hwaccel before init · bd747b92
      wm4 authored
      So a hwaccel can access avctx->hwaccel in init for whatever reason. This
      is for the new d3d hwaccel API. We could create separate entrypoints for
      each of the 3 hwaccel types (dxva2, d3d11va, new d3d11va), but this
      seems nicer.
      Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
      bd747b92
    • 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
  2. 06 Jun, 2017 1 commit
  3. 03 Jun, 2017 5 commits
  4. 02 Jun, 2017 1 commit
    • Diego Biurrun's avatar
      tls: Hide backend implementation details from users · 61cec5ad
      Diego Biurrun authored
      TLS is currently implemented over either OpenSSL or GnuTLS, with more
      backends likely to appear in the future. Currently, those backend libraries
      are part of the protocol names used during e.g. the configure stage of a
      build. Hide those details behind a generically-named declaration for the
      TLS protocol to avoid leaking those details into the configuration stage.
      61cec5ad
  5. 01 Jun, 2017 4 commits
  6. 31 May, 2017 3 commits
  7. 29 May, 2017 2 commits
  8. 20 May, 2017 6 commits
  9. 16 May, 2017 4 commits
  10. 15 May, 2017 5 commits
  11. 11 May, 2017 1 commit
  12. 09 May, 2017 3 commits
  13. 08 May, 2017 1 commit
    • Martin Storsjö's avatar
      arm: Check for the .arch directive in configure · 59cee42d
      Martin Storsjö authored
      When targeting windows, the .arch directive isn't available.
      
      So far, when building for windows, we've always used gas-preprocessor,
      both when using msvc's armasm and when using clang. Lately, clang/llvm
      has implemented the last missing piece (altmacro support) for building
      our assembly without gas-preprocessor. This means that we now build
      for arm/windows with clang without any extra compatibility layer.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      59cee42d
  14. 04 May, 2017 1 commit