Home | History | Annotate | Download | only in hwc

Lines Matching refs:xpy

530  * assuming xpy (xratio:yratio) original pixel ratio, calculate the adjusted width
535 float xpy,
551 float x_factor = orig_xres * xpy * scr_height;
565 float xpy = ext->lcd_xpy;
578 xpy = 1. / xpy;
583 get_max_dimensions(orig_w, orig_h, xpy,
838 float xpy)
886 get_max_dimensions(xres, yres, xpy, mode_xres, mode_yres,
932 get_max_dimensions(xres, yres, xpy, d.dis.timings.x_res, d.dis.timings.y_res,
945 ext->last_xpy = xpy;
1143 float xpy = ext->lcd_xpy * o->cfg.win.w / o->cfg.win.h;
1145 xpy = o->cfg.crop.h / xpy / o->cfg.crop.w;
1147 xpy = o->cfg.crop.h * xpy / o->cfg.crop.w;
1149 xpy = 1. / xpy;
1154 xpy < ext->last_xpy * (1.f - ASPECT_RATIO_TOLERANCE) ||
1155 xpy * (1.f - ASPECT_RATIO_TOLERANCE) > ext->last_xpy) {
1157 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, xpy)) {