drm_rect_calc_hscale_relaxed — calculate the horizontal scaling factor
int drm_rect_calc_hscale_relaxed ( | struct drm_rect * src, |
struct drm_rect * dst, | |
int min_hscale, | |
int max_hscale) ; |
src
source window rectangle
dst
destination window rectangle
min_hscale
minimum allowed horizontal scaling factor
max_hscale
maximum allowed horizontal scaling factor