Name

drm_rect_downscale — 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.