Lines Matching refs:sy
233 int tx, ty, sx, sy;
249 sy = s_frame->height;
250 if (sx <= 0 || sy <= 0) {
251 dev_err(dev, "Invalid source size: %dx%d\n", sx, sy);
255 sc->real_height = sy;
261 ret = fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor);
266 sc->pre_dst_height = sy / sc->pre_vratio;
270 sc->main_vratio = (sy << 14) / (ty << sc->vfactor);
273 sc->main_vratio = (sy << 8) / (ty << sc->vfactor);
278 sc->scaleup_v = (ty >= sy) ? 1 : 0;