diff options
author | Wenbin Chen <wenbin.chen@intel.com> | 2021-12-07 12:05:53 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2021-12-10 19:03:48 +0300 |
commit | 83fe28221e92921f74d99ed15c258a3c79f4441d (patch) | |
tree | b749c1f3240012bc895e5f4259e2fc2b3abf291e /libswscale | |
parent | 0d524b170ec4bf762e11c49743d813de650d409a (diff) |
hwcontext_vulkan: support creating DRM-tiled images and autodetecting modifiers
When vulkan image exports to drm, the tilling need to be
VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan
image using this format.
Now the following command line works:
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format \
vaapi -i input_1080p.264 -vf "hwmap=derive_device=vulkan,format=vulkan, \
scale_vulkan=1920:1080,hwmap=derive_device=vaapi,format=vaapi" -c:v h264_vaapi output.264
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Further-modifications-by: Lynne <dev@lynne.ee>
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions