1. 11 Feb, 2018 3 commits
    • Mark Thompson's avatar
      lavfi: Add support for increasing hardware frame pool sizes · 6d86cef0
      Mark Thompson authored
      AVFilterContext.extra_hw_frames functions identically to the field of
      the same name in AVCodecContext.
      6d86cef0
    • Mark Thompson's avatar
      lavc: Add per-thread surfaces in get_hw_frame_parameters() · cad739da
      Mark Thompson authored
      This number is definitely required when frame threading is enabled, so
      add it here rather than forcing all users to handle it themselves.
      
      DXVA2 contained this addition in specific code as well (therefore being
      added twice in the internal case) - just remove it from there.
      cad739da
    • Mark Thompson's avatar
      lavc: Add support for increasing hardware frame pool sizes · 5b145290
      Mark Thompson authored
      AVCodecContext.extra_hw_frames is added to the size of hardware frame
      pools created by libavcodec for APIs which require fixed-size pools.
      This allows the user to keep references to a greater number of frames
      after decode, which may be necessary for some use-cases.
      
      It is also added to the initial_pool_size value returned by
      avcodec_get_hw_frames_parameters() if a fixed-size pool is required.
      5b145290
  2. 06 Feb, 2018 4 commits
  3. 04 Feb, 2018 2 commits
  4. 01 Feb, 2018 1 commit
  5. 31 Jan, 2018 1 commit
  6. 26 Jan, 2018 1 commit
    • Zhong Li's avatar
      qsvdec: Relax the surface vs coded dimension check · 6829a079
      Zhong Li authored
      Fix a common vp8 decoding failure.
      
      Many vp8 clips cannot decode if hw_frames_ctx is enabled, reporting
      "Error during QSV decoding.: incompatible video parameters (-14)".
      
      It is due to mfx.FrameInfo.Width/Height not matching coded_w/coded_h.
      
      See: avconv -hwaccel qsv -init_hw_device qsv -c:v vp8_qsv -i vp8-test-vectors-r1/vp80-00-comprehensive-001.ivf
      -vf "hwdownload,format=nv12" -pix_fmt yuv420p -f md5 -
      Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
      Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
      6829a079
  7. 25 Jan, 2018 1 commit
  8. 24 Jan, 2018 1 commit
  9. 16 Jan, 2018 1 commit
  10. 08 Jan, 2018 1 commit
  11. 04 Jan, 2018 1 commit
  12. 01 Jan, 2018 1 commit
  13. 29 Dec, 2017 2 commits
  14. 27 Dec, 2017 1 commit
  15. 20 Dec, 2017 1 commit
  16. 19 Dec, 2017 9 commits
  17. 14 Dec, 2017 1 commit
    • wm4's avatar
      avcodec: add metadata to identify wrappers and hardware decoders · 47687a2f
      wm4 authored
      Explicitly identify decoder/encoder wrappers with a common name. This
      saves API users from guessing by the name suffix. For example, they
      don't have to guess that "h264_qsv" is the h264 QSV implementation, and
      instead they can just check the AVCodec .codec and .wrapper_name fields.
      
      Explicitly mark AVCodec entries that are hardware decoders or most
      likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing
      API users listing hardware decoders in a more generic way. The proposed
      AVCodecHWConfig does not provide this information fully, because it's
      concerned with decoder configuration, not information about the fact
      whether the hardware is used or not.
      
      AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software
      implementations in case the hardware is not capable.
      
      Based on a patch by Philip Langdale <philipl@overt.org>.
      Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
      47687a2f
  18. 12 Dec, 2017 6 commits
  19. 08 Dec, 2017 1 commit
    • Alexandra Hájková's avatar
      hevc: Add hevc_get_pixel_4/8/12/16/24/32/48/64 · 7993ec19
      Alexandra Hájková authored
      Checkasm timings:
      block size bitdepth  C       NEON
      4           8 bit:    146.7   48.7
                 10 bit:    146.7   52.7
      8           8 bit:    430.3   84.4
                 10 bit:    430.4  119.5
      12          8 bit:    812.8  141.0
                 10 bit:    812.8  195.0
      16          8 bit:   1499.1  268.0
                 10 bit:   1498.9  368.4
      24          8 bit:   4394.2  574.8
                 10 bit:   3696.3  804.8
      32          8 bit:   5108.6  568.9
                 10 bit:   4249.6  918.8
      48          8 bit:  16819.6 2304.9
                 10 bit:  13882.0 3178.5
      64          8 bit:  13490.8 1799.5
                 10 bit:  11018.5 2519.4
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      7993ec19
  20. 06 Dec, 2017 1 commit