drm_rect_calc_hscale_relaxed man page on OpenSuSE
[printable version]
DRM_RECT_CALC_HSCALE(9) DRM Internals DRM_RECT_CALC_HSCALE(9)
NAME
drm_rect_calc_hscale_relaxed - calculate the horizontal scaling factor
SYNOPSIS
int drm_rect_calc_hscale_relaxed(struct drm_rect * src,
struct drm_rect * dst, int min_hscale,
int max_hscale);
ARGUMENTS
src
source window rectangle
dst
destination window rectangle
min_hscale
minimum allowed horizontal scaling factor
max_hscale
maximum allowed horizontal scaling factor
DESCRIPTION
Calculate the horizontal scaling factor as (src width) / (dst width).
If the calculated scaling factor is below min_vscale, decrease the
height of rectangle dst to compensate.
If the calculated scaling factor is above max_vscale, decrease the
height of rectangle src to compensate.
RETURNS
The horizontal scaling factor.
AUTHORS
Jesse Barnes <jesse.barnes@intel.com>
Intel Corporation,
Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Ideas on board SPRL,
Driver internals
COPYRIGHT
Kernel Hackers Manual 3.11 November 2013 DRM_RECT_CALC_HSCALE(9)
[top]
List of man pages available for OpenSuSE
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|