avfilter: add a vflip_vulkan filter

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

The following command is on how to apply vflip_vulkan filter:

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

3188b606d7 avfilter: add a vflip_vulkan filter
configure | 1 +
libavfilter/Makefile | 3 +-
libavfilter/allfilters.c | 1 +
.../{vf_hflip_vulkan.c => vf_flip_vulkan.c} | 106 ++++++++++++++++-----
4 files changed, 84 insertions(+), 27 deletions(-)

  • Share