Skip to content

venus: resolve YV12 AHB to VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM

Yiwei Zhang requested to merge zzyiwei/mesa:vn-yv12 into main

YV12 is a 3-plane format with minigbm. This change mitigates the crash of testGLViewLargerHeightDecodeAccuracy[4], and successfully creates the host side image and imports the memory.

vk_format(1000156002) drm_fourcc(842094169)
offsets(0, 27648, 34560, 0)
strides(256, 128, 128, 0)
modifier(0)

To be noted, with this MR, the decode results are still incorrect. Something further in the interop need to be looked at.

  • need to understand the test and dump the decode output to visually inspect
  • check angle code paths on different planar images
Edited by Yiwei Zhang

Merge request reports