Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local
511 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
512 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
513 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
514 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
516 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition()
517 outPos.w, outPos.h); in getAspectRatioPosition()
527 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
536 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
540 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp474 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local
498 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
499 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
500 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
501 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
503 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition()
504 outPos.w, outPos.h); in getAspectRatioPosition()
514 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
523 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
527 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
[all …]