Lines Matching refs:outPos

487     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()
541 outPos.y = uint32_t(yRatio * fbHeight); in getAspectRatioPosition()
542 outPos.w = uint32_t(wRatio * fbWidth); in getAspectRatioPosition()
543 outPos.h = uint32_t(hRatio * fbHeight); in getAspectRatioPosition()
547 outPos.x, outPos.y, in getAspectRatioPosition()
548 outPos.w, outPos.h); in getAspectRatioPosition()
559 xRatio = (float)outPos.x/fbWidth; in getAspectRatioPosition()
560 yRatio = (float)outPos.y/fbHeight; in getAspectRatioPosition()
561 wRatio = (float)outPos.w/fbWidth; in getAspectRatioPosition()
562 hRatio = (float)outPos.h/fbHeight; in getAspectRatioPosition()
564 outPos.x = uint32_t(xRatio * (float)extW); in getAspectRatioPosition()
565 outPos.y = uint32_t(yRatio * (float)extH); in getAspectRatioPosition()
566 outPos.w = uint32_t(wRatio * (float)extW); in getAspectRatioPosition()
567 outPos.h = uint32_t(hRatio * (float)extH); in getAspectRatioPosition()
570 outRect.left = outPos.x; in getAspectRatioPosition()
571 outRect.top = outPos.y; in getAspectRatioPosition()
572 outRect.right = outPos.x + outPos.w; in getAspectRatioPosition()
573 outRect.bottom = outPos.y + outPos.h; in getAspectRatioPosition()