/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_cliffmetrics/CliffMetrics/ |
H A D | locate_coast.cpp | 152 for (int nX = nXMid; nX >= 0; nX--) in FindAllSeaCells() local 158 for (int nX = nXMid+1; nX < m_nXGridMax; nX++) in FindAllSeaCells() local 166 for (int nX = nXMid; nX >= 0; nX--) in FindAllSeaCells() local 172 for (int nX = nXMid+1; nX < m_nXGridMax; nX++) in FindAllSeaCells() local 233 nX--; in FloodFillSea() 235 nX++; in FloodFillSea() 272 nX++; in FloodFillSea() 291 for (int nX = nXMid; nX > 0; nX--) in nTraceAllCoasts() local 323 for (int nX = nXMid; nX < m_nXGridMax-1; nX++) in nTraceAllCoasts() local 356 for (int nX = nXMid; nX > 0; nX--) in nTraceAllCoasts() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/gdi/ |
H A D | bmpacc2.cxx | 25 return BitmapColor( pScanline[ nX >> 3 ] & ( 1 << ( 7 - ( nX & 7 ) ) ) ? 1 : 0 ); in GetPixelForN1BitMsbPal() 40 return BitmapColor( pScanline[ nX >> 3 ] & ( 1 << ( nX & 7 ) ) ? 1 : 0 ); in GetPixelForN1BitLsbPal() 48 rByte |= 1 << ( nX & 7 ); in SetPixelForN1BitLsbPal() 55 return BitmapColor( ( pScanline[ nX >> 1 ] >> ( nX & 1 ? 0 : 4 ) ) & 0x0f ); in GetPixelForN4BitMsnPal() 62 if ( nX & 1 ) in SetPixelForN4BitMsnPal() 76 return BitmapColor( ( pScanline[ nX >> 1 ] >> ( nX & 1 ? 4 : 0 ) ) & 0x0f ); in GetPixelForN4BitLsnPal() 83 if ( nX & 1 ) in SetPixelForN4BitLsnPal() 122 pScanline = pScanline + nX * 3; in GetPixelForN24BitTcBgr() 132 pScanline = pScanline + nX * 3; in SetPixelForN24BitTcBgr() 142 pScanline = pScanline + nX * 3; in GetPixelForN24BitTcRgb() [all …]
|
H A D | bitmap3.cxx | 361 for( long nX = 0; nX < nWidth; nX++ ) in ImplMakeGreyscales() local 485 for (long nX = 0; nX < nWidth; nX++) in ImplConvertUp() local 499 for (long nX = 0; nX < nWidth; nX++) in ImplConvertUp() local 588 for (long nX = 0; nX < nWidth; nX++) in ImplConvertDown() local 607 for (nX = 1; nX < nWidth1; nX++) in ImplConvertDown() 634 for (nX = 0; nX < nWidth; nX++) in ImplConvertDown() 705 for( long nX = 0; nX < nWidth; nX++ ) in ImplConvertGhosted() local 1102 for( long nX = 0; nX < 256; nX++ ) in Adjust() local 1154 for( long nX = 0; nX < nW; nX++ ) in Adjust() local 1168 for( long nX = 0; nX < nW; nX++ ) in Adjust() local [all …]
|
H A D | bmpacc3.cxx | 89 for (long nX = 0; nX <= nEndX; ++nX) in Erase() local 105 long nX, nY; in DrawLine() local 112 nX = rStart.X(); in DrawLine() 131 nX = rStart.X(); in DrawLine() 134 if (nEndX > nX) in DrawLine() 136 for (; nX <= nEndX; nX++) in DrawLine() 141 for (; nX >= nEndX; nX--) in DrawLine() 176 for (nX = nX1, nY = nY1; nX <= nX2; nX++) in DrawLine() 226 nX++; in DrawLine() 228 nX--; in DrawLine() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/bitmap/ |
H A D | bitmappaint.cxx | 141 for (long nX = 0; nX < nWidth; nX++) in Invert() local 359 for (nX = 0; nX < nNewWidth; nX++) in Rotate() 381 for (nX = 0; nX < nNewWidth; nX++) in Rotate() 546 for (long nX = 0; nX < nWidth; ++nX) in CreateMask() local 573 for (long nX = 0; nX < nWidth; nX++) in CreateMask() local 599 for (long nX = 0; nX < nWidth; nX++) in CreateMask() local 800 for (long nX = 0; nX < nWidth; nX++) in Replace() local 831 for (long nX = 0; nX < nWidth; nX++) in Replace() local 1063 for (long nX = 0; nX < nWidth; nX++) in CombineSimple() local 1085 for (long nX = 0; nX < nWidth; nX++) in CombineSimple() local [all …]
|
H A D | BitmapColorizeFilter.cxx | 31 long nX; in execute() local 38 for (nX = 0; nX < 256; ++nX) in execute() 40 aMapR[nX] = MinMax((nX + cR) / 2, 0, 255); in execute() 41 aMapG[nX] = MinMax((nX + cG) / 2, 0, 255); in execute() 42 aMapB[nX] = MinMax((nX + cB) / 2, 0, 255); in execute() 62 for (nX = 0; nX < nW; ++nX) in execute() 78 for (nX = 0; nX < nW; ++nX) in execute() 80 aBitmapColor = pWriteAccess->GetPixelFromData(pScanline, nX); in execute() 84 pWriteAccess->SetPixelOnData(pScanline, nX, aBitmapColor); in execute()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/vcl/ |
H A D | bitmapaccess.hxx | 183 return mFncGetPixel( pData, nX, maColorMask ); in GetPixelFromData() 186 sal_uInt8 GetIndexFromData(const sal_uInt8* pData, long nX) const in GetIndexFromData() 188 return GetPixelFromData( pData, nX ).GetIndex(); in GetIndexFromData() 195 mFncSetPixel(pData, nX, rBitmapColor, maColorMask); in SetPixelOnData() 198 BitmapColor GetPixel(long nY, long nX) const in GetPixel() 204 return mFncGetPixel(GetScanline(nY), nX, maColorMask ); in GetPixel() 207 BitmapColor GetColor(long nY, long nX) const in GetColor() 210 return mpBuffer->maPalette[GetPixelIndex(nY, nX)]; in GetColor() 212 return GetPixel(nY, nX); in GetColor() 215 sal_uInt8 GetPixelIndex(long nY, long nX) const in GetPixelIndex() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/vcl/ |
H A D | BitmapReadAccess.hxx | 62 return mFncGetPixel(pData, nX, maColorMask); in GetPixelFromData() 67 return GetPixelFromData(pData, nX).GetIndex(); in GetIndexFromData() 74 mFncSetPixel(pData, nX, rBitmapColor, maColorMask); in SetPixelOnData() 77 BitmapColor GetPixel(tools::Long nY, tools::Long nX) const in GetPixel() 80 assert(nX < mpBuffer->mnWidth && "x-coordinate out of range!"); in GetPixel() 83 return mFncGetPixel(GetScanline(nY), nX, maColorMask); in GetPixel() 88 BitmapColor GetColor(tools::Long nY, tools::Long nX) const in GetColor() 93 return pBuffer->maPalette[GetPixelIndex(nY, nX)]; in GetColor() 96 return GetPixel(nY, nX); in GetColor() 101 sal_uInt8 GetPixelIndex(tools::Long nY, tools::Long nX) const in GetPixelIndex() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/ |
H A D | BitmapReadAccess.cxx | 162 nIndX = nX + 1; in GetInterpolatedColorWithFallback() 166 nIndX = nX - 1; in GetInterpolatedColorWithFallback() 252 return BitmapColor(pScanline[nX >> 3] & (1 << (7 - (nX & 7))) ? 1 : 0); in GetPixelForN1BitMsbPal() 269 return BitmapColor(pScanline[nX >> 3] & (1 << (nX & 7)) ? 1 : 0); in GetPixelForN1BitLsbPal() 278 rByte |= 1 << (nX & 7); in SetPixelForN1BitLsbPal() 280 rByte &= ~(1 << (nX & 7)); in SetPixelForN1BitLsbPal() 300 pScanline = pScanline + nX * 3; in GetPixelForN24BitTcBgr() 311 pScanline = pScanline + nX * 3; in SetPixelForN24BitTcBgr() 322 pScanline = pScanline + nX * 3; in GetPixelForN24BitTcRgb() 333 pScanline = pScanline + nX * 3; in SetPixelForN24BitTcRgb() [all …]
|
H A D | bitmappaint.cxx | 88 for (tools::Long nX = 0; nX < nWidth; nX++) in Invert() local 383 for (nX = 0; nX < nNewWidth; nX++) in Rotate() 405 for (nX = 0; nX < nNewWidth; nX++) in Rotate() 541 for (tools::Long nX = 0; nX < nWidth; ++nX) in CreateMask() local 557 for (tools::Long nX = 0; nX < nWidth; ++nX) in CreateMask() local 584 for (tools::Long nX = 0; nX < nWidth; nX++) in CreateMask() local 610 for (tools::Long nX = 0; nX < nWidth; nX++) in CreateMask() local 811 for (tools::Long nX = 0; nX < nWidth; nX++) in Replace() local 842 for (tools::Long nX = 0; nX < nWidth; nX++) in Replace() local 1073 for (tools::Long nX = 0; nX < nWidth; nX++) in CombineSimple() local [all …]
|
H A D | BitmapWriteAccess.cxx | 54 for (tools::Long nX = 0; nX < nWidth; nX++) in CopyScanline() local 141 for (tools::Long nX = 0, nWidth = mpBuffer->mnWidth; nX < nWidth; ++nX) in CopyScanline() local 208 for (tools::Long nX = 0; nX <= nEndX; ++nX) in Erase() local 225 tools::Long nX, nY; in DrawLine() local 232 nX = rStart.X(); in DrawLine() 251 nX = rStart.X(); in DrawLine() 254 if (nEndX > nX) in DrawLine() 256 for (; nX <= nEndX; nX++) in DrawLine() 261 for (; nX >= nEndX; nX--) in DrawLine() 296 for (nX = nX1, nY = nY1; nX <= nX2; nX++) in DrawLine() [all …]
|
H A D | BitmapColorizeFilter.cxx | 31 tools::Long nX; in execute() local 38 for (nX = 0; nX < 256; ++nX) in execute() 40 aMapR[nX] = MinMax((nX + cR) / 2, 0, 255); in execute() 41 aMapG[nX] = MinMax((nX + cG) / 2, 0, 255); in execute() 42 aMapB[nX] = MinMax((nX + cB) / 2, 0, 255); in execute() 62 for (nX = 0; nX < nW; ++nX) in execute() 78 for (nX = 0; nX < nW; ++nX) in execute() 80 aBitmapColor = pWriteAccess->GetPixelFromData(pScanline, nX); in execute() 84 pWriteAccess->SetPixelOnData(pScanline, nX, aBitmapColor); in execute()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/filter/png/ |
H A D | pngread.cxx | 1154 for (int nX = 0; nX < nLen; ++nX) in SanitizePaletteIndexes() local 1191 for ( long nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local 1206 for ( long nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local 1372 for ( long nX = nXStart; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local 1450 for (long nX(0); nX < maOrigSize.Width(); nX++, pTmp += 4) in ImplDrawScanline() local 1477 for ( long nX = nXStart; nX < maOrigSize.Width(); nX += nXAdd, pTmp += 4 ) in ImplDrawScanline() local 1507 for ( long nX = nXStart; nX < maOrigSize.Width(); nX += nXAdd, pTmp += 8 ) in ImplDrawScanline() local 1526 for ( long nX = nXStart; nX < maOrigSize.Width(); nX += nXAdd, pTmp += 3 ) in ImplDrawScanline() local 1543 for ( long nX = nXStart; nX < maOrigSize.Width(); nX += nXAdd, pTmp += 6 ) in ImplDrawScanline() local 1585 for (long nX(0); nX < maOrigSize.Width(); nX++, pTmp += 3) in ImplDrawScanline() local [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/graphicfilter/ipsd/ |
H A D | ipsd.cxx | 335 sal_uLong nX, nY; in ImplReadBody() local 339 nX = nY = 0; in ImplReadBody() 371 nX = 0; in ImplReadBody() 393 nX = 0; in ImplReadBody() 427 nX = 0; in ImplReadBody() 445 nX = 0; in ImplReadBody() 482 nX = 0; in ImplReadBody() 679 for ( nX = 0; nX < mpFileHeader->nColumns; nX++ ) in ImplReadBody() 699 nY = nX = 0; in ImplReadBody() 723 nX = 0; in ImplReadBody() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/ipsd/ |
H A D | ipsd.cxx | 345 sal_uInt32 nX, nY; in ImplReadBody() local 349 nX = nY = 0; in ImplReadBody() 381 nX = 0; in ImplReadBody() 403 nX = 0; in ImplReadBody() 437 nX = 0; in ImplReadBody() 455 nX = 0; in ImplReadBody() 492 nX = 0; in ImplReadBody() 689 for ( nX = 0; nX < mpFileHeader->nColumns; nX++ ) in ImplReadBody() 709 nY = nX = 0; in ImplReadBody() 733 nX = 0; in ImplReadBody() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/zvision/graphics/effects/ |
H A D | wave.cpp | 79 int16 nX = x + amnt; in draw() local 82 if (nX < 0) in draw() 83 nX = 0; in draw() 84 if (nX >= _region.width()) in draw() 95 if (nX < 0) in draw() 96 nX = 0; in draw() 105 nX = x + amnt; in draw() 108 if (nX < 0) in draw() 109 nX = 0; in draw() 121 if (nX < 0) in draw() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/zvision/graphics/effects/ |
H A D | wave.cpp | 79 int16 nX = x + amnt; in draw() local 82 if (nX < 0) in draw() 83 nX = 0; in draw() 84 if (nX >= _region.width()) in draw() 95 if (nX < 0) in draw() 96 nX = 0; in draw() 105 nX = x + amnt; in draw() 108 if (nX < 0) in draw() 109 nX = 0; in draw() 121 if (nX < 0) in draw() [all …]
|
/dports/math/spooles/spooles.2.2/BPG/src/ |
H A D | init.c | 21 int nX, in BPG_init() argument 44 bpg->nX = nX ; in BPG_init() 54 for ( v = 0 ; v < nX ; v++ ) { in BPG_init() 64 if ( nX <= w && w < nX + nY ) { in BPG_init() 80 for ( v = nX ; v < nX + nY ; v++ ) { in BPG_init() 90 if ( 0 <= w && w < nX ) { in BPG_init() 170 indX[nX] = v ; in BPG_initFromColoring() 171 cmap[v] = nX++ ; in BPG_initFromColoring() 180 for ( iX = 0 ; iX < nX ; iX++ ) { in BPG_initFromColoring() 187 cmap[w] = nX + nY++ ; in BPG_initFromColoring() [all …]
|
/dports/math/spooles-mpich/spooles.2.2_SHARED/BPG/src/ |
H A D | init.c | 21 int nX, in BPG_init() argument 44 bpg->nX = nX ; in BPG_init() 54 for ( v = 0 ; v < nX ; v++ ) { in BPG_init() 64 if ( nX <= w && w < nX + nY ) { in BPG_init() 80 for ( v = nX ; v < nX + nY ; v++ ) { in BPG_init() 90 if ( 0 <= w && w < nX ) { in BPG_init() 170 indX[nX] = v ; in BPG_initFromColoring() 171 cmap[v] = nX++ ; in BPG_initFromColoring() 180 for ( iX = 0 ; iX < nX ; iX++ ) { in BPG_initFromColoring() 187 cmap[w] = nX + nY++ ; in BPG_initFromColoring() [all …]
|
/dports/math/spooles-mpich/spooles.2.2/BPG/src/ |
H A D | init.c | 21 int nX, in BPG_init() argument 44 bpg->nX = nX ; in BPG_init() 54 for ( v = 0 ; v < nX ; v++ ) { in BPG_init() 64 if ( nX <= w && w < nX + nY ) { in BPG_init() 80 for ( v = nX ; v < nX + nY ; v++ ) { in BPG_init() 90 if ( 0 <= w && w < nX ) { in BPG_init() 170 indX[nX] = v ; in BPG_initFromColoring() 171 cmap[v] = nX++ ; in BPG_initFromColoring() 180 for ( iX = 0 ; iX < nX ; iX++ ) { in BPG_initFromColoring() 187 cmap[w] = nX + nY++ ; in BPG_initFromColoring() [all …]
|
/dports/math/spooles/spooles.2.2_SHARED/BPG/src/ |
H A D | init.c | 21 int nX, in BPG_init() argument 44 bpg->nX = nX ; in BPG_init() 54 for ( v = 0 ; v < nX ; v++ ) { in BPG_init() 64 if ( nX <= w && w < nX + nY ) { in BPG_init() 80 for ( v = nX ; v < nX + nY ; v++ ) { in BPG_init() 90 if ( 0 <= w && w < nX ) { in BPG_init() 170 indX[nX] = v ; in BPG_initFromColoring() 171 cmap[v] = nX++ ; in BPG_initFromColoring() 180 for ( iX = 0 ; iX < nX ; iX++ ) { in BPG_initFromColoring() 187 cmap[w] = nX + nY++ ; in BPG_initFromColoring() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/alg/ |
H A D | viewshed.cpp | 252 int nX = static_cast<int>(dfX); in GDALViewshedGenerate() local 258 if (nX < 0 || in GDALViewshedGenerate() 259 nX > nXSize || in GDALViewshedGenerate() 275 nX -= nXStart; in GDALViewshedGenerate() 387 pabyResult[nX] = byVisibleVal; in GDALViewshedGenerate() 391 if (nX > 0) in GDALViewshedGenerate() 406 if (nX < nXSize - 1) in GDALViewshedGenerate() 538 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() 540 SetVisibility(nX, in GDALViewshedGenerate() 716 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/alg/ |
H A D | viewshed.cpp | 252 int nX = static_cast<int>(dfX); in GDALViewshedGenerate() local 258 if (nX < 0 || in GDALViewshedGenerate() 259 nX > nXSize || in GDALViewshedGenerate() 275 nX -= nXStart; in GDALViewshedGenerate() 387 pabyResult[nX] = byVisibleVal; in GDALViewshedGenerate() 391 if (nX > 0) in GDALViewshedGenerate() 406 if (nX < nXSize - 1) in GDALViewshedGenerate() 538 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() 540 SetVisibility(nX, in GDALViewshedGenerate() 716 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/alg/ |
H A D | viewshed.cpp | 252 int nX = static_cast<int>(dfX); in GDALViewshedGenerate() local 258 if (nX < 0 || in GDALViewshedGenerate() 259 nX > nXSize || in GDALViewshedGenerate() 275 nX -= nXStart; in GDALViewshedGenerate() 387 pabyResult[nX] = byVisibleVal; in GDALViewshedGenerate() 391 if (nX > 0) in GDALViewshedGenerate() 406 if (nX < nXSize - 1) in GDALViewshedGenerate() 538 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() 540 SetVisibility(nX, in GDALViewshedGenerate() 716 dfHeightResult[nX] = std::max(0.0, (dfZ - padfThisLineVal[nX] + dfGroundLevel)); in GDALViewshedGenerate() [all …]
|
/dports/math/ipopt/Ipopt-3.12.13/ThirdParty/Mumps/MUMPS/PORD/lib/ |
H A D | gbipart.c | 71 Gbipart->nX = nX; in newBipartiteGraph() 172 for (i = nX; i < nX+nY; i++) in setupBipartiteGraph() 185 xadjGb[nX+nY] = ptr; in setupBipartiteGraph() 202 nX = Gbipart->nX; in maximumMatching() 331 nX = Gbipart->nX; in maximumFlow() 442 nX = Gbipart->nX; in DMviaMatching() 457 for (y = nX; y < nX+nY; y++) in DMviaMatching() 514 for (y = nX; y < nX+nY; y++) in DMviaMatching() 535 nX = Gbipart->nX; in DMviaFlow() 550 for (y = nX; y < nX+nY; y++) in DMviaFlow() [all …]
|