Gralloc and the legacy video driver use the 512 NV12 layout that the veux C2D converter and encoder input check were built for.