Lines Matching refs:outPos
474 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()
528 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
529 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
530 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
534 outPos.x, outPos.y, in getAspectRatioPosition()
535 outPos.w, outPos.h); in getAspectRatioPosition()
546 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
547 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
548 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
549 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
551 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition()
552 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
553 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
554 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
557 outRect.left = outPos.x; in getAspectRatioPosition()
558 outRect.top = outPos.y; in getAspectRatioPosition()
559 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
560 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()