Lines Matching refs:outPos
635 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, in getAspectRatioPosition() local
659 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
660 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
661 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
662 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
664 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition()
665 outPos.w, outPos.h); in getAspectRatioPosition()
675 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
684 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
688 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
689 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
690 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
691 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
695 outPos.x, outPos.y, in getAspectRatioPosition()
696 outPos.w, outPos.h); in getAspectRatioPosition()
712 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
713 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
714 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
715 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
717 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition()
718 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
719 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
720 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
723 outRect.left = outPos.x; in getAspectRatioPosition()
724 outRect.top = outPos.y; in getAspectRatioPosition()
725 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
726 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()