Home
last modified time | relevance | path

Searched refs:rotated90 (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp354 bool rotated90 = (bool)(layer->transform & HAL_TRANSFORM_ROT_90); in isValidDimension() local
355 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension()
356 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp412 bool rotated90 = (bool)(layer->transform & HAL_TRANSFORM_ROT_90); in isValidDimension() local
413 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension()
414 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension()