/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 31 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument 33 irect.left = min(rect1.left, rect2.left); in getUnion() 34 irect.top = min(rect1.top, rect2.top); in getUnion() 35 irect.right = max(rect1.right, rect2.right); in getUnion() 36 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 31 void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) { in getUnion() argument 33 irect.left = min(rect1.left, rect2.left); in getUnion() 34 irect.top = min(rect1.top, rect2.top); in getUnion() 35 irect.right = max(rect1.right, rect2.right); in getUnion() 36 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_utils.cpp | 1089 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument 1091 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect() 1092 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect() 1123 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument 1127 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection() 1132 res.left = max(rect1.left, rect2.left); in getIntersection() 1133 res.top = max(rect1.top, rect2.top); in getIntersection() 1134 res.right = min(rect1.right, rect2.right); in getIntersection() 1135 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection() 1144 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument [all …]
|
D | hwc_utils.h | 284 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 285 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2); 287 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 288 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 398 bool isPeripheral(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 1103 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2) in isSameRect() argument 1105 return ((rect1.left == rect2.left) && (rect1.top == rect2.top) && in isSameRect() 1106 (rect1.right == rect2.right) && (rect1.bottom == rect2.bottom)); in isSameRect() 1130 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2) in getIntersection() argument 1134 if(!isValidRect(rect1) || !isValidRect(rect2)){ in getIntersection() 1139 res.left = max(rect1.left, rect2.left); in getIntersection() 1140 res.top = max(rect1.top, rect2.top); in getIntersection() 1141 res.right = min(rect1.right, rect2.right); in getIntersection() 1142 res.bottom = min(rect1.bottom, rect2.bottom); in getIntersection() 1151 hwc_rect_t getUnion(const hwc_rect &rect1, const hwc_rect &rect2) in getUnion() argument [all …]
|
D | hwc_utils.h | 264 hwc_rect_t deductRect(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 265 bool isSameRect(const hwc_rect& rect1, const hwc_rect& rect2); 267 hwc_rect_t getIntersection(const hwc_rect_t& rect1, const hwc_rect_t& rect2); 268 hwc_rect_t getUnion(const hwc_rect_t& rect1, const hwc_rect_t& rect2);
|
/hardware/samsung_slsi/exynos5/include/ |
D | ExynosCamera.h | 790 void m_secRect2SecRect2(ExynosRect *rect, ExynosRect2 *rect2); 791 void m_secRect22SecRect(ExynosRect2 *rect2, ExynosRect *rect);
|
/hardware/samsung_slsi/exynos5/libcamera/ |
D | ExynosCamera.cpp | 3931 void ExynosCamera::m_secRect2SecRect2(ExynosRect *rect, ExynosRect2 *rect2) in m_secRect2SecRect2() argument 3933 rect2->x1 = rect->x; in m_secRect2SecRect2() 3934 rect2->y1 = rect->y; in m_secRect2SecRect2() 3935 rect2->x2 = rect->x + rect->w; in m_secRect2SecRect2() 3936 rect2->y2 = rect->y + rect->h; in m_secRect2SecRect2() 3939 void ExynosCamera::m_secRect22SecRect(ExynosRect2 *rect2, ExynosRect *rect) in m_secRect22SecRect() argument 3941 rect->x = rect2->x1; in m_secRect22SecRect() 3942 rect->y = rect2->y1; in m_secRect22SecRect() 3943 rect->w = rect2->x2 - rect2->x1; in m_secRect22SecRect() 3944 rect->h = rect2->y2 - rect2->y1; in m_secRect22SecRect()
|