1. 20 Jun, 2017 1 commit
  2. 17 Jun, 2017 1 commit
  3. 13 Jun, 2017 2 commits
  4. 12 Jun, 2017 1 commit
  5. 10 Jun, 2017 1 commit
  6. 08 Jun, 2017 4 commits
    • wm4's avatar
      dxva: add support for new dxva2 and d3d11 hwaccel APIs · f9e7a2f9
      wm4 authored
      This also adds support to avconv (which is trivial due to the new
      hwaccel API being generic enough).
      
      The new decoder setup code in dxva2.c is significantly based on work by
      Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites.
      Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
      f9e7a2f9
    • wm4's avatar
      dxva: move d3d11 locking/unlocking to functions · 831cfe10
      wm4 authored
      I want to make it non-mandatory to set a mutex in the D3D11 device
      context, and replacing it with user callbacks seems like the best
      solution. This is preparation for it. Also makes the code slightly more
      readable.
      Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
      831cfe10
    • 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
  7. 01 Jun, 2017 2 commits
  8. 20 May, 2017 5 commits
  9. 16 May, 2017 2 commits
  10. 15 May, 2017 1 commit
    • Martin Storsjö's avatar
      arm: Avoid using .dn register aliases · d7320ca3
      Martin Storsjö authored
      clang now (in the upcoming 5.0 version) is capable of building our
      arm assembly without relying on gas-preprocessor, although clang/LLVM
      doesn't support .dn register aliases.
      
      The VC1 MC assembly was only built and used if the chosen assembler
      supported the .dn directives though. This was supported as long as
      gas-preprocessor was used.
      
      This means that VC1 decoding got a speed regression on clang 5.0,
      unless the user manually chose using gas-preprocessor again.
      
      By avoiding using the .dn register aliases, we can build the VC1 MC
      assembly with the latest clang version.
      
      Support for the .dn/.qn directives in clang/LLVM isn't actively planned,
      see https://bugs.llvm.org/show_bug.cgi?id=18199.
      
      This partially reverts 896a5bff.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      d7320ca3
  11. 09 May, 2017 3 commits
  12. 04 May, 2017 2 commits
  13. 03 May, 2017 1 commit
    • Alex Converse's avatar
      aacsbr: Turnoff in the event of over read. · 504403ab
      Alex Converse authored
      Aliased compressed AAC bytes are almost certainly not meaningful SBR
      data. In the wild this causes harsh artifacts switching HE-AAC streams
      that don't have SBR headers aligned with segment boundaries.
      
      Turning off SBR falls back to a default set of upsampling parameters
      that can function as a sort of error concealment. This is consistent
      with how the decoder handles other sorts of errors.
      
      Bug-Id: 1047
      CC: libav-stable@libav.org
      Signed-off-by: 's avatarSean McGovern <gseanmcg@gmail.com>
      504403ab
  14. 02 May, 2017 3 commits
  15. 01 May, 2017 1 commit
  16. 30 Apr, 2017 1 commit
  17. 28 Apr, 2017 2 commits
  18. 27 Apr, 2017 3 commits
    • Seppo Tomperi's avatar
      hevc: Add NEON add_residual for bitdepth 8 · 0d4d4351
      Seppo Tomperi authored
      Optimized by Alexandra Hájková.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      0d4d4351
    • Vittorio Giovara's avatar
      mlp_parser: Drop in-parser downmix functionality · 970c76f3
      Vittorio Giovara authored
      request_channel_layout is a decoder option and it makes no sense
      to have it in a parser.
      
      This feature was needed in the past when the decoder was allowed
      to reuse the avctx from the demuxer. Nowadays the decoder receives
      only the parameters from it, already containing the real channel
      layout (and the correct request_channel_layout option).
      
      After initialization the decoder overwrites the channel layout
      with the downmixed one that is actually output, so there is no need
      to preserve this functionality in the parser.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      970c76f3
    • Vittorio Giovara's avatar
      aac_ac3_parser: Drop in-parser downmix functionality · dd3aa85b
      Vittorio Giovara authored
      request_channel_layout is a decoder option and it makes no sense
      to have it in a parser.
      
      This feature was needed in the past when the decoder was allowed
      to reuse the avctx from the demuxer. Nowadays the decoder receives
      only the parameters from it, already containing the real channel
      layout (and the correct request_channel_layout option).
      
      After initialization the decoder overwrites the channel layout
      with the downmixed one that is actually output, so there is no need
      to preserve this functionality in the parser.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      dd3aa85b
  19. 26 Apr, 2017 4 commits