drm_format_plane_cpp(9)

drm_format_plane_cpp9

Determine the bytes per pixel value

Usage

int drm_format_plane_cpp(uint32_t format, int plane);

Arguments

format

pixel format (DRM_FORMAT_*)

plane

plane index

Returns

The bytes per pixel value for the specified plane.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.