1. 05 Nov, 2018 1 commit
  2. 01 Nov, 2018 2 commits
  3. 30 Oct, 2018 1 commit
  4. 27 Oct, 2018 1 commit
  5. 24 Oct, 2018 2 commits
  6. 23 Oct, 2018 1 commit
    • Devin Heitmueller's avatar
      lavc/h264: create AVFrame side data from H.264 timecodes · 4241e44a
      Devin Heitmueller authored
      Create SMPTE ST 12-1 timecodes based on H.264 SEI picture timing
      info.
      
      For framerates > 30 FPS, the field flag is used in conjunction with
      pairs of frames which contain the same frame timestamp in S12M.
      Ensure the field is properly set per the spec.
      4241e44a
  7. 11 Oct, 2018 2 commits
    • Zhong Li's avatar
      lavu/qsv: make a copy as libmfx alignment requirement for uploading · 681aa7d1
      Zhong Li authored
      Libmfx requires 16 bytes aligned input/output for uploading.
      Currently only output is 16 byte aligned and assigning same width/height to
      input with smaller buffer size actually, thus definitely will cause segment fault.
      
      Can reproduce with any 1080p nv12 rawvideo input:
      ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -f rawvideo -pix_fmt nv12 -s:v 1920x1080
      -i 1080p_nv12.yuv -vf 'format=nv12,hwupload=extra_hw_frames=16,hwdownload,format=nv12' -an -y out_nv12.yuv
      
      It can fix #7418
      Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
      681aa7d1
    • Zhong Li's avatar
      lavu/hwcontext_qsv: Add support for AV_PIX_FMT_BGRA. · a5e1cb9e
      Zhong Li authored
      RGB32(AV_PIX_FMT_BGRA on intel platforms) format may be used as overlay with alpha blending.
      So add AV_PIX_FMT_BGRA format support.
      
      One example of alpha blending overlay: ffmpeg -hwaccel qsv -c:v h264_qsv -i BA1_Sony_D.jsv
      -filter_complex 'movie=lena-rgba.png,hwupload=extra_hw_frames=16[a];[0:v][a]overlay_qsv=x=10:y=10'
      -c:v h264_qsv -y out.mp4
      
      Rename RGB32 to be BGRA to make it clearer as Mark Thompson's suggestion.
      
      V2: Add P010 format support else will introduce HEVC 10bit encoding regression.
          Thanks for LinJie's discovery.
      Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
      Verified-by: 's avatarFu, Linjie <linjie.fu@intel.com>
      a5e1cb9e
  8. 07 Oct, 2018 3 commits
  9. 03 Oct, 2018 1 commit
  10. 23 Sep, 2018 2 commits
    • Mark Thompson's avatar
      hwcontext_vaapi: Improve format mapping · 40724026
      Mark Thompson authored
      Give the entries in the VAAPI format map table an explicit type and add
      functions to do the necessary lookups.  Add another field to this table
      indicating whether the chroma planes are swapped (as in YV12), and use
      that rather than explicit comparisons where swapping is needed.
      40724026
    • Mark Thompson's avatar
      hwcontext_vaapi: Improve logging around quirk detection · 852c7ba3
      Mark Thompson authored
      Clarify that the list is the naughty list, and therefore being on it is
      not desirable.  The i965 driver does not need to be on the list after
      version 2.0 (when the standard parameter buffer rendering behaviour was
      changed).
      852c7ba3
  11. 21 Sep, 2018 1 commit
  12. 14 Sep, 2018 2 commits
  13. 12 Sep, 2018 1 commit
  14. 09 Sep, 2018 3 commits
  15. 04 Sep, 2018 1 commit
  16. 02 Sep, 2018 1 commit
  17. 14 Aug, 2018 1 commit
  18. 11 Aug, 2018 1 commit
  19. 05 Aug, 2018 1 commit
  20. 01 Aug, 2018 2 commits
  21. 31 Jul, 2018 2 commits
    • Jun Zhao's avatar
      avutil/pixelutils: sad_32x32 sse2/avx2 optimizations. · d36b8394
      Jun Zhao authored
      add ff_pixelutils_sad_32x32_sse2, ff_pixelutils_sad_{a,u}_32x32_sse2,
      ff_pixelutils_sad_32x32_avx22, ff_pixelutils_sad_{a,u}_32x32_avx2
      
      use perf record/report profiling, get instructions:u for avx2 sad_32x32:
      
        72.05%  pixelutils  pixelutils     [.] block_sad_32x32_c
        18.50%  pixelutils  pixelutils     [.] block_sad_16x16_c
         4.78%  pixelutils  pixelutils     [.] block_sad_8x8_c
         2.69%  pixelutils  pixelutils     [.] block_sad_4x4_c
         0.89%  pixelutils  pixelutils     [.] block_sad_2x2_c
         0.16%  pixelutils  pixelutils     [.] ff_pixelutils_sad_32x32_avx2
         0.16%  pixelutils  pixelutils     [.] ff_pixelutils_sad_u_32x32_avx2
         0.12%  pixelutils  pixelutils     [.] ff_pixelutils_sad_a_32x32_avx2
      
      sse2 sad_32x32 instructions:u like:
      
        71.86%  pixelutils  pixelutils     [.] block_sad_32x32_c
        18.42%  pixelutils  pixelutils     [.] block_sad_16x16_c
         4.81%  pixelutils  pixelutils     [.] block_sad_8x8_c
         2.68%  pixelutils  pixelutils     [.] block_sad_4x4_c
         0.88%  pixelutils  pixelutils     [.] block_sad_2x2_c
         0.29%  pixelutils  pixelutils     [.] ff_pixelutils_sad_32x32_sse2
         0.26%  pixelutils  pixelutils     [.] ff_pixelutils_sad_u_32x32_sse2
         0.23%  pixelutils  pixelutils     [.] ff_pixelutils_sad_a_32x32_sse2
      Signed-off-by: 's avatarJun Zhao <mypopydev@gmail.com>
      d36b8394
    • Jun Zhao's avatar
      lavutil/pixelutils: add sad_32x32 in pixelutils API. · b8bf7408
      Jun Zhao authored
      add sad_32x32 in pixelutils API, and update the fate.
      Signed-off-by: 's avatarJun Zhao <mypopydev@gmail.com>
      b8bf7408
  22. 25 Jul, 2018 1 commit
  23. 20 Jul, 2018 1 commit
  24. 19 Jul, 2018 1 commit
  25. 11 Jul, 2018 1 commit
  26. 28 Jun, 2018 3 commits
  27. 27 Jun, 2018 1 commit