Home | History | Annotate | Download | only in hwc

Lines Matching refs:x_factor

551     float x_factor = orig_xres * xpy * scr_height;
555 if (x_factor < y_factor * (1.f - ASPECT_RATIO_TOLERANCE))
556 *adj_xres = (__u32) (x_factor * *adj_xres / y_factor + 0.5);
557 else if (x_factor * (1.f - ASPECT_RATIO_TOLERANCE) > y_factor)
558 *adj_yres = (__u32) (y_factor * *adj_yres / x_factor + 0.5);