/external/dng_sdk/source/ |
D | dng_area_task.cpp | 129 dng_point tileSize; in FindTileSize() local 131 tileSize.v = Min_int32 (repeatV, maxTileSize.v); in FindTileSize() 132 tileSize.h = Min_int32 (repeatH, maxTileSize.h); in FindTileSize() 144 uint32 countV = (repeatV + tileSize.v - 1) / tileSize.v; in FindTileSize() 145 uint32 countH = (repeatH + tileSize.h - 1) / tileSize.h; in FindTileSize() 147 tileSize.v = (repeatV + countV - 1) / countV; in FindTileSize() 148 tileSize.h = (repeatH + countH - 1) / countH; in FindTileSize() 156 tileSize.v = ((tileSize.v + unitCell.v - 1) / unitCell.v) * unitCell.v; in FindTileSize() 157 tileSize.h = ((tileSize.h + unitCell.h - 1) / unitCell.h) * unitCell.h; in FindTileSize() 162 if (tileSize.v > maxTileSize.v) in FindTileSize() [all …]
|
D | dng_opcodes.cpp | 307 const dng_point &tileSize, in Start() argument 313 tileSize, in Start() 319 tileSize, in Start() 447 const dng_point &tileSize, in Start() argument 452 uint32 bufferSize = ComputeBufferSize(fPixelType, tileSize, in Start() 464 tileSize, in Start()
|
D | dng_filter_task.cpp | 59 const dng_point &tileSize, in Start() argument 64 fSrcTileSize = SrcTileSize (tileSize); in Start() 68 uint32 dstBufferSize = ComputeBufferSize(fDstPixelType, tileSize, in Start()
|
D | dng_tile_iterator.cpp | 51 dng_tile_iterator::dng_tile_iterator (const dng_point &tileSize, in dng_tile_iterator() argument 71 tile.b = Min_int32 (tile.b, tile.t + tileSize.v); in dng_tile_iterator() 72 tile.r = Min_int32 (tile.r, tile.l + tileSize.h); in dng_tile_iterator()
|
D | dng_area_task.h | 134 const dng_point &tileSize, 176 const dng_point &tileSize,
|
D | dng_utils.cpp | 170 uint32 ComputeBufferSize(uint32 pixelType, const dng_point &tileSize, in ComputeBufferSize() argument 176 if (tileSize.h < 0 || tileSize.v < 0) in ComputeBufferSize() 180 const uint32 tileSizeH = static_cast<uint32>(tileSize.h); in ComputeBufferSize() 181 const uint32 tileSizeV = static_cast<uint32>(tileSize.v); in ComputeBufferSize()
|
D | dng_bad_pixels.h | 66 const dng_point &tileSize, 270 const dng_point &tileSize,
|
D | dng_resample.cpp | 519 const dng_point &tileSize, 629 const dng_point &tileSize, in Start() argument 661 fSrcTileSize.v = Round_int32 (tileSize.v / fRowScale) + fWeightsV.Width () + 2; in Start() 662 fSrcTileSize.h = Round_int32 (tileSize.h / fColScale) + fWeightsH.Width () + 2; in Start() 687 tileSize, in Start()
|
D | dng_render.cpp | 752 const dng_point &tileSize, 817 const dng_point &tileSize, in Start() argument 823 tileSize, in Start() 970 if (!SafeUint32Mult (tileSize.h, (uint32) sizeof (real32), &tempBufferSize) || in Start()
|
D | dng_tile_iterator.h | 57 dng_tile_iterator (const dng_point &tileSize,
|
D | dng_filter_task.h | 129 const dng_point &tileSize,
|
/external/skia/gm/ |
D | perlinnoise.cpp | 39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local 42 seed, stitchTiles ? &tileSize : nullptr) : in test() 44 seed, stitchTiles ? &tileSize : nullptr); in test() 48 drawRect(canvas, x, y, paint, tileSize); in test() 49 x += tileSize.width(); in test() 50 drawRect(canvas, x, y, paint, tileSize); in test() 51 y += tileSize.width(); in test() 52 drawRect(canvas, x, y, paint, tileSize); in test() 53 x -= tileSize.width(); in test() 54 drawRect(canvas, x, y, paint, tileSize); in test()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | SpriteCacheOffsetTest.java | 30 private int tileSize = 32; field in SpriteCacheOffsetTest 37 sprite.setSize(tileSize, tileSize); in create() 43 sprite.setPosition(x * tileSize, y * tileSize); in create()
|
/external/skia/include/effects/ |
D | SkPerlinNoiseShader.h | 60 const SkISize* tileSize = NULL); 63 const SkISize* tileSize = NULL); 70 const SkISize* tileSize = NULL) { 71 return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); 113 const SkISize* tileSize);
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.h | 66 const SkISize* tileSize = NULL); 69 const SkISize* tileSize = NULL); 82 const SkISize* tileSize = NULL) { 83 return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); 126 const SkISize* tileSize);
|
D | SkPerlinNoiseShader2.cpp | 111 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 117 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) }, in PaintingData() 314 const SkISize* tileSize) { in CreateFractalNoise() argument 316 seed, tileSize); in CreateFractalNoise() 321 const SkISize* tileSize) { in CreateTurbulence() argument 323 seed, tileSize); in CreateTurbulence() 337 const SkISize* tileSize) in SkPerlinNoiseShader2() argument 343 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShader2() 358 SkISize tileSize; in CreateProc() local 359 tileSize.fWidth = buffer.readInt(); in CreateProc() [all …]
|
/external/skia/bench/ |
D | TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { in TileImageFilterBench() argument 26 if (tileSize > 0) { in TileImageFilterBench() 27 fName.printf("tile_image_filter_tiled_%d", tileSize); in TileImageFilterBench()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 44 const dng_point_real64 &tileSize) { in num_tiles_in_area() argument 46 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 47 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h)); in num_tiles_in_area() 74 const dng_point& tileSize) { in compute_task_areas() argument 76 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 78 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v, in compute_task_areas() 79 tilesPerTask.h * tileSize.h}; in compute_task_areas() 83 taskArea.t = area.t + v * tileSize.v; in compute_task_areas() 84 taskArea.l = area.l + h * tileSize.h; in compute_task_areas() 107 const dng_point tileSize(task.FindTileSize(area)); in PerformAreaTask() local [all …]
|
/external/skia/src/core/ |
D | SkPictureShader.cpp | 200 SkISize tileSize = scaledSize.toRound(); in refBitmapShader() local 201 if (tileSize.isEmpty()) { in refBitmapShader() 206 SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader() 207 SkIntToScalar(tileSize.height()) / fTile.height()); in refBitmapShader() 219 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader() 223 SkImage::NewFromPicture(fPicture, tileSize, &tileMatrix, nullptr)); in refBitmapShader() 232 const SkImageInfo tileInfo = SkImageInfo::MakeN32Premul(tileSize); in refBitmapShader()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 79 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 85 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) }, in PaintingData() 254 const SkISize* tileSize) { in CreateFractalNoise() argument 256 seed, tileSize); in CreateFractalNoise() 261 const SkISize* tileSize) { in CreateTurbulence() argument 263 seed, tileSize); in CreateTurbulence() 271 const SkISize* tileSize) in SkPerlinNoiseShader() argument 277 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShader() 292 SkISize tileSize; in CreateProc() local 293 tileSize.fWidth = buffer.readInt(); in CreateProc() [all …]
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 731 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument 732 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count() 733 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count() 791 int* tileSize, in shouldTileImageID() argument 798 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID() 826 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID() 838 int* tileSize, in shouldTileBitmap() argument 847 srcRectPtr, maxTileSize, tileSize, clippedSrcRect); in shouldTileBitmap() 912 int tileSize; in drawBitmap() local 934 maxTileSizeForFilter, &tileSize, &clippedSrcRect)) { in drawBitmap() [all …]
|
D | SkGpuDevice.h | 203 int* tileSize, 210 int* tileSize, 234 int tileSize,
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 65 void onTileSizeChanged(const SkSize &tileSize) override { in onTileSizeChanged() argument 66 if (tileSize != fTileSize) { in onTileSizeChanged() 67 fTileSize = tileSize; in onTileSizeChanged()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 504 int tileSize = 8; in DEF_TEST() local 521 for (int y = 0; y < height; y += tileSize) { in DEF_TEST() 522 for (int x = 0; x < width; x += tileSize) { in DEF_TEST() 524 tiledCanvas.clipRect(SkRect::Make(SkIRect::MakeXYWH(x, y, tileSize, tileSize))); in DEF_TEST() 547 static void draw_saveLayer_picture(int width, int height, int tileSize, in draw_saveLayer_picture() argument 572 canvas.clipRect(SkRect::Make(SkIRect::MakeWH(tileSize, tileSize))); in draw_saveLayer_picture() 582 const int tileSize = 100; in DEF_TEST() local 586 draw_saveLayer_picture(width, height, tileSize, &factory, &result1); in DEF_TEST() 587 draw_saveLayer_picture(width, height, tileSize, nullptr, &result2); in DEF_TEST() 712 int tileSize = 8; in DEF_TEST() local [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/ |
D | TideMapLoader.java | 147 String tileSize = alignment.getAttribute("TileSize"); in loadTileSheet() local 155 String[] tileSizeParts = tileSize.split(" x "); in loadTileSheet() 208 String tileSize = dimensions.getAttribute("TileSize"); in loadLayer() local 214 String[] tileSizeParts = tileSize.split(" x "); in loadLayer()
|