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

/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispVBVA.cpp528 rect.left = RT_CLAMP(rect.left, 0, (LONG)pDev->mode.ulWidth);
529 rect.top = RT_CLAMP(rect.top, 0, (LONG)pDev->mode.ulHeight);
530 rect.right = RT_CLAMP(rect.right, 0, (LONG)pDev->mode.ulWidth);
531 rect.bottom = RT_CLAMP(rect.bottom, 0, (LONG)pDev->mode.ulHeight);
/vbox/src/VBox/Additions/x11/vboxvideo/
H A Dvboxvideo.c1152 pNewMode->HDisplay = RT_CLAMP(pVBox->pScreens[0].aPreferredSize.cx, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL);
1153 pNewMode->VDisplay = RT_CLAMP(pVBox->pScreens[0].aPreferredSize.cy, VBOX_VIDEO_MIN_SIZE, VBOX_VIDEO_MAX_VIRTUAL);
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceVMInfo.cpp261 g_uVMInfoUserIdleThresholdMS = RT_CLAMP(RTStrToUInt32(pszValue), 1000, UINT32_MAX - 1);
/vbox/include/iprt/
H A Dcdefs.h1662 /** @def RT_CLAMP
1669 #define RT_CLAMP(Value, Min, Max) ( (Value) > (Max) ? (Max) : (Value) < (Min) ? (Min) : (Value) ) macro
/vbox/src/VBox/Main/xml/
H A DSettings.cpp3051 ulVideoChannelQuality = RT_CLAMP(ulVideoChannelQuality, 10, 100);
4358 ulVideoChannelQuality = RT_CLAMP(ulVideoChannelQuality, 10, 100);

Completed in 5594 milliseconds