Expand description
Common DRM fourcc pixel format codes.
These are the standard format identifiers used by the Linux DRM subsystem and the Wayland DMA-BUF protocol.
Constants§
- DRM_
FORMAT_ ABGR8888 - 32-bit ABGR (8:8:8:8) – ARGB with reversed channel order
- DRM_
FORMAT_ ARGB8888 - 32-bit ARGB (8:8:8:8) – the most common compositing format
- DRM_
FORMAT_ BGR888 - 24-bit BGR (8:8:8) – packed, no padding
- DRM_
FORMAT_ NV12 - NV12 semi-planar YUV 4:2:0 – common video format
- DRM_
FORMAT_ RGB565 - 16-bit RGB 5:6:5 – legacy embedded/mobile format
- DRM_
FORMAT_ RGB888 - 24-bit RGB (8:8:8) – packed, no padding
- DRM_
FORMAT_ XBGR8888 - 32-bit XBGR (8:8:8:8) – XRGB with reversed channel order
- DRM_
FORMAT_ XRGB8888 - 32-bit XRGB (8:8:8:8) – opaque RGB with unused alpha byte
- DRM_
FORMAT_ YUYV - YUYV packed YUV 4:2:2 – common camera/video format