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 <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

COPYRIGHT