Lines Matching refs:outPos

702     Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left,  in getAspectRatioPosition()  local
726 outPos.x = uint32_t((xRatio * width) + (float)xPos); in getAspectRatioPosition()
727 outPos.y = uint32_t((yRatio * height) + (float)yPos); in getAspectRatioPosition()
728 outPos.w = uint32_t(wRatio * width); in getAspectRatioPosition()
729 outPos.h = uint32_t(hRatio * height); in getAspectRatioPosition()
731 "y = %d w = %d h = %d", __FUNCTION__, outPos.x, outPos.y, in getAspectRatioPosition()
732 outPos.w, outPos.h); in getAspectRatioPosition()
742 xRatio = (float)(outPos.x - xPos)/width; in getAspectRatioPosition()
751 wRatio = (float)outPos.w/width; in getAspectRatioPosition()
755 outPos.x = uint32_t(xRatio * fbWidth); in getAspectRatioPosition()
756 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
757 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
758 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
762 outPos.x, outPos.y, in getAspectRatioPosition()
763 outPos.w, outPos.h); in getAspectRatioPosition()
779 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
780 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
781 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
782 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
784 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition()
785 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
786 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
787 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
790 outRect.left = outPos.x; in getAspectRatioPosition()
791 outRect.top = outPos.y; in getAspectRatioPosition()
792 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
793 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()