drm_format_num_planes(9) 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