DRM_FORMAT_NUM_PLANE(9) DRM Internals DRM_FORMAT_NUM_PLANE(9)NAMEdrm_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
COPYRIGHTKernel Hackers Manual 3.11 November 2013 DRM_FORMAT_NUM_PLANE(9)