NV12
NV12 is a YUV 4:2:0 image format commonly used in video processing and hardware acceleration. It is a semi-planar format in which the luma component is stored in one plane, followed by a second plane that contains interleaved chroma components.
In memory, the Y plane occupies width × height bytes. The chroma plane follows and contains width
Commonly 8-bit per sample, though higher bit depths exist in some pipelines. The color space is Y'CbCr,
NV12 is supported by many APIs and formats, including FFmpeg, OpenCV, Android ImageFormat.NV12, and various hardware
Compared to I420 (planar Y, U, V), NV12 reduces the number of memory accesses for chroma and