[FFmpeg-devel] [PATCH v2 0/8] Vulkan mapping and filtering infrastructure

Rostislav Pehlivanov atomnuker at gmail.com
Sun Apr 22 19:47:43 EEST 2018


The plan is to eventually be able to apply effects and encode entirely
on the GPU.

Rostislav Pehlivanov (8):
  hwcontext_internal: add ff_hwframe_map_replace
  hwcontext_opencl: use ff_hwframe_map_replace()
  lavu: add a Vulkan hwcontext
  lavfi: add common Vulkan filtering code
  lavfi: add a Vulkan avgblur filter
  lavfi: add a Vulkan chromatic aberration filter
  lavfi: add a Vulkan scale filter
  lavfi: add a Vulkan overlay filter

 configure                                   |   24 +-
 doc/APIchanges                              |    3 +
 libavfilter/Makefile                        |    4 +
 libavfilter/allfilters.c                    |    4 +
 libavfilter/vf_avgblur_vulkan.c             |  343 +++
 libavfilter/vf_chromaticaberration_vulkan.c |  342 +++
 libavfilter/vf_overlay_vulkan.c             |  458 ++++
 libavfilter/vf_scale_vulkan.c               |  386 ++++
 libavfilter/vulkan.c                        | 1450 +++++++++++++
 libavfilter/vulkan.h                        |  234 ++
 libavutil/Makefile                          |    3 +
 libavutil/hwcontext.c                       |   11 +
 libavutil/hwcontext.h                       |    1 +
 libavutil/hwcontext_internal.h              |    6 +
 libavutil/hwcontext_opencl.c                |    5 +-
 libavutil/hwcontext_vulkan.c                | 2125 +++++++++++++++++++
 libavutil/hwcontext_vulkan.h                |  133 ++
 libavutil/pixdesc.c                         |    4 +
 libavutil/pixfmt.h                          |    4 +
 libavutil/version.h                         |    2 +-
 20 files changed, 5536 insertions(+), 6 deletions(-)
 create mode 100644 libavfilter/vf_avgblur_vulkan.c
 create mode 100644 libavfilter/vf_chromaticaberration_vulkan.c
 create mode 100644 libavfilter/vf_overlay_vulkan.c
 create mode 100644 libavfilter/vf_scale_vulkan.c
 create mode 100644 libavfilter/vulkan.c
 create mode 100644 libavfilter/vulkan.h
 create mode 100644 libavutil/hwcontext_vulkan.c
 create mode 100644 libavutil/hwcontext_vulkan.h

-- 
2.17.0



More information about the ffmpeg-devel mailing list