aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/cdg.c
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2024-06-11 12:55:47 +0800
committerLynne <dev@lynne.ee>2024-06-12 01:53:18 +0200
commita4630d479a54058f5abfd56fdcfd0b454e5de0ee (patch)
tree5fde9a298fc9bc5201a4669a9f8311471f8e5a23 /libavformat/cdg.c
parent9c9f095e30c196c0e3d510dc5300182ddb49a803 (diff)
downloadffmpeg-a4630d479a54058f5abfd56fdcfd0b454e5de0ee.tar.gz
lavu/hwcontext_vulkan: Support write on drm frame
Otherwise nothing is written into the destination when a write mapping is requested. For example, a vulkan frame mapped from a drm frame (which is wrapped as a vaapi frame in the example) is used as the output of scale_vulkan filter, it always gets a green screen without this patch. ffmpeg -init_hw_device vaapi=va -init_hw_device vulkan=vulkan@va -filter_hw_device vulkan -f lavfi -i testsrc=size=352x288,format=nv12 -vf "hwupload,scale_vulkan,hwmap=derive_device=vaapi:reverse=1,format=vaapi,hwdownload,format=nv12" -f nut - | ffplay - Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavformat/cdg.c')
0 files changed, 0 insertions, 0 deletions