Name

drm_format_num_planes — get the number of planes for format

Synopsis

int drm_format_num_planes (uint32_t format);
 

Arguments

format

pixel format (DRM_FORMAT_*)

Returns

The number of planes used by the specified pixel format.