Home
last modified time | relevance | path

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

/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/msm8909/libhwcomposer/
Dhwc_utils.h251 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
253 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() argument
261 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()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.h279 inline hwc_rect_t integerizeSourceCrop(const hwc_frect_t& cropF) { in integerizeSourceCrop() argument
281 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() argument
289 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()