Searched refs:cropF (Results 1 – 4 of 4) sorted by relevance
156 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument158 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() argument166 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()
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()
277 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument279 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() argument287 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()