[FFmpeg-devel] [PATCH 0/6] fixes for HEVC GPU accelerated codec

Nablet Developer sdk at nablet.com
Tue Aug 16 13:10:01 EEST 2016


We have create 6 patches based on latest
ffmpeg-master: 3282e31baaa77d161a4451c27ad0d45f78e1da0a
With these patches:
1.      We modify HEVC plugin loading order, default to HW plugin,
        since HEVC can be supported in SKL platform.
2.      Move code in vaapi_allocator.c to ffmpeg_qsv.c, and re-use
        hwaccel_context to enable video-memory transcoding.
3.      Enabled VPP and fixed some issues.
4.      Fixed some issues which is found by customer 

ChaoX A Liu (6):
  lavc/qsv(hevc): Change default plugin from hevc_sw to hevc_default,
    which will load hevc_hw first, due to newly released MSDK.
  lavf/vpp: Enable vpp filter, an Intel GPU accelerated scaler.
  lavc/qsv: Enable hwaccel qsv_vidmem.
  lavf/vpp: enable video memory accel for transcoding with vpp.
    lavc/qsv: export symbols "ff_qsv_*" which will be used by vpp.
    ffmpeg_qsv: set default hwaccel to qsv.
  lavc/qsvdec: Reset decoder if MFX_ERR_UNDEFINED_BEHAVIOR is caught,
    because this error may get decoder stuck.
  lavc/qsv-lavc/vpp: Promote gpu_copy to be a selectable parameter.
    GPU-copy is defaultly closed because it seems to be unstable.

 configure                 |   3 +
 ffmpeg.c                  |   2 +-
 ffmpeg.h                  |   2 +
 ffmpeg_opt.c              |   2 +-
 ffmpeg_qsv.c              | 668 ++++++++++++++++++++++++++++++-
 libavcodec/libavcodec.v   |   1 +
 libavcodec/qsv.c          |  96 +++--
 libavcodec/qsv.h          |   5 +
 libavcodec/qsv_internal.h |   9 +-
 libavcodec/qsvdec.c       |  52 ++-
 libavcodec/qsvdec_h2645.c |  29 +-
 libavcodec/qsvdec_mpeg2.c |   6 +
 libavcodec/qsvdec_vc1.c   |   6 +
 libavcodec/qsvenc.c       |  14 +-
 libavcodec/qsvenc.h       |   4 +
 libavcodec/qsvenc_hevc.c  |  19 +-
 libavfilter/Makefile      |   1 +
 libavfilter/allfilters.c  |   1 +
 libavfilter/vf_vpp.c      | 976 ++++++++++++++++++++++++++++++++++++++++++++++
 19 files changed, 1828 insertions(+), 68 deletions(-)
 create mode 100644 libavfilter/vf_vpp.c

-- 
2.5.0



More information about the ffmpeg-devel mailing list