Lines Matching refs:sx
214 int tx, ty, sx, sy;
225 sx = s_frame->width;
227 if (sx <= 0 || sy <= 0) {
228 err("invalid source size: %d x %d", sx, sy);
232 sc->real_width = sx;
234 dbg("sx= %d, sy= %d, tx= %d, ty= %d", sx, sy, tx, ty);
236 ret = fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor);
244 sc->pre_dst_width = sx / sc->pre_hratio;
247 sc->main_hratio = (sx << 8) / (tx << sc->hfactor);
250 sc->scaleup_h = (tx >= sx) ? 1 : 0;