Home
last modified time | relevance | path

Searched refs:cropF (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.h156 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
158 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()
159 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()
160 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()
161 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
165 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument
166 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()
167 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()
168 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()
169 cropF.bottom - roundf(cropF.bottom)) in isNonIntegralSourceCrop()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.h204 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
206 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()
207 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()
208 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()
209 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
213 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument
214 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()
215 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()
216 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()
217 cropF.bottom - roundf(cropF.bottom)) in isNonIntegralSourceCrop()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h229 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
231 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()
232 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()
233 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()
234 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
238 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument
239 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()
240 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()
241 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()
242 cropF.bottom - roundf(cropF.bottom)) in isNonIntegralSourceCrop()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h277 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
279 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()
280 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()
281 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()
282 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()
286 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument
287 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()
288 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()
289 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()
290 cropF.bottom - roundf(cropF.bottom)) in isNonIntegralSourceCrop()