
Distinguishing NV12 and planar 4:2:0 memory layouts
NV12 and YV12 can represent the same 4:2:0 sample counts while arranging their bytes differently. NV12 interleaves its U and V samples after the luma plane. YV12 stores separate V and U planes. Exchanging only the format label leaves the bytes unchanged and gives the receiving stage the wrong layout.
Read the guide




