Searched refs:t_roi (Results 1 – 3 of 3) 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 …]
2247 struct hwc_rect t_roi = roi; in getSanitizeROI() local2257 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()2258 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()2259 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()2261 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()2265 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()2266 if((t_roi.top + MIN_HEIGHT) > boundary.bottom) in getSanitizeROI()2267 t_roi.top = t_roi.bottom - MIN_HEIGHT; in getSanitizeROI()2269 t_roi.bottom = t_roi.top + MIN_HEIGHT; in getSanitizeROI()2274 t_roi.left = t_roi.left - (t_roi.left % LEFT_ALIGN); in getSanitizeROI()[all …]
2670 struct hwc_rect t_roi = roi; in getSanitizeROI() local2680 if((t_roi.right - t_roi.left) < MIN_WIDTH) { in getSanitizeROI()2682 t_roi.left = 0; in getSanitizeROI()2683 t_roi.right = MIN_WIDTH; in getSanitizeROI()2685 if((t_roi.left + MIN_WIDTH) > boundary.right) in getSanitizeROI()2686 t_roi.left = t_roi.right - MIN_WIDTH; in getSanitizeROI()2688 t_roi.right = t_roi.left + MIN_WIDTH; in getSanitizeROI()2693 if((t_roi.bottom - t_roi.top) < MIN_HEIGHT) { in getSanitizeROI()2695 t_roi.top = 0; in getSanitizeROI()2696 t_roi.bottom = MIN_HEIGHT; in getSanitizeROI()[all …]