Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp2239 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2249 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 …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp2250 struct hwc_rect t_roi = roi; in getSanitizeROI() local
2260 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 …]