Packed YUV formats
&manvol;
Packed YUV formatsPacked YUV formatsDescriptionSimilar to the packed RGB formats these formats store
the Y, Cb and Cr component of each pixel in one 16 or 32 bit
word.
Packed YUV Image FormatsIdentifierCodeByte 0 in memoryByte 1Byte 2Byte 3Bit76543210765432107654321076543210V4L2_PIX_FMT_YUV444'Y444'Cb3Cb2Cb1Cb0Cr3Cr2Cr1Cr0a3a2a1a0Y'3Y'2Y'1Y'0V4L2_PIX_FMT_YUV555'YUVO'Cb2Cb1Cb0Cr4Cr3Cr2Cr1Cr0aY'4Y'3Y'2Y'1Y'0Cb4Cb3V4L2_PIX_FMT_YUV565'YUVP'Cb2Cb1Cb0Cr4Cr3Cr2Cr1Cr0Y'4Y'3Y'2Y'1Y'0Cb5Cb4Cb3V4L2_PIX_FMT_YUV32'YUV4'a7a6a5a4a3a2a1a0Y'7Y'6Y'5Y'4Y'3Y'2Y'1Y'0Cb7Cb6Cb5Cb4Cb3Cb2Cb1Cb0Cr7Cr6Cr5Cr4Cr3Cr2Cr1Cr0
Bit 7 is the most significant bit. The value of a = alpha
bits is undefined when reading from the driver, ignored when writing
to the driver, except when alpha blending has been negotiated for a
Video Overlay or Video Output Overlay.