Lines Matching refs:yres

102     __u32 yres;  member
773 ext->xres, ext->yres, ext->width, ext->height, in set_ext_matrix()
777 m_translate(ext->m, ext->xres >> 1, ext->yres >> 1); in set_ext_matrix()
995 __u32 xres, __u32 yres, __u32 refresh, in add_scaling_score() argument
999 __u32 area = xres * yres; in add_scaling_score()
1004 int upscale = (ext_xres >= xres * 99 / 100 && ext_yres >= yres * 99 / 100); in add_scaling_score()
1032 static int omap4_hwc_set_best_hdmi_mode(omap4_hwc_device_t *hwc_dev, __u32 xres, __u32 yres, in omap4_hwc_set_best_hdmi_mode() argument
1050 xres * yres == 0) in omap4_hwc_set_best_hdmi_mode()
1057 ext->yres = d.dis.timings.y_res; in omap4_hwc_set_best_hdmi_mode()
1060 if (!ext->xres || !ext->yres) { in omap4_hwc_set_best_hdmi_mode()
1062 ext->yres = 480; in omap4_hwc_set_best_hdmi_mode()
1078 preferred_mode_yres = d.modedb[i].yres; in omap4_hwc_set_best_hdmi_mode()
1080 i, d.modedb[i].xres, d.modedb[i].yres); in omap4_hwc_set_best_hdmi_mode()
1094 __u32 mode_yres = d.modedb[i].yres; in omap4_hwc_set_best_hdmi_mode()
1116 get_max_dimensions(xres, yres, xpy, mode_xres, mode_yres, in omap4_hwc_set_best_hdmi_mode()
1122 !omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
1133 d.modedb[i].yres == preferred_mode_yres) { in omap4_hwc_set_best_hdmi_mode()
1147 score = add_scaling_score(score, xres, yres, 60, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
1161 ext->yres = mode_yres; in omap4_hwc_set_best_hdmi_mode()
1182 d.modedb[best].xres, d.modedb[best].yres); in omap4_hwc_set_best_hdmi_mode()
1194 get_max_dimensions(xres, yres, xpy, d.dis.timings.x_res, d.dis.timings.y_res, in omap4_hwc_set_best_hdmi_mode()
1197 !omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
1205 ext->last_yres_used = yres; in omap4_hwc_set_best_hdmi_mode()
1416 __u32 xres = o->cfg.crop.w, yres = o->cfg.crop.h; in clone_external_layer() local
1418 swap(xres, yres); in clone_external_layer()
1429 yres != ext->last_yres_used || in clone_external_layer()
1432 ALOGD("set up HDMI for %d*%d\n", xres, yres); in clone_external_layer()
1433 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, xpy)) { in clone_external_layer()
1454 __u32 yres = HEIGHT(ext->mirror_region); in setup_mirroring() local
1456 swap(xres, yres); in setup_mirroring()
1457 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, ext->lcd_xpy)) in setup_mirroring()
2329 __u32 yres = hwc_dev->fb_dev->base.height; in handle_hotplug() local
2330 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, ext->lcd_xpy)) { in handle_hotplug()