You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
vulkan_ffv1: cache only 2 lines when decoding RGB
This reduces the intermediate VRAM used for RGB decoding by a factor of 100x for 6k video. This also speeds the decoder up by 16% for 4k RGB24 and 31% for 6k video. This is equivalent to what the software decoder does, but with less pointers.
This commit is contained in:
@@ -147,6 +147,7 @@ typedef uint64_t FFVulkanExtensions;
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdPipelineBarrier) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdCopyBufferToImage) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdCopyImageToBuffer) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdClearColorImage) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdCopyBuffer) \
|
||||
\
|
||||
/* Buffer */ \
|
||||
|
||||
Reference in New Issue
Block a user