DRM_FORMAT_NUM_PLANE(9) DRM Internals DRM_FORMAT_NUM_PLANE(9)
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.
AUTHORS
Jesse Barnes <jesse.barnes@intel.com>
Intel Corporation,
Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Ideas on board SPRL,
Driver internals
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DRM_FORMAT_NUM_PLANE(9)