drm_format_plane_cpp(9) determine the bytes per pixel value

SYNOPSIS

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

COPYRIGHT