Lines Matching refs:yres
94 __u32 yres; member
584 ext->xres, ext->yres, ext->width, ext->height, in set_ext_matrix()
588 m_translate(ext->m, ext->xres >> 1, ext->yres >> 1); in set_ext_matrix()
800 __u32 xres, __u32 yres, __u32 refresh, in add_scaling_score() argument
804 __u32 area = xres * yres; in add_scaling_score()
809 int upscale = (ext_xres >= xres * 99 / 100 && ext_yres >= yres * 99 / 100); in add_scaling_score()
837 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
852 xres * yres == 0) in omap4_hwc_set_best_hdmi_mode()
859 ext->yres = d.dis.timings.y_res; in omap4_hwc_set_best_hdmi_mode()
862 if (!ext->xres || !ext->yres) { in omap4_hwc_set_best_hdmi_mode()
864 ext->yres = 480; in omap4_hwc_set_best_hdmi_mode()
871 __u32 mode_yres = d.modedb[i].yres; in omap4_hwc_set_best_hdmi_mode()
886 get_max_dimensions(xres, yres, xpy, mode_xres, mode_yres, in omap4_hwc_set_best_hdmi_mode()
892 !omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
904 score = add_scaling_score(score, xres, yres, 60, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
914 ext->yres = mode_yres; in omap4_hwc_set_best_hdmi_mode()
932 get_max_dimensions(xres, yres, xpy, d.dis.timings.x_res, d.dis.timings.y_res, in omap4_hwc_set_best_hdmi_mode()
936 !omap4_hwc_can_scale(xres, yres, ext_fb_xres, ext_fb_yres, in omap4_hwc_set_best_hdmi_mode()
944 ext->last_yres_used = yres; in omap4_hwc_set_best_hdmi_mode()
1140 __u32 xres = o->cfg.crop.w, yres = o->cfg.crop.h; in clone_external_layer() local
1142 swap(xres, yres); in clone_external_layer()
1153 yres != ext->last_yres_used || in clone_external_layer()
1156 ALOGD("set up HDMI for %d*%d\n", xres, yres); in clone_external_layer()
1157 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, xpy)) { in clone_external_layer()
1178 __u32 yres = HEIGHT(ext->mirror_region); in setup_mirroring() local
1180 swap(xres, yres); in setup_mirroring()
1181 if (omap4_hwc_set_best_hdmi_mode(hwc_dev, xres, yres, ext->lcd_xpy)) in setup_mirroring()