Name

drm_format_plane_width — width of the plane given the first plane

Synopsis

int drm_format_plane_width (int width,
 uint32_t format,
 int plane);
 

Arguments

width

width of the first plane

format

pixel format

plane

plane index

Returns

The width of plane, given that the width of the first plane is width.