Home
last modified time | relevance | path

Searched refs:mode_refresh (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4xxx/hwc/
Dhwc.c802 __u32 mode_xres, __u32 mode_yres, __u32 mode_refresh) in add_scaling_score() argument
822 mode_refresh += mode_refresh % 6 == 5; in add_scaling_score()
825 upscale = (mode_refresh >= refresh); in add_scaling_score()
829 if (mode_refresh > refresh) in add_scaling_score()
830 score = (score << 8) | (240 * refresh / mode_refresh); in add_scaling_score()
832 score = (score << 8) | (240 * mode_refresh / refresh); in add_scaling_score()
/hardware/ti/omap4-aah/hwc/
Dhwc.c997 __u32 mode_xres, __u32 mode_yres, __u32 mode_refresh) in add_scaling_score() argument
1017 mode_refresh += mode_refresh % 6 == 5; in add_scaling_score()
1020 upscale = (mode_refresh >= refresh); in add_scaling_score()
1024 if (mode_refresh > refresh) in add_scaling_score()
1025 score = (score << 8) | (240 * refresh / mode_refresh); in add_scaling_score()
1027 score = (score << 8) | (240 * mode_refresh / refresh); in add_scaling_score()