/external/replicaisland/src/com/replica/replicaisland/ |
D | CollisionSystem.java | 192 final int tileIndex = tileArray[x][worldHeight - y]; in testBox() local 193 if (tileIndex >= 0 && tileIndex < mCollisionTiles.length in testBox() 194 && mCollisionTiles[tileIndex] != null) { in testBox() 206 boolean hit = testBoxAgainstList(mCollisionTiles[tileIndex].segments, in testBox() 301 final int tileIndex = tileArray[currentX][worldHeight - currentY]; in executeStraigtRay() local 302 if (tileIndex >= 0 && tileIndex < mCollisionTiles.length in executeStraigtRay() 303 && mCollisionTiles[tileIndex] != null) { in executeStraigtRay() 304 if (visitor.visit(mCollisionTiles[tileIndex], startPoint, endPoint, in executeStraigtRay() 306 hitTile = tileIndex; in executeStraigtRay() 373 final int tileIndex = tileArray[currentX][worldHeightMinusOne - currentY]; in executeRay() local [all …]
|
D | TiledVertexGrid.java | 75 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid() local 77 if (tileIndex >= 0) { in generateGrid() 91 int tileIndex = mWorld.getTile(startTileX + tileX, in generateGrid() local 93 if (tileIndex < 0) { in generateGrid() 94 tileIndex = totalTextureTiles - 1; // Assume that the last tile is empty. in generateGrid() 96 int textureOffsetX = (tileIndex % textureTilesAcross) * tileWidth; in generateGrid() 97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; in generateGrid()
|
D | LevelSystem.java | 118 final int tileIndex = (byte)byteStream.read(); in loadLevel() local 148 mTileWidth, mTileHeight, world, tileIndex); in loadLevel()
|
/external/mesa3d/src/amd/addrlib/r800/ |
D | ciaddrlib.cpp | 697 if (pIn->tileIndex == TileIndexInvalid) in HwlComputeSurfaceInfo() 722 if ((MinDepth2DThinIndex <= pOut->tileIndex) && in HwlComputeSurfaceInfo() 723 (MaxDepth2DThinIndex >= pOut->tileIndex)) in HwlComputeSurfaceInfo() 733 localIn.tileIndex = TileIndexInvalid; in HwlComputeSurfaceInfo() 739 …_ASSERT(((MinDepth2DThinIndex <= pOut->tileIndex) && (MaxDepth2DThinIndex >= pOut->tileIndex)) || … in HwlComputeSurfaceInfo() 751 localIn.tileIndex = TileIndexInvalid; in HwlComputeSurfaceInfo() 758 if (pOut->tileIndex == Depth1DThinIndex) in HwlComputeSurfaceInfo() 805 INT_32 tileIndex = tileMode == ADDR_TM_2D_TILED_THIN1 ? 14 : 15; in HwlComputeFmaskInfo() local 829 macroModeIndex = HwlComputeMacroModeIndex(tileIndex, flags, bpp, numSamples, pOut->pTileInfo); in HwlComputeFmaskInfo() 831 fmaskIn.tileIndex = tileIndex; in HwlComputeFmaskInfo() [all …]
|
D | siaddrlib.cpp | 1498 UINT_32 tileIndex; in HwlComputeXmaskCoordFromAddr() local 1501 tileIndex = (UINT_32)(localOffset * 2 + (bitPosition != 0)); in HwlComputeXmaskCoordFromAddr() 1505 tileIndex = (UINT_32)(localOffset / 4); in HwlComputeXmaskCoordFromAddr() 1518 *pSlice = tileIndex / (sliceSizeInTile / numPipes); in HwlComputeXmaskCoordFromAddr() 1519 macroOffset = tileIndex % (sliceSizeInTile / numPipes); in HwlComputeXmaskCoordFromAddr() 1527 const UINT_32 clIndex = tileIndex / tileNumPerPipe; in HwlComputeXmaskCoordFromAddr() 1536 macroOffset = tileIndex % tileNumPerPipe; in HwlComputeXmaskCoordFromAddr() 2226 pOut->tileIndex = index; in HwlSetupTileInfo() 2645 pOut->tileIndex = pIn->tileIndex; in HwlComputeSurfaceInfo() 2649 UINT_32 tileIndex = static_cast<UINT_32>(pOut->tileIndex); in HwlComputeSurfaceInfo() local [all …]
|
D | egbaddrlib.cpp | 1192 if (UseTileIndex(pIn->tileIndex)) in HwlGetAlignmentInfoMacroTiled() 1194 out.tileIndex = pIn->tileIndex; in HwlGetAlignmentInfoMacroTiled() 1632 UINT_32 tileIndex; in ComputeSurfaceAddrFromCoordMacroTiled() local 1780 tileIndex = (tileRowIndex * pTileInfo->bankWidth) + tileColumnIndex; in ComputeSurfaceAddrFromCoordMacroTiled() 1781 tileOffset = tileIndex * microTileBytes; in ComputeSurfaceAddrFromCoordMacroTiled() 2347 UINT_32 tileIndex; in ComputeSurfaceCoordFromAddrMacroTiled() local 2440 tileIndex = static_cast<UINT_32>((totalOffset % macroTileBits) / tileBits); in ComputeSurfaceCoordFromAddrMacroTiled() 2442 my = (tileIndex / pTileInfo->bankWidth) % pTileInfo->bankHeight * MicroTileHeight; in ComputeSurfaceCoordFromAddrMacroTiled() 2443 mx = (tileIndex % pTileInfo->bankWidth) * pipes * MicroTileWidth; in ComputeSurfaceCoordFromAddrMacroTiled() 3333 pOut->tileIndex = in HwlComputeFmaskInfo() [all …]
|
D | ciaddrlib.h | 91 INT_32 tileIndex, ADDR_SURFACE_FLAGS flags, UINT_32 bpp, UINT_32 numSamples,
|
D | siaddrlib.h | 282 UINT_32 bpp, TileConfig tileConfig, INT_32 tileIndex, UINT_32 elementBytesLog2) const;
|
/external/dng_sdk/source/ |
D | dng_jpeg_image.cpp | 112 uint32 tileIndex; in Process() local 123 tileIndex = fNextTileIndex++; in Process() 129 uint32 rowIndex = tileIndex / tilesAcross; in Process() 130 uint32 colIndex = tileIndex % tilesAcross; in Process() 147 fJPEGImage.fJPEGData [tileIndex].Reset (stream.AsMemoryBlock (fHost.Allocator ())); in Process() 285 uint32 tileIndex; in Process() local 296 tileIndex = fNextTileIndex++; in Process() 304 printer.Process (fJPEGImage.fJPEGData [tileIndex]->Buffer (), in Process() 305 fJPEGImage.fJPEGData [tileIndex]->LogicalSize ()); in Process() 307 fDigests [tileIndex] = printer.Result (); in Process()
|
D | dng_read_image.cpp | 2821 uint32 tileIndex; in Process() local 2833 tileIndex = fNextTileIndex++; in Process() 2837 fStream.SetReadPosition (fTileOffset [tileIndex]); in Process() 2839 byteCount = fTileByteCount [tileIndex]; in Process() 2844 fJPEGImage->fJPEGData [tileIndex] . Reset (fHost.Allocate (byteCount)); in Process() 2848 fStream.Get (fJPEGImage ? fJPEGImage->fJPEGData [tileIndex]->Buffer () in Process() 2864 fJPEGTileDigest [tileIndex] = printer.Result (); in Process() 2868 dng_stream tileStream (fJPEGImage ? fJPEGImage->fJPEGData [tileIndex]->Buffer () in Process() 2874 uint32 plane = tileIndex / (fTilesDown * fTilesAcross); in Process() 2876 uint32 rowIndex = (tileIndex - plane * fTilesDown * fTilesAcross) / fTilesAcross; in Process() [all …]
|
D | dng_image_writer.cpp | 4417 uint32 tileIndex; in Process() local 4428 tileIndex = fNextTileIndex++; in Process() 4436 uint32 rowIndex = tileIndex / fTilesAcross; in Process() 4438 uint32 colIndex = tileIndex - rowIndex * fTilesAcross; in Process() 4473 fWriteTileIndex != tileIndex) in Process() 4493 fBasic.SetTileOffset (tileIndex, tileOffset); in Process() 4501 fBasic.SetTileByteCount (tileIndex, tileByteCount); in Process() 4699 uint32 tileIndex = 0; in WriteImage() local 4711 basic.SetTileOffset (tileIndex, tileOffset); in WriteImage() 4751 basic.SetTileByteCount (tileIndex, tileByteCount); in WriteImage() [all …]
|
D | dng_negative.cpp | 1705 uint32 tileIndex = rowIndex * fTilesAcross + colIndex; in Process() local 1755 fTileHash [tileIndex] = printer.Result (); in Process() 1764 for (uint32 tileIndex = 0; tileIndex < fTileCount; tileIndex++) in Result() local 1767 printer.Process (fTileHash [tileIndex] . data, 16); in Result()
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrlib1.cpp | 297 if (UseTileIndex(localIn.tileIndex)) in ComputeSurfaceInfo() 306 if (localIn.tileIndex != TileIndexLinearGeneral) in ComputeSurfaceInfo() 309 macroModeIndex = HwlComputeMacroModeIndex(localIn.tileIndex, in ComputeSurfaceInfo() 322 localIn.tileIndex, macroModeIndex, in ComputeSurfaceInfo() 466 if (UseTileIndex(pIn->tileIndex)) in ComputeSurfaceAddrFromCoord() 476 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceAddrFromCoord() 487 returnCode = HwlSetupTileCfg(input.bpp, input.tileIndex, macroModeIndex, in ComputeSurfaceAddrFromCoord() 546 if (UseTileIndex(pIn->tileIndex)) in ComputeSurfaceCoordFromAddr() 556 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceCoordFromAddr() 567 returnCode = HwlSetupTileCfg(input.bpp, input.tileIndex, macroModeIndex, in ComputeSurfaceCoordFromAddr() [all …]
|
/external/mesa3d/src/amd/addrlib/ |
D | addrinterface.h | 568 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 618 INT_32 tileIndex; ///< Tile index, MAY be "downgraded" member 706 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 794 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 885 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 959 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 1022 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 1103 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 1174 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member 1233 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it member [all …]
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.c | 326 surf->u.legacy.stencil_tiling_index[level] = AddrSurfInfoOut->tileIndex; in gfx6_compute_level() 328 surf->u.legacy.tiling_index[level] = AddrSurfInfoOut->tileIndex; in gfx6_compute_level() 341 AddrDccIn->tileIndex = AddrSurfInfoOut->tileIndex; in gfx6_compute_level() 369 AddrHtileIn->tileIndex = AddrSurfInfoOut->tileIndex; in gfx6_compute_level() 456 AddrBaseSwizzleIn.tileIndex = csio->tileIndex; in gfx6_surface_settings() 553 AddrSurfInfoIn.tileIndex = -1; in gfx6_compute_surface() 658 AddrSurfInfoIn.tileIndex = 11; /* 16bpp */ in gfx6_compute_surface() 660 AddrSurfInfoIn.tileIndex = 12; /* 32bpp */ in gfx6_compute_surface() 663 AddrSurfInfoIn.tileIndex = 14; /* 8bpp */ in gfx6_compute_surface() 665 AddrSurfInfoIn.tileIndex = 15; /* 16bpp */ in gfx6_compute_surface() [all …]
|
/external/replicaisland/tools/ |
D | ExtractPoints.js | 128 var tileIndex = Math.floor(row * tilesPerRow + column); variable 129 tiles[tileIndex] = tile;
|
/external/pdfium/third_party/libopenjpeg20/ |
D | t1.c | 2143 OPJ_SIZE_T tileIndex = 0; in opj_t1_encode_cblks() local 2173 tiledp[tileIndex] *= (1 << T1_NMSEDEC_FRACBITS); in opj_t1_encode_cblks() 2174 tileIndex++; in opj_t1_encode_cblks() 2176 tileIndex += tileLineAdvance; in opj_t1_encode_cblks() 2181 OPJ_INT32 tmp = tiledp[tileIndex]; in opj_t1_encode_cblks() 2182 tiledp[tileIndex] = in opj_t1_encode_cblks() 2186 tileIndex++; in opj_t1_encode_cblks() 2188 tileIndex += tileLineAdvance; in opj_t1_encode_cblks()
|