Searched refs:cropF (Results 1 – 4 of 4) 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()
251 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument253 cropI.left = int(ceilf(cropF.left)); in integerizeSourceCrop()254 cropI.top = int(ceilf(cropF.top)); in integerizeSourceCrop()255 cropI.right = int(floorf(cropF.right)); in integerizeSourceCrop()256 cropI.bottom = int(floorf(cropF.bottom)); in integerizeSourceCrop()260 inline bool isNonIntegralSourceCrop(const hwc_frect_t& cropF) { in isNonIntegralSourceCrop() argument261 if(cropF.left - roundf(cropF.left) || in isNonIntegralSourceCrop()262 cropF.top - roundf(cropF.top) || in isNonIntegralSourceCrop()263 cropF.right - roundf(cropF.right) || in isNonIntegralSourceCrop()264 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()