⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module fourcc

Module fourcc 

Source
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