Home
last modified time | relevance | path

Searched refs:iRed (Results 1 – 25 of 103) sorted by relevance

12345

/dports/textproc/highlight/highlight-4.1/src/core/
H A Dstylecolour.cpp43 rgb.iRed = rgb.iGreen = rgb.iBlue = 0; in Colour()
52 rgb.iRed = rgb.iGreen = rgb.iBlue = 0; in Colour()
57 rgb.iRed = rgb.iGreen = rgb.iBlue = 0; in Colour()
85 StringTools::str2num<int> ( rgb.iRed, r, std::hex ); in setRGB()
92 StringTools::str2num<int> ( rgb.iRed, red, std::hex ); in setRed()
107 return rgb.iRed; in getRed()
124 return int2str ( rgb.iRed, std::dec ); in getRed()
126 return float2str ( ( float ) rgb.iRed / 255 ); in getRed()
128 return float2str ( 1 - ( float ) rgb.iRed / 255 ); in getRed()
130 return int2str ( rgb.iRed, std::hex ); in getRed()
/dports/graphics/ipe/ipe-7.2.23/src/ipelib/
H A Dipeattributes.cpp89 iRed = Fixed::fromInternal(red); in Color()
98 stream << iRed; in save()
100 stream << iRed << " " << iGreen << " " << iBlue; in save()
107 stream << iRed << " " << iGreen << " " << iBlue; in saveRGB()
113 return (iRed == iGreen && iRed == iBlue); in isGray()
118 return (iRed == rhs.iRed) && (iGreen == rhs.iGreen) && (iBlue == rhs.iBlue); in operator ==()
282 iName = (color.iRed.internal() << 20) + (color.iGreen.internal() << 10) in Attribute()
349 col.iRed = Fixed::fromInternal(iName >> 20); in color()
361 st >> iRed >> iGreen; in Color()
363 iGreen = iBlue = iRed; in Color()
/dports/textproc/ansifilter/ansifilter-2.18/src/
H A Dstylecolour.cpp48 rgb.iRed = rgb.iGreen = rgb.iBlue = 0; in StyleColour()
80 StringTools::str2num<int>(rgb.iRed, r, std::hex); in setRGB()
87 StringTools::str2num<int>(rgb.iRed, red, std::hex); in setRed()
104 return int2str(rgb.iRed, std::dec); in getRed()
106 return float2str( (float) rgb.iRed / 255); in getRed()
108 return float2str( 1 - (float) rgb.iRed / 255); in getRed()
110 return int2str(rgb.iRed, std::hex); in getRed()
/dports/games/wop/wop-0.4.3/src/
H A Dsprite.cpp411 Uint8 iRed, iGreen, iBlue, iAlpha; in colorGrayPixels() local
415 SDL_GetRGBA( pixel, PixelFormat, &iRed, &iGreen, &iBlue, &iAlpha ); in colorGrayPixels()
424 && ( abs(iRed - iGreen) <= tolerance in colorGrayPixels()
426 && abs(iBlue - iRed ) <= tolerance) ) in colorGrayPixels()
429 real brightness = BRIGHTNESS_RED * iRed + in colorGrayPixels()
479 Uint8 iRed, iGreen, iBlue, iAlpha; in smooth() local
486 real fRed = centerweight * iRed, in smooth()
510 &iRed, &iGreen, &iBlue, &iAlpha ); in smooth()
515 fRed += iRed; in smooth()
523 iRed = (Uint8)(fRed * divisionfactor[nPixels]); in smooth()
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/plugins/image/
H A Djpeg.cpp278 unsigned char iRed, iBlu, iGrn; in j_putRGBScanline() local
281 iRed = *(jpegline + count * 3 + 0); in j_putRGBScanline()
290 *oRed = iRed; in j_putRGBScanline()
305 unsigned char iRed, iBlu, iGrn, iAlp; in j_putRGBAScanline() local
308 iRed = *(jpegline + count * 4 + 0); in j_putRGBAScanline()
318 *oRed = iRed; in j_putRGBAScanline()
/dports/games/netradiant/netradiant-20150621-src/plugins/image/
H A Djpeg.cpp274 unsigned char iRed, iBlu, iGrn; in j_putRGBScanline() local
277 iRed = *( jpegline + count * 3 + 0 ); in j_putRGBScanline()
286 *oRed = iRed; in j_putRGBScanline()
300 unsigned char iRed, iBlu, iGrn, iAlp; in j_putRGBAScanline() local
303 iRed = *( jpegline + count * 4 + 0 ); in j_putRGBAScanline()
313 *oRed = iRed; in j_putRGBAScanline()
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/common/
H A Djpeg.c264 unsigned char iRed, iBlu, iGrn; in j_putRGBScanline() local
267 iRed = *( jpegline + count * 3 + 0 ); in j_putRGBScanline()
276 *oRed = iRed; in j_putRGBScanline()
290 unsigned char iRed, iBlu, iGrn /* , iAlp */; in j_putRGBAScanline() local
293 iRed = *( jpegline + count * 4 + 0 ); in j_putRGBAScanline()
303 *oRed = iRed; in j_putRGBAScanline()
/dports/deskutils/coolreader/coolreader-cr3.2.55/thirdparty_unman/antiword/
H A Ddib2sprt.c126 iReduceColor(int iRed, int iGreen, int iBlue) in iReduceColor() argument
133 iResult |= (iRed & 0x80) ? 0x10 : 0; in iReduceColor()
135 iResult |= (iRed & 0x40) ? 0x04 : 0; in iReduceColor()
136 iResult |= ((iRed | iGreen | iBlue) & 0x20) ? 0x02 : 0; in iReduceColor()
137 iResult |= ((iRed | iGreen | iBlue) & 0x10) ? 0x01 : 0; in iReduceColor()
263 int iRed, iGreen, iBlue; in vDecode24bpp() local
286 iRed = iNextByte(pFile); in vDecode24bpp()
287 if (iRed == EOF) { in vDecode24bpp()
292 iReduceColor(iRed, iGreen, iBlue); in vDecode24bpp()
/dports/textproc/antiword/antiword-0.37/
H A Ddib2sprt.c126 iReduceColor(int iRed, int iGreen, int iBlue) in iReduceColor() argument
133 iResult |= (iRed & 0x80) ? 0x10 : 0; in iReduceColor()
135 iResult |= (iRed & 0x40) ? 0x04 : 0; in iReduceColor()
136 iResult |= ((iRed | iGreen | iBlue) & 0x20) ? 0x02 : 0; in iReduceColor()
137 iResult |= ((iRed | iGreen | iBlue) & 0x10) ? 0x01 : 0; in iReduceColor()
263 int iRed, iGreen, iBlue; in vDecode24bpp() local
286 iRed = iNextByte(pFile); in vDecode24bpp()
287 if (iRed == EOF) { in vDecode24bpp()
292 iReduceColor(iRed, iGreen, iBlue); in vDecode24bpp()
/dports/devel/upp/upp/bazaar/plugin/gdal/alg/
H A Dgdaldither.cpp437 int iRed = nRedValue * nCLevels / 256; in GDALDitherRGB2PCTInternal() local
441 iIndex = pabyColorMap[iRed + iGreen * nCLevels in GDALDitherRGB2PCTInternal()
632 int iBlue, iGreen, iRed; in FindNearestColor() local
641 for( iRed = 0; iRed < nCLevels; iRed++ ) in FindNearestColor()
645 nRedValue = (iRed * 255) / (nCLevels-1); in FindNearestColor()
651 pabyColorMap[iRed + iGreen*nCLevels in FindNearestColor()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/etc2comp/
H A DEtcBlock4x4Encoding_ETC1.cpp699 for (int iRed = a_phalf->m_iRed - (int)a_phalf->m_uiRadius; in TryDifferentialHalf() local
700 iRed <= a_phalf->m_iRed + (int)a_phalf->m_uiRadius; in TryDifferentialHalf()
701 iRed++) in TryDifferentialHalf()
703 assert(iRed >= 0 && iRed <= 31); in TryDifferentialHalf()
720 ptry->m_iRed = iRed; in TryDifferentialHalf()
724 …ColorFloatRGBA frgbaColor = ColorFloatRGBA::ConvertFromRGB5((unsigned char)iRed, (unsigned char)iG… in TryDifferentialHalf()
892 for (int iRed = a_phalf->m_iRed - (int)a_phalf->m_uiRadius; in TryIndividualHalf() local
893 iRed <= a_phalf->m_iRed + (int)a_phalf->m_uiRadius; in TryIndividualHalf()
894 iRed++) in TryIndividualHalf()
896 assert(iRed >= 0 && iRed <= 15); in TryIndividualHalf()
[all …]
/dports/devel/godot/godot-3.2.3-stable/thirdparty/etc2comp/
H A DEtcBlock4x4Encoding_ETC1.cpp699 for (int iRed = a_phalf->m_iRed - (int)a_phalf->m_uiRadius; in TryDifferentialHalf() local
700 iRed <= a_phalf->m_iRed + (int)a_phalf->m_uiRadius; in TryDifferentialHalf()
701 iRed++) in TryDifferentialHalf()
703 assert(iRed >= 0 && iRed <= 31); in TryDifferentialHalf()
720 ptry->m_iRed = iRed; in TryDifferentialHalf()
724 …ColorFloatRGBA frgbaColor = ColorFloatRGBA::ConvertFromRGB5((unsigned char)iRed, (unsigned char)iG… in TryDifferentialHalf()
892 for (int iRed = a_phalf->m_iRed - (int)a_phalf->m_uiRadius; in TryIndividualHalf() local
893 iRed <= a_phalf->m_iRed + (int)a_phalf->m_uiRadius; in TryIndividualHalf()
894 iRed++) in TryIndividualHalf()
896 assert(iRed >= 0 && iRed <= 15); in TryIndividualHalf()
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/alg/
H A Dgdaldither.cpp491 const int iRed = nRedValue * nCLevels / 256; in GDALDitherRGB2PCTInternal() local
495 iIndex = pabyColorMap[iRed + iGreen * nCLevels in GDALDitherRGB2PCTInternal()
702 for( int iRed = 0; iRed < nCLevels; iRed++ ) in FindNearestColor() local
704 const int nRedValue = (iRed * 255) / (nCLevels - 1); in FindNearestColor()
711 pabyColorMap[iRed + iGreen*nCLevels in FindNearestColor()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/alg/
H A Dgdaldither.cpp491 const int iRed = nRedValue * nCLevels / 256; in GDALDitherRGB2PCTInternal() local
495 iIndex = pabyColorMap[iRed + iGreen * nCLevels in GDALDitherRGB2PCTInternal()
702 for( int iRed = 0; iRed < nCLevels; iRed++ ) in FindNearestColor() local
704 const int nRedValue = (iRed * 255) / (nCLevels - 1); in FindNearestColor()
711 pabyColorMap[iRed + iGreen*nCLevels in FindNearestColor()
/dports/graphics/gdal/gdal-3.3.3/alg/
H A Dgdaldither.cpp491 const int iRed = nRedValue * nCLevels / 256; in GDALDitherRGB2PCTInternal() local
495 iIndex = pabyColorMap[iRed + iGreen * nCLevels in GDALDitherRGB2PCTInternal()
702 for( int iRed = 0; iRed < nCLevels; iRed++ ) in FindNearestColor() local
704 const int nRedValue = (iRed * 255) / (nCLevels - 1); in FindNearestColor()
711 pabyColorMap[iRed + iGreen*nCLevels in FindNearestColor()
/dports/games/xfrisk/XFrisk/
H A Dcolormap.h55 void COLOR_StoreColor(Int32 iColorNum, Int32 iRed, Int32 iGreen, Int32 iBlue);
56 void COLOR_GetColor(Int32 iColor, UInt16 *iRed, UInt16 *iGreen,
H A Dcolormap.c799 void COLOR_StoreColor(Int32 iColorNum, Int32 iRed, Int32 iGreen, Int32 iBlue) in COLOR_StoreColor() argument
802 Int32 c = COLOR_rgbToNum(iRed, iGreen, iBlue); in COLOR_StoreColor()
814 xColor.red = iRed; in COLOR_StoreColor()
833 void COLOR_GetColor(Int32 iColor, UInt16 *iRed, UInt16 *iGreen, UInt16 *iBlue) in COLOR_GetColor() argument
837 COLOR_numTorgb(colormap[iColor], iRed, iGreen, iBlue); in COLOR_GetColor()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/image/
H A Dqmnghandler.cpp362 mng_uint16 iRed = (mng_uint16)(color.red() << 8); in setBackgroundColor() local
365 return (mng_set_bgcolor(hMNG, iRed, iBlue, iGreen) == MNG_NOERROR); in setBackgroundColor()
370 mng_uint16 iRed; in backgroundColor() local
373 if (mng_get_bgcolor(hMNG, &iRed, &iBlue, &iGreen) == MNG_NOERROR) in backgroundColor()
374 return QColor((iRed >> 8) & 0xFF, (iGreen >> 8) & 0xFF, (iBlue >> 8) & 0xFF); in backgroundColor()
/dports/graphics/qt5-imageformats/kde-qtimageformats-5.15.2p3/src/plugins/imageformats/mng/
H A Dqmnghandler.cpp355 mng_uint16 iRed = (mng_uint16)(color.red() << 8); in setBackgroundColor() local
358 return (mng_set_bgcolor(hMNG, iRed, iBlue, iGreen) == MNG_NOERROR); in setBackgroundColor()
363 mng_uint16 iRed; in backgroundColor() local
366 if (mng_get_bgcolor(hMNG, &iRed, &iBlue, &iGreen) == MNG_NOERROR) in backgroundColor()
367 return QColor((iRed >> 8) & 0xFF, (iGreen >> 8) & 0xFF, (iBlue >> 8) & 0xFF); in backgroundColor()
/dports/graphics/libmng/libmng-1.0.10/contrib/bcb/mngdump/
H A DCHUNKS.CPP173 mng_uint16 iRed; in Info_BACK() local
181 &iRed, &iGreen, &iBlue, in Info_BACK()
185 IARG( "iRed", iRed ); in Info_BACK()
214 mng_uint16 iRed; in Info_BASI() local
223 &iRed, &iGreen, &iBlue, &iAlpha, in Info_BASI()
234 NL; IARG( "iRed", iRed ); in Info_BASI()
1242 mng_uint16 iRed; in Info_bKGD() local
1255 NL; IARG( "iRed", iRed ); in Info_bKGD()
1629 mng_uint16 iRed; in Info_tRNS() local
1638 &iGray, &iRed, &iGreen, &iBlue, in Info_tRNS()
[all …]
/dports/devel/qmake/qt-x11-free-3.3.8/src/3rdparty/libmng/
H A Dlibmng_chunks.h148 mng_uint16 iRed; member
251 mng_uint16 iRed; member
387 mng_uint16 iRed; member
452 mng_uint16 iRed; member
669 mng_uint8 iRed; member
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/wxSmith/wxwidgets/defitems/
H A Dwxstreectrl.cpp101 int iRed, iGreen, iBlue; in OnBuildCreatingCode() local
175 iRed = colour.Red(); in OnBuildCreatingCode()
178 if((colour.IsOk()) && ((iRed + iGreen + iBlue) != 0)) in OnBuildCreatingCode()
180 sSource.Printf(_("%d,%d,%d"), iRed, iGreen, iBlue); in OnBuildCreatingCode()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/FullScreen/FullScreenInsets/
H A DFullScreenInsets.java66 final Insets iRed = wGreen.getInsets(); in main() local
86 testInsets(wRed.getInsets(), iRed); in main() local
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/awt/FullScreen/FullScreenInsets/
H A DFullScreenInsets.java66 final Insets iRed = wGreen.getInsets(); in main() local
86 testInsets(wRed.getInsets(), iRed); in main() local
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/awt/FullScreen/FullScreenInsets/
H A DFullScreenInsets.java66 final Insets iRed = wGreen.getInsets(); in main() local
86 testInsets(wRed.getInsets(), iRed); in main() local

12345