Home
last modified time | relevance | path

Searched refs:clampByte (Results 1 – 25 of 42) sorted by relevance

12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Device/
H A DETC_Decoder.cpp18 inline unsigned char clampByte(int value) in clampByte() function
48 r = clampByte(red); in set()
49 g = clampByte(green); in set()
50 b = clampByte(blue); in set()
55 r = clampByte(red); in set()
56 g = clampByte(green); in set()
57 b = clampByte(blue); in set()
58 a = clampByte(alpha); in set()
133 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/Renderer/
H A DETC_Decoder.cpp19 inline int clampByte(int value) in clampByte() function
49 r = static_cast<unsigned char>(clampByte(red)); in set()
50 g = static_cast<unsigned char>(clampByte(green)); in set()
51 b = static_cast<unsigned char>(clampByte(blue)); in set()
56 r = static_cast<unsigned char>(clampByte(red)); in set()
57 g = static_cast<unsigned char>(clampByte(green)); in set()
58 b = static_cast<unsigned char>(clampByte(blue)); in set()
59 a = static_cast<unsigned char>(clampByte(alpha)); in set()
134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Renderer/
H A DETC_Decoder.cpp19 inline int clampByte(int value) in clampByte() function
49 r = static_cast<unsigned char>(clampByte(red)); in set()
50 g = static_cast<unsigned char>(clampByte(green)); in set()
51 b = static_cast<unsigned char>(clampByte(blue)); in set()
56 r = static_cast<unsigned char>(clampByte(red)); in set()
57 g = static_cast<unsigned char>(clampByte(green)); in set()
58 b = static_cast<unsigned char>(clampByte(blue)); in set()
59 a = static_cast<unsigned char>(clampByte(alpha)); in set()
134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/Device/
H A DETC_Decoder.cpp18 inline unsigned char clampByte(int value) in clampByte() function
48 r = clampByte(red); in set()
49 g = clampByte(green); in set()
50 b = clampByte(blue); in set()
55 r = clampByte(red); in set()
56 g = clampByte(green); in set()
57 b = clampByte(blue); in set()
58 a = clampByte(alpha); in set()
133 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
/dports/graphics/lazpaint/lazpaint-7.1.6/bgrabitmapnew/bgrabitmap/
H A Dbgrafilterblur.pas686 function clampByte(value: Int32or64): UInt32or64; inline; in clampByte() function
800 PBGRAPixel(pPix)^.red := clampByte((sumR + rgbDivShr1) div RGBdiv);
872 PBGRAPixel(pPix)^.red := clampByte((sumR + sumAShr1) div sumA);
873 PBGRAPixel(pPix)^.green := clampByte((sumG + sumAShr1) div sumA);
874 PBGRAPixel(pPix)^.blue := clampByte((sumB + sumAShr1) div sumA);
972 PBGRAPixel(pPix)^.red := clampByte((sumR + sumAShr1) div sumA);
973 PBGRAPixel(pPix)^.green := clampByte((sumG + sumAShr1) div sumA);
974 PBGRAPixel(pPix)^.blue := clampByte((sumB + sumAShr1) div sumA);
1084 PBGRAPixel(pPix)^.red := clampByte(round(sumR/sumA));
1085 PBGRAPixel(pPix)^.green := clampByte(round(sumG/sumA));
[all …]
/dports/editors/cudatext/CudaText-1.151.0/bgrabitmap/bgrabitmap/
H A Dbgrafilterblur.pas686 function clampByte(value: Int32or64): UInt32or64; inline; in clampByte() function
800 PBGRAPixel(pPix)^.red := clampByte((sumR + rgbDivShr1) div RGBdiv);
872 PBGRAPixel(pPix)^.red := clampByte((sumR + sumAShr1) div sumA);
873 PBGRAPixel(pPix)^.green := clampByte((sumG + sumAShr1) div sumA);
874 PBGRAPixel(pPix)^.blue := clampByte((sumB + sumAShr1) div sumA);
972 PBGRAPixel(pPix)^.red := clampByte((sumR + sumAShr1) div sumA);
973 PBGRAPixel(pPix)^.green := clampByte((sumG + sumAShr1) div sumA);
974 PBGRAPixel(pPix)^.blue := clampByte((sumB + sumAShr1) div sumA);
1084 PBGRAPixel(pPix)^.red := clampByte(round(sumR/sumA));
1085 PBGRAPixel(pPix)^.green := clampByte(round(sumG/sumA));
[all …]
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/jai/opimage/
H A DLCBandCombineOpImage.java180 ddData[dpo + dBandOffsets[0]] = ImageUtil.clampByte(sum / 0x100 + mat[3]); in computeRectByte()
186 ddData[dpo + dBandOffsets[1]] = ImageUtil.clampByte(sum / 0x100 + mat[3]); in computeRectByte()
192 ddData[dpo + dBandOffsets[2]] = ImageUtil.clampByte(sum / 0x100 + mat[3]); in computeRectByte()
211 ddData[dpo + dBandOffsets[0]] = ImageUtil.clampByte(sum / 0x100 + mat[3]); in computeRectByte()
234 ddData[dpo+dBandOffsets[b]] = ImageUtil.clampByte(sum + mat[sbands]); in computeRectByte()
270 dData[b][dpo + dBandOffsets[b]] = ImageUtil.clampByte(sum + mat[sbands]); in computeRectByte()
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/
H A DLookupOpImage.java156 map[i] = ImageUtil.clampByte(result); in transformColormap()
H A DComplexArithmeticOpImage.java834 dstReal[dstPixelReal] = ImageUtil.clampByte((a*c + b*d)/denom); in computeRectByte()
835 dstImag[dstPixelImag] = ImageUtil.clampByte((b*c - a*d)/denom); in computeRectByte()
851 dstReal[dstPixelReal] = ImageUtil.clampByte(a*c - b*d); in computeRectByte()
852 dstImag[dstPixelImag] = ImageUtil.clampByte(a*d + b*c); in computeRectByte()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/angle/src/image_util/
H A Dloadimage_etc.cpp75 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
318 static unsigned char clampByte(int value) in clampByte() function
331 rgba.R = clampByte(red); in createRGBA()
332 rgba.G = clampByte(green); in createRGBA()
333 rgba.B = clampByte(blue); in createRGBA()
334 rgba.A = clampByte(alpha); in createRGBA()
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()
/dports/devel/qt5-dbus/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/image_util/
H A Dloadimage_etc.cpp78 *pixel = clampByte(getSingleChannel(i, j, isSigned)); in decodeAsSingleChannel()
321 static unsigned char clampByte(int value) in clampByte() function
334 rgba.R = clampByte(red); in createRGBA()
335 rgba.G = clampByte(green); in createRGBA()
336 rgba.B = clampByte(blue); in createRGBA()
337 rgba.A = clampByte(alpha); in createRGBA()

12