Downscale a rectangle
void drm_rect_downscale(struct drm_rect * r, int horz, int vert);
r
rectangle to be downscaled
horz
horizontal downscale factor
vert
vertical downscale factor
Divide the coordinates of rectangle r by horz and vert.
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