Home
last modified time | relevance | path

Searched refs:clampVal (Results 1 – 10 of 10) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/effects/generated/
H A DGrClampFragmentProcessor.h22 float clampVal = clampToPremul ? clampedAlpha : 1.f; in constantOutputForConstantInput() local
23 return {SkTPin(input.fR, 0.f, clampVal), SkTPin(input.fG, 0.f, clampVal), in constantOutputForConstantInput()
24 SkTPin(input.fB, 0.f, clampVal), clampedAlpha}; in constantOutputForConstantInput()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/effects/
H A DGrClampFragmentProcessor.fp27 float clampVal = clampToPremul ? clampedAlpha : 1.f;
28 return {SkTPin(input.fR, 0.f, clampVal),
29 SkTPin(input.fG, 0.f, clampVal),
30 SkTPin(input.fB, 0.f, clampVal),
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/effects/generated/
H A DGrClampFragmentProcessor.h24 float clampVal = clampToPremul ? clampedAlpha : 1.f; in constantOutputForConstantInput() local
25 return {SkTPin(input.fR, 0.f, clampVal), SkTPin(input.fG, 0.f, clampVal), in constantOutputForConstantInput()
26 SkTPin(input.fB, 0.f, clampVal), clampedAlpha}; in constantOutputForConstantInput()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/effects/
H A DGrClampFragmentProcessor.fp31 float clampVal = clampToPremul ? clampedAlpha : 1.f;
32 return {SkTPin(input.fR, 0.f, clampVal),
33 SkTPin(input.fG, 0.f, clampVal),
34 SkTPin(input.fB, 0.f, clampVal),
/dports/science/axom/axom-0.6.1/src/axom/primal/geometry/
H A DNumericArray.hpp408 const int nvals = axom::utilities::clampVal(sz, 0, SIZE); in NumericArray()
427 const int nvals = axom::utilities::clampVal(sz, 0, SIZE); in NumericArray()
584 axom::utilities::clampVal(m_components[i], lowerVal, upperVal); in clamp()
/dports/science/axom/axom-0.6.1/src/axom/core/utilities/
H A DUtilities.hpp109 inline AXOM_HOST_DEVICE T clampVal(T val, T lower, T upper) in clampVal() function
/dports/science/axom/axom-0.6.1/src/axom/slic/core/
H A DLogger.cpp91 lev = axom::utilities::clampVal(lev - 1, 0, maxLevels - 1); in getLoggingMsgLevel()
/dports/science/axom/axom-0.6.1/src/axom/spin/
H A DUniformGrid.hpp465 cell[i] = axom::utilities::clampVal(cell[i], 0, m_resolution[i] - 1); in getClampedGridCell()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonz/
H A Dpenciltestpopup.cpp580 auto clampVal = [&](int& val, int min, int max) { in mouseMoveEvent() local
587 clampVal(pos.rx(), xmin, xmax); in mouseMoveEvent()
588 clampVal(pos.ry(), ymin, ymax); in mouseMoveEvent()
619 clampVal(offset.rx(), -m_preSubCameraRect.left(), in mouseMoveEvent()
625 clampVal(offset.rx(), -m_preSubCameraRect.width() + minimumSize, in mouseMoveEvent()
633 clampVal(offset.ry(), -m_preSubCameraRect.top(), in mouseMoveEvent()
639 clampVal(offset.ry(), -m_preSubCameraRect.height() + minimumSize, in mouseMoveEvent()
H A Dpenciltestpopup_qt.cpp784 auto clampVal = [&](int& val, int min, int max) { in mouseMoveEvent() local
791 clampVal(pos.rx(), xmin, xmax); in mouseMoveEvent()
792 clampVal(pos.ry(), ymin, ymax); in mouseMoveEvent()
823 clampVal(offset.rx(), -m_preSubCameraRect.left(), in mouseMoveEvent()
829 clampVal(offset.rx(), -m_preSubCameraRect.width() + minimumSize, in mouseMoveEvent()
837 clampVal(offset.ry(), -m_preSubCameraRect.top(), in mouseMoveEvent()
843 clampVal(offset.ry(), -m_preSubCameraRect.height() + minimumSize, in mouseMoveEvent()