Searched refs:t_roi (Results 1 – 2 of 2) 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 …]