Home
last modified time | relevance | path

Searched refs:t_roi (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2237 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2247 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2248 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2249 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2251 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2255 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2256 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2257 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2259 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2264 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp2248 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2258 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2259 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2260 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2262 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2266 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2267 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2268 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2270 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2275 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp2672 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2682 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2684 t_roi.left = 0; in getSanitizeROI()
2685 t_roi.right = MIN_WIDTH; in getSanitizeROI()
2687 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2688 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2690 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2695 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2697 t_roi.top = 0; in getSanitizeROI()
2698 t_roi.bottom = MIN_HEIGHT; in getSanitizeROI()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_utils.cpp2715 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2725 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()
2726 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()
2727 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()
2729 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()
2733 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()
2734 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()
2735 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()
2737 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()
2742 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()
[all …]