Searched refs:t_roi (Results 1 – 4 of 4) sorted by relevance
2237 struct hwc_rect t_roi = roi; in getSanitizeROI() local2247 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 …]
2248 struct hwc_rect t_roi = roi; in getSanitizeROI() local2258 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 …]
2672 struct hwc_rect t_roi = roi; in getSanitizeROI() local2682 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 …]
2715 struct hwc_rect t_roi = roi; in getSanitizeROI() local2725 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 …]