/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/mediax/jai/ |
H A D | SnapshotImage.java | 32 int tileX; field in TileCopy 45 TileCopy(Raster tile, int tileX, int tileY) { in TileCopy() argument 47 this.tileX = tileX; in TileCopy() 88 public Raster getTile(int tileX, int tileY) { in getTile() argument 89 return parent.getTile(tileX, tileY); in getTile() 153 public Raster getTile(int tileX, int tileY) { in getTile() argument 199 boolean hasTile(int tileX, int tileY) { in hasTile() argument 214 tiles.put(new Point(tileX, tileY), tc); in addTile() 399 int x = tileXToX(tileX); in createTileCopy() 467 tail.addTile(createTileCopy(tileX, tileY), tileX, tileY); in tileUpdate() local [all …]
|
H A D | TiledImage.java | 1068 createTile(tileX, tileY); in getTile() 1100 if(isTileLocked(tileX, tileY)) { in getWritableTile() 1104 createTile(tileX, tileY); in getWritableTile() 1140 if(isTileLocked(tileX, tileY)) { in releaseWritableTile() 1183 createTile(tileX, tileY); in lockTile() 1449 int tileX = XToTileX(x); in setSample() local 1466 int tileX = XToTileX(x); in getSample() local 1481 int tileX = XToTileX(x); in setSample() local 1498 int tileX = XToTileX(x); in getSampleFloat() local 1513 int tileX = XToTileX(x); in setSample() local [all …]
|
H A D | WritableRenderedImageAdapter.java | 103 public final WritableRaster getWritableTile(int tileX, int tileY) { in getWritableTile() argument 104 return theWritableImage.getWritableTile(tileX, tileY); in getWritableTile() 121 public final void releaseWritableTile(int tileX, int tileY) { in releaseWritableTile() argument 122 theWritableImage.releaseWritableTile(tileX, tileY); in releaseWritableTile() 133 public final boolean isTileWritable(int tileX, int tileY) { in isTileWritable() argument 134 return theWritableImage.isTileWritable(tileX, tileY); in isTileWritable()
|
/dports/www/kf5-khtml/khtml-5.89.0/src/imload/ |
H A D | scaledimageplane.cpp | 35 bool ScaledImagePlane::isUpToDate(unsigned int tileX, unsigned int tileY, in isUpToDate() argument 38 Q_UNUSED(tileX); in isUpToDate() 55 static void scaleLoop32bit(QImage *dst, const QImage &src, int tileX, int tileY, in scaleLoop32bit() argument 66 …for (int xTarget = 0, xSource = tileX * Tile::TileSize * xStep; xTarget < dst->width(); xTarget++,… in scaleLoop32bit() 74 static void scaleLoop8bit(QImage *dst, const QImage &src, int tileX, int tileY, in scaleLoop8bit() argument 91 for (unsigned tileX = 0; tileX < tilesWidth; ++tileX) { in flushCache() local 93 ImageTile &imageTile = tiles.at(tileX, tileY); in flushCache() 101 void ScaledImagePlane::ensureUpToDate(unsigned int tileX, unsigned int tileY, in ensureUpToDate() argument 104 ImageTile &imageTile = tiles.at(tileX, tileY); in ensureUpToDate() 108 imageTile.image = parent->format.makeImage(tileWidth(tileX), in ensureUpToDate() [all …]
|
H A D | pixmapplane.cpp | 90 for (unsigned int tileX = startTileX; tileX <= endTileX; ++tileX) { in paint() local 97 if (tileX == startTileX) { in paint() 101 if (tileX == endTileX) { in paint() 108 PixmapTile &tile = tiles.at(tileX, tileY); in paint() 109 if (!parent->isUpToDate(tileX, tileY, &tile)) { in paint() 110 parent->ensureUpToDate(tileX, tileY, &tile); in paint() 135 for (unsigned tileX = 0; tileX < tilesWidth; ++tileX) { in flushCache() local 137 PixmapTile &pixTile = tiles.at(tileX, tileY); in flushCache()
|
H A D | rawimageplane.cpp | 29 bool RawImagePlane::isUpToDate(unsigned int tileX, unsigned int tileY, in isUpToDate() argument 32 Q_UNUSED(tileX); in isUpToDate() 36 void RawImagePlane::ensureUpToDate(unsigned int tileX, unsigned int tileY, in ensureUpToDate() argument 41 tileX, tileY, in ensureUpToDate() 42 tileX * Tile::TileSize, tileY * Tile::TileSize, in ensureUpToDate()
|
/dports/devel/kyra/kyra/util/ |
H A D | glisomath.cpp | 33 void GlIsoMath::TileToScreen( GlFixed tileX, GlFixed tileY, GlFixed tileZ, in TileToScreen() argument 39 GlFixed vX = tileX * GlFixed( tileWidth / 2 ) in TileToScreen() 42 GlFixed vY = tileX * GlFixed( tileHeight / 2 ) in TileToScreen() 57 GlFixed* tileX, GlFixed* tileY ) in ScreenToFlatTile() argument 64 *tileX = ( vX / tileWidth ) + ( vY / tileHeight ) - tileZ; in ScreenToFlatTile() 83 *worldX = csAlpha * tileX - csAlpha * tileY; in TileToWorld() 84 *worldY = csAlpha * tileX + csAlpha * tileY; in TileToWorld() 121 TileToScreen( tileX, tileY, tileZ, in SetScreenCenterToTile() 132 int tileX, int tileY, int tileZ ) in SetScreenToTile() argument 137 TileToScreen( tileX, tileY, tileZ, in SetScreenToTile() [all …]
|
H A D | glisomath.h | 119 static void TileToScreen( GlFixed tileX, GlFixed tileY, GlFixed tileZ, 130 GlFixed* tileX, GlFixed* tileY ); 135 static void TileToWorld( GlFixed tileX, GlFixed tileY, GlFixed tileZ, 157 int tileX, int tileY, int tileZ ); 161 int tileX, int tileY, int tileZ ); 164 void TileToScreen( GlFixed tileX, GlFixed tileY, GlFixed tileZ, 171 GlFixed* tileX, GlFixed* tileY ) const;
|
/dports/games/warzone2100/warzone2100/src/ |
H A D | lighting.cpp | 60 static void calcTileIllum(UDWORD tileX, UDWORD tileY); 132 tiles[i][j] = Vector2i(tileX + i, tileY + j); in normalsOnTile() 259 const int tileX = psLight->position.x / TILE_UNITS; in processLight() local 264 int startX = tileX - rangeSkip; in processLight() 265 int endX = tileX + rangeSkip; in processLight() 302 x1 = tileX * TILE_UNITS; in calcDistToTile() 303 y1 = map_TileHeight(tileX, tileY); in calcDistToTile() 325 const int tileX = map_coord(psDroid->pos.x); in calcDroidIllumination() local 329 if (!tileOnMap(tileX, tileY)) in calcDroidIllumination() 334 else if (tileX <= 1 || tileX >= mapWidth - 2 || tileY <= 1 || tileY >= mapHeight - 2) in calcDroidIllumination() [all …]
|
/dports/databases/tile38/tile38-1.12.0/controller/bing/ |
H A D | ext.go | 8 tileX, tileY := PixelXYToTileXY(pixelX, pixelY) 10 if !iterator(partForTileXY(tileX, tileY, i)) { 16 func partForTileXY(tileX, tileY int64, levelOfDetail uint64) int { argument 18 if (tileX & mask) != 0 { 30 func TileXYToBounds(tileX, tileY int64, levelOfDetail uint64) (minLat, minLon, maxLat, maxLon float… argument 32 pixelX, pixelY := TileXYToPixelXY(tileX, tileY) 34 pixelX, pixelY = TileXYToPixelXY(tileX+1, tileY+1) 36 if tileX%size == 0 { 39 if tileX%size == size-1 {
|
H A D | bing.go | 102 func PixelXYToTileXY(pixelX, pixelY int64) (tileX, tileY int64) { 111 func TileXYToPixelXY(tileX, tileY int64) (pixelX, pixelY int64) { argument 112 return tileX << 8, tileY << 8 120 func TileXYToQuadKey(tileX, tileY int64, levelOfDetail uint64) string { argument 124 if (tileX & mask) != 0 { 144 func QuadKeyToTileXY(quadKey string) (tileX, tileY int64, levelOfDetail uint64) { 151 tileX |= mask 155 tileX |= mask
|
/dports/games/freesynd/freesynd-0.7.5/src/menus/ |
H A D | maprenderer.cpp | 145 return fastKey(m->tileX(), m->tileY(), m->tileZ()); in fastKey() 174 if (p->tileX() >= tilex && p->tileX() < maxtilex in createFastKeys() 190 if (v->tileX() >= tilex && v->tileX() < maxtilex in createFastKeys() 203 if (p->tileX() >= tilex && p->tileX() < maxtilex in createFastKeys() 213 if (p->tileX() >= tilex && p->tileX() < maxtilex in createFastKeys() 224 if (w->map() != -1 && w->tileX() >= tilex && w->tileX() < maxtilex in createFastKeys() 234 if (s->tileX() >= tilex && s->tileX() < maxtilex in createFastKeys() 244 if (so->map() != -1 && so->tileX() >= tilex && so->tileX() < maxtilex in createFastKeys() 258 if (cache_vehicles_[i]->tileX() == tilex in drawAt() 268 if (cache_peds_[i]->tileX() == tilex in drawAt() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/hdb/ |
H A D | ai-bots.cpp | 773 if (p->tileX == e->tileX) { in aiRailRiderOnUse() 778 } else if (p->tileX > e->tileX) in aiRailRiderOnUse() 830 p->tileX = e->tileX; in aiRailRiderOnAction() 880 p->tileX = e->tileX; in aiRailRiderOnAction() 1495 if (hit->tileX == e->tileX) { in aiLaserAction() 2128 if (p->tileY == e->tileY && e->tileX - p->tileX < 3 && p->tileX < e->tileX) { in aiFatFrogAction() 2147 if (p->tileY == e->tileY && p->tileX - e->tileX < 3 && p->tileX > e->tileX) { in aiFatFrogAction() 2468 if (p->tileX < e->tileX) in aiGoodFairyAction() 2561 hit->tileX = e->tileX; in aiGoodFairyAction() 3267 p->tileX >= e->tileX - 1 && in aiDragonAction() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hdb/ |
H A D | ai-bots.cpp | 760 if (p->tileX == e->tileX) { in aiRailRiderOnUse() 765 } else if (p->tileX > e->tileX) in aiRailRiderOnUse() 817 p->tileX = e->tileX; in aiRailRiderOnAction() 866 p->tileX = e->tileX; in aiRailRiderOnAction() 1463 if (hit->tileX == e->tileX) { in aiLaserAction() 2087 if (p->tileY == e->tileY && e->tileX - p->tileX < 3 && p->tileX < e->tileX) { in aiFatFrogAction() 2106 if (p->tileY == e->tileY && p->tileX - e->tileX < 3 && p->tileX > e->tileX) { in aiFatFrogAction() 2421 if (p->tileX < e->tileX) in aiGoodFairyAction() 2511 hit->tileX = e->tileX; in aiGoodFairyAction() 3205 p->tileX >= e->tileX - 1 && in aiDragonAction() [all …]
|
/dports/graphics/libpgf/PGF/Codec/src/ |
H A D | Subband.cpp | 182 TilePosition(tileX, tileY, xPos, yPos, w, h); in ExtractTile() 189 tileX; tileY; tile; // prevents from unreferenced formal parameter warning in ExtractTile() 222 TilePosition(tileX, tileY, xPos, yPos, w, h); in PlaceTile() 258 ASSERT(tileX < m_nTiles); ASSERT(tileY < m_nTiles); in TilePosition() 283 if (tileX >= m) { in TilePosition() 320 tileX = 0; in TileIndex() 328 tileX += nTiles; in TileIndex() 333 ASSERT(tileX >= 0 && tileX < m_nTiles); in TileIndex() 354 tileX = 1; in TileIndex() 362 tileX += nTiles; in TileIndex() [all …]
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/third_party/pgf/ |
H A D | Subband.cpp | 182 TilePosition(tileX, tileY, xPos, yPos, w, h); in ExtractTile() 189 tileX; tileY; tile; // prevents from unreferenced formal parameter warning in ExtractTile() 222 TilePosition(tileX, tileY, xPos, yPos, w, h); in PlaceTile() 258 ASSERT(tileX < m_nTiles); ASSERT(tileY < m_nTiles); in TilePosition() 283 if (tileX >= m) { in TilePosition() 320 tileX = 0; in TileIndex() 328 tileX += nTiles; in TileIndex() 333 ASSERT(tileX >= 0 && tileX < m_nTiles); in TileIndex() 354 tileX = 1; in TileIndex() 362 tileX += nTiles; in TileIndex() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/pgfutils/libpgf/ |
H A D | Subband.cpp | 182 TilePosition(tileX, tileY, xPos, yPos, w, h); in ExtractTile() 189 (void)tileX; (void)tileY; (void)tile; // prevents from unreferenced formal parameter warning in ExtractTile() 222 TilePosition(tileX, tileY, xPos, yPos, w, h); in PlaceTile() 258 ASSERT(tileX < m_nTiles); ASSERT(tileY < m_nTiles); in TilePosition() 283 if (tileX >= m) { in TilePosition() 320 tileX = 0; in TileIndex() 328 tileX += nTiles; in TileIndex() 333 ASSERT(tileX >= 0 && tileX < m_nTiles); in TileIndex() 354 tileX = 1; in TileIndex() 362 tileX += nTiles; in TileIndex() [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/jai/utils/ |
H A D | LCCachedTile.java | 46 int tileX; // tile X index field in LCCachedTile 66 int tileX, in LCCachedTile() argument 73 this.tileX = tileX; in LCCachedTile() 78 key = hashKey(owner, tileX, tileY); in LCCachedTile() 88 int tileX, in fastHashKey() argument 90 return new Integer(((Object) owner).hashCode() + tileY * owner.getNumXTiles() + tileX); in fastHashKey() 103 int tileX, in hashKey() argument 105 long idx = tileY * (long)owner.getNumXTiles() + tileX; in hashKey() 158 " tileX = " + Integer.toString(tileX) + in toString()
|
/dports/graphics/openexr/openexr-3.1.4/src/examples/ |
H A D | rgbaInterfaceTiledExamples.cpp | 73 for (int tileX = 0; tileX < out.numXTiles (); ++tileX) in writeTiledRgbaONE2() local 75 Box2i range = out.dataWindowForTile (tileX, tileY); in writeTiledRgbaONE2() 87 out.writeTile (tileX, tileY); in writeTiledRgbaONE2() 149 for (int tileX = 0; tileX < out.numXTiles (level); ++tileX) in writeTiledRgbaMIP2() local 151 Box2i range = out.dataWindowForTile (tileX, tileY, level); in writeTiledRgbaMIP2() 163 out.writeTile (tileX, tileY, level); in writeTiledRgbaMIP2() 233 for (int tileX = 0; tileX < out.numXTiles (xLevel); ++tileX) in writeTiledRgbaRIP2() local 235 Box2i range = out.dataWindowForTile (tileX, tileY, in writeTiledRgbaRIP2() 248 out.writeTile (tileX, tileY, xLevel, yLevel); in writeTiledRgbaRIP2()
|
/dports/emulators/mgba/mgba-0.9.2/src/gba/renderers/ |
H A D | software-mode0.c | 75 localX = tileX * 8 + inX; \ 84 localX = tileX * 8 + inX; \ 110 localX = tileX * 8 + inX; \ 111 for (; length; ++tileX) { \ 149 for (; tileX < tileEnd; ++tileX) { \ 282 for (; tileX < tileEnd; ++tileX) { \ 458 if (tileX < tileEnd) { \ 459 ++tileX; \ 552 int tileX; in GBAVideoSoftwareRendererDrawBackgroundMode0() local 558 for (tileX = 0; tileX < 64; ++tileX, localX += 8) { in GBAVideoSoftwareRendererDrawBackgroundMode0() [all …]
|
/dports/games/libretro-mgba/mgba-6186d45/src/gba/renderers/ |
H A D | software-mode0.c | 75 localX = tileX * 8 + inX; \ 84 localX = tileX * 8 + inX; \ 110 localX = tileX * 8 + inX; \ 111 for (; length; ++tileX) { \ 149 for (; tileX < tileEnd; ++tileX) { \ 282 for (; tileX < tileEnd; ++tileX) { \ 457 if (tileX < tileEnd) { \ 458 ++tileX; \ 551 int tileX; in GBAVideoSoftwareRendererDrawBackgroundMode0() local 557 for (tileX = 0; tileX < 64; ++tileX, localX += 8) { in GBAVideoSoftwareRendererDrawBackgroundMode0() [all …]
|
/dports/devel/ispc/ispc-1.16.1/examples/cpu/deferred/ |
H A D | dynamic_c.cpp | 124 for (int tileX = 0; tileX < numTilesX; ++tileX) { in ComputeZBoundsRow() local 126 ComputeZBounds(tileX * tileWidth, tileX * tileWidth + tileWidth, tileY * tileHeight, in ComputeZBoundsRow() 129 minZArray[tileX] = minZ; in ComputeZBoundsRow() 130 maxZArray[tileX] = maxZ; in ComputeZBoundsRow() 220 …float MinZ(int level, int tileX, int tileY) const { return mMinZArrays[level][tileY * NumTilesX(le… in MinZ() argument 221 …float MaxZ(int level, int tileX, int tileY) const { return mMaxZArrays[level][tileY * NumTilesX(le… in MaxZ() argument 526 int startX = tileX * width; in ShadeDynamicTileRecurse() 542 tileX <<= 1; in ShadeDynamicTileRecurse() 548 int midX = (tileX + 1) * width; in ShadeDynamicTileRecurse() 691 int startX = tileX * width; in ShadeDynamicTile() [all …]
|
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/src/com/lightcrafts/jai/opimage/ |
H A D | CachedImage.java | 52 private synchronized WritableRaster addTile(int tileX, int tileY) { in addTile() argument 53 …ter raster = RasterFactory.createWritableRaster(getSampleModel(), new Point(tileX * getTileWidth(), in addTile() 55 cache.add(this, tileX, tileY, raster); in addTile() 59 public Raster getTile(int tileX, int tileY) { in getTile() argument 60 return cache.getTile(this, tileX, tileY); in getTile() 63 public synchronized WritableRaster getWritableTile(int tileX, int tileY) { in getWritableTile() argument 64 Raster raster = cache.getTile(this, tileX, tileY); in getWritableTile() 66 raster = addTile(tileX, tileY); in getWritableTile()
|
/dports/astro/marble/marble-21.12.3/tools/mapreproject/ |
H A D | OsmTileClusterRenderer.cpp | 49 QDir OsmTileClusterRenderer::checkAndCreateDirectory( int const tileX ) const in checkAndCreateDirectory() 51 …t tileDirectory( m_osmBaseDirectory.path() + QString("/%1/%2").arg( m_osmTileLevel ).arg( tileX )); in checkAndCreateDirectory() 88 for ( int tileX = tileX1; tileX < tileX2; ++tileX ) { in renderOsmTileCluster() local 89 QDir const tileDirectory = checkAndCreateDirectory( tileX ); in renderOsmTileCluster() 91 QImage const osmTile = renderOsmTile( tileX, tileY ); in renderOsmTileCluster() 112 QImage OsmTileClusterRenderer::renderOsmTile( int const tileX, int const tileY ) in renderOsmTile() argument 115 int const basePixelX = tileX * m_osmTileEdgeLengthPixel; in renderOsmTile()
|
/dports/astro/marble/marble-21.12.3/src/lib/marble/ |
H A D | TileScalingTextureMapper.cpp | 120 for ( int tileX = minTileX; tileX <= maxTileX; ++tileX ) { in mapTexture() local 121 …const qreal xLeft = ( 4.0 * radius ) * ( ( tileX ) / (qreal)numTilesX - xNormalizedCenter ) … in mapTexture() 122 …const qreal xRight = ( 4.0 * radius ) * ( ( tileX + 1 ) / (qreal)numTilesX - xNormalizedCenter ) … in mapTexture() 127 …const TileId stackedId = TileId( 0, tileZoomLevel, ( ( tileX % numTilesX ) + numTilesX ) % numTile… in mapTexture() 143 for ( int tileX = minTileX; tileX <= maxTileX; ++tileX ) { in mapTexture() local 144 …const qreal xLeft = ( 4.0 * radius ) * ( ( tileX ) / (qreal)numTilesX - xNormalizedCenter ) … in mapTexture() 145 …const qreal xRight = ( 4.0 * radius ) * ( ( tileX + 1 ) / (qreal)numTilesX - xNormalizedCenter ) … in mapTexture() 150 …const TileId stackedId = TileId( 0, tileZoomLevel, ( ( tileX % numTilesX ) + numTilesX ) % numTile… in mapTexture()
|