summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale_vulkan.c
diff options
context:
space:
mode:
authorWu Jianhua <jianhua.wu@intel.com>2022-01-12 12:41:33 +0800
committerLynne <dev@lynne.ee>2022-02-22 05:46:06 +0100
commit8f470133f6304aae11c3c93053dd5982507ec0e8 (patch)
treefedb153a4b5f02412428a564d24206a3781f54d5 /libavfilter/vf_scale_vulkan.c
parent0aa714244235f55cb31755cbda3714971082ff7d (diff)
avfilter/vf_blend_vulkan: add multiply blend mode
Use the commands below to test: (href: https://trac.ffmpeg.org/wiki/Blend) I. make an image for test ffmpeg -f lavfi -i color=s=256x256,geq=r='H-1-Y':g='H-1-Y':b='H-1-Y' -frames 1 \ -y -pix_fmt yuv420p test.jpg II. blend in sw ffmpeg -i test.jpg -vf "split[a][b];[b]transpose[b];[a][b]blend=all_mode=multiply,\ pseudocolor=preset=turbo" -y multiply_sw.jpg III. blend in vulkan ffmpeg -init_hw_device vulkan -i test.jpg -vf "split[a][b];[b]transpose[b];\ [a]hwupload[a];[b]hwupload[b];[a][b]blend_vulkan=all_mode=multiply,hwdownload,\ format=yuv420p,pseudocolor=preset=turbo" -y multiply_vulkan.jpg Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
Diffstat (limited to 'libavfilter/vf_scale_vulkan.c')
0 files changed, 0 insertions, 0 deletions