Searched refs:t_roi (Results 1 – 3 of 3) sorted by relevance
2239 struct hwc_rect t_roi = roi; in getSanitizeROI() local2249 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()2250 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()2251 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()2253 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()2257 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()2258 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()2259 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()2261 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()2266 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()[all …]
2250 struct hwc_rect t_roi = roi; in getSanitizeROI() local2260 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()2261 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()2262 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()2264 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()2268 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()2269 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()2270 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()2272 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()2277 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()[all …]
2674 struct hwc_rect t_roi = roi; in getSanitizeROI() local2684 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()2686 t_roi.left = 0; in getSanitizeROI()2687 t_roi.right = MIN_WIDTH; in getSanitizeROI()2689 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()2690 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()2692 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()2697 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()2699 t_roi.top = 0; in getSanitizeROI()2700 t_roi.bottom = MIN_HEIGHT; in getSanitizeROI()[all …]