Name
drm_rect_calc_vscale —
calculate the vertical scaling factor
Arguments
src
source window rectangle
dst
destination window rectangle
min_vscale
minimum allowed vertical scaling factor
max_vscale
maximum allowed vertical scaling factor
Description
Calculate the vertical scaling factor as
(src
height) / (dst
height).
RETURNS
The vertical scaling factor, or errno of out of limits.