Searched refs:hscale (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_rect.c54 * @hscale: horizontal scaling factor
58 * same amounts multiplied by @hscale and @vscale.
66 int hscale, int vscale)
72 int64_t tmp = src->x1 + (int64_t) diff * hscale;
82 int64_t tmp = src->x2 - (int64_t) diff * hscale;
128 int hscale = drm_calc_scale(src_w, dst_w); local
130 if (hscale < 0 || dst_w == 0)
131 return hscale;
133 if (hscale < min_hscale || hscale > max_hscal
64 drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, const struct drm_rect *clip, int hscale, int vscale) argument
194 int hscale = drm_calc_scale(src_w, dst_w); local
[all...]
/solaris-x11-s12/open-src/kernel/sys/drm/
H A Ddrm_rect.h152 int hscale, int vscale);
/solaris-x11-s12/open-src/kernel/i915/src/
H A Dintel_sprite.c621 int hscale, vscale; local
693 hscale = drm_rect_calc_hscale_relaxed(&src, &dst, min_scale, max_scale);
694 BUG_ON(hscale < 0);
699 visible = drm_rect_clip_scaled(&src, &dst, &clip, hscale, vscale);
708 hscale = drm_rect_calc_hscale(&src, &dst, min_scale, max_scale);
709 if (hscale < 0) {
714 return hscale;
728 drm_rect_width(&dst) * hscale - drm_rect_width(&src),

Completed in 12 milliseconds