lavfi: add Vulkan filtering framework

Multimedia / FFmpeg - Lynne [lynne.ee] - 4 February 2020 23:19 EST

This commit adds a Vulkan filtering infrastructure for libavfilter. It attempts to abstract as much as possible of the Vulkan API from filters.

The way the hwcontext and the framework are designed permits for parallel, non-CPU-blocking filtering throughout, with the exception of up/downloading and mapping.

6fca61bbc9 lavfi: add Vulkan filtering framework
configure | 13 +-
libavfilter/Makefile | 2 +
libavfilter/glslang.cpp | 243 ++++++++++
libavfilter/glslang.h | 52 ++
libavfilter/vulkan.c | 1236 +++++++++++++++++++++++++++++++++++++++++++++++
libavfilter/vulkan.h | 323 +++++++++++++
6 files changed, 1864 insertions(+), 5 deletions(-)

  • Share