Searched refs:cropF (Results 1 – 3 of 3) sorted by relevance
204 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument206 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() argument214 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()
229 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument231 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() argument239 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()
279 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument281 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()282 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()283 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()284 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()288 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument289 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()290 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()291 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()292 cropF.bottom - roundf(cropF.bottom)) in isNonIntegralSourceCrop()