avfilter: add a hflip_vulkan filter

Multimedia / FFmpeg - Wu Jianhua [intel.com] - 19 November 2021 15:47 UTC

The following command is on how to apply hflip_vulkan filter:

ffmpeg -init_hw_device vulkan -i input.264 -vf hwupload=extra_hw_frames=16,hflip_vulkan,hwdownload,format=yuv420p output.264

d313cb5a2f avfilter: add a hflip_vulkan filter
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/vf_hflip_vulkan.c | 278 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 281 insertions(+)

  • Share