drm_rect_downscale(9)

drm_rect_downscale9

Downscale a rectangle

Usage

void drm_rect_downscale(struct drm_rect * r, int horz, int vert);

Arguments

r

rectangle to be downscaled

horz

horizontal downscale factor

vert

vertical downscale factor

Overview

Divide the coordinates of rectangle r by horz and vert.

Authors

Jesse Barnes <[email protected]>
Intel Corporation,

Initial version

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

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,

Contributions all over the place

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.