]> git.sesse.net Git - ffmpeg/commit
hwcontext_vulkan: remove plane size alignment checks when host importing
authorLynne <dev@lynne.ee>
Mon, 20 Jul 2020 12:36:47 +0000 (12:36 +0000)
committerLynne <dev@lynne.ee>
Sun, 2 Aug 2020 20:48:51 +0000 (22:48 +0200)
commitfe3ea13131d56bbd2b37af032abc3b7208050f61
tree3197cf90869d92e84237b6503f510d8f42f5bf5f
parent9d2ba8980b87bf3643f8a4c30fa0e78b1e9a3c09
hwcontext_vulkan: remove plane size alignment checks when host importing

The process space is guaranteed to be aligned to the page size, hence we're
never going to map outside of our address space.
There are more optimizations to do with respect to chroma plane alignment and
buffer offsets, but that can be done later.
libavutil/hwcontext_vulkan.c