Reputation: 14052
I am trying to figure out which memory layout VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM
has in Vulkan.
What I think I understand:
So I would have expected components to be something like G0G1B0R0G2G3B2R2
.
Which would satisfy 4:2:0:
G
. Though not for B
and R
.Getting RGB, planes and 420 combined seems too much for my brain.
Could someone explain how this is supposed to be interpreted.
Upvotes: 0
Views: 401
Reputation: 13246
It is multi-plane image, so basically each component is its own separate image (resp. aspect).
The G plane is image size. The B and R planes are each half width and height.
Upvotes: 1