Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp383 float wRatio = 1.0; in getActionSafePosition() local
417 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
423 w = int(wRatio * asW); in getActionSafePosition()
479 float wRatio = 1.0; in getAspectRatioPosition() local
507 wRatio = (float)(inPos.w/actualWidth); in getAspectRatioPosition()
513 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
536 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
542 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
561 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
566 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp398 float wRatio = 1.0; in getActionSafePosition() local
432 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
438 w = int(wRatio * asW); in getActionSafePosition()
466 float wRatio = 1.0; in getAspectRatioPosition() local
494 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition()
500 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
523 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
529 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
548 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
553 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp559 float wRatio = 1.0; in getActionSafePosition() local
593 wRatio = (float)w/(float)fbWidth; in getActionSafePosition()
599 w = int(wRatio * asW); in getActionSafePosition()
627 float wRatio = 1.0; in getAspectRatioPosition() local
655 wRatio = (float)((float)inPos.w/actualWidth); in getAspectRatioPosition()
661 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
684 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
690 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
714 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
719 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp320 float wRatio = 1.0; in getActionSafePosition() local
348 wRatio = (float)w/fbWidth; in getActionSafePosition()
354 w = (wRatio * asW); in getActionSafePosition()