Name

drm_format_plane_cpp — 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.