Lines Matching refs:hscale
54 * @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);
130 if (hscale < 0 || dst_w == 0)
131 return hscale;
133 if (hscale < min_hscale || hscale > max_hscale)
136 return hscale;
194 int hscale = drm_calc_scale(src_w, dst_w);
196 if (hscale < 0 || dst_w == 0)
197 return hscale;
199 if (hscale < min_hscale) {
207 if (hscale > max_hscale) {
215 return hscale;