Searched refs:xDiff (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Main/src-client/
H A DVideoRec.cpp851 int xDiff = ((int)pStrm->uTargetWidth - (int)uSourceWidth) / 2; local
853 if ((int)w + xDiff + (int)x <= 0) /* nothing visible */
860 if ((int)x < -xDiff)
862 w += xDiff + x;
863 x = -xDiff;
867 destX = x + xDiff;

Completed in 288 milliseconds