drm_rect_downscale(9) downscale a rectangle

SYNOPSIS

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

DESCRIPTION

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

COPYRIGHT