drm_format_num_planes9
Get the number of planes for format
Usage
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.