/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,
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorSyclRun.h | 40 …size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_grou… in run() local 47 if (tileSize>GRange) tileSize=GRange; in run() 48 else if(GRange>tileSize){ in run() 49 size_t xMode = GRange % tileSize; in run() 50 if (xMode != 0) GRange += (tileSize - xMode); in run() 53 …>( cl::sycl::nd_range<1>(cl::sycl::range<1>(GRange), cl::sycl::range<1>(tileSize)), [=](cl::sycl::… in run()
|
D | TensorReductionSycl.h | 119 …size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_grou… 133 size_t outTileSize = tileSize; 192 …size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_grou… 195 if (tileSize>GRange) tileSize=GRange; 196 else if(GRange>tileSize){ 197 size_t xMode = GRange % tileSize; 198 if (xMode != 0) GRange += (tileSize - xMode); 213 …>( cl::sycl::nd_range<1>(cl::sycl::range<1>(GRange), cl::sycl::range<1>(tileSize)), [=](cl::sycl::…
|
/external/skia/gm/ |
D | perlinnoise.cpp | 49 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local 52 seed, stitchTiles ? &tileSize : nullptr) : in test() 54 seed, stitchTiles ? &tileSize : nullptr); in test() 58 drawRect(canvas, x, y, paint, tileSize); in test() 59 x += tileSize.width(); in test() 60 drawRect(canvas, x, y, paint, tileSize); in test() 61 y += tileSize.width(); in test() 62 drawRect(canvas, x, y, paint, tileSize); in test() 63 x -= tileSize.width(); in test() 64 drawRect(canvas, x, y, paint, tileSize); in test()
|
D | imageblurtiled.cpp | 36 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local 38 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw() 39 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw() 41 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize)); in onDraw()
|
D | complexclip_blur_tiled.cpp | 37 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local 39 int ts = SkScalarCeilToInt(tileSize); in onDraw() 43 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw() 44 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
|
/external/skqp/gm/ |
D | perlinnoise.cpp | 49 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local 52 seed, stitchTiles ? &tileSize : nullptr) : in test() 54 seed, stitchTiles ? &tileSize : nullptr); in test() 58 drawRect(canvas, x, y, paint, tileSize); in test() 59 x += tileSize.width(); in test() 60 drawRect(canvas, x, y, paint, tileSize); in test() 61 y += tileSize.width(); in test() 62 drawRect(canvas, x, y, paint, tileSize); in test() 63 x -= tileSize.width(); in test() 64 drawRect(canvas, x, y, paint, tileSize); in test()
|
D | imageblurtiled.cpp | 36 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local 38 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw() 39 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw() 41 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize)); in onDraw()
|
D | complexclip_blur_tiled.cpp | 37 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local 39 int ts = SkScalarCeilToInt(tileSize); in onDraw() 43 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw() 44 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
|
/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/skqp/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 | 45 const dng_point_real64 &tileSize) { in num_tiles_in_area() argument 47 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 48 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h)); in num_tiles_in_area() 75 const dng_point& tileSize) { in compute_task_areas() argument 77 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 79 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v, in compute_task_areas() 80 tilesPerTask.h * tileSize.h}; in compute_task_areas() 84 taskArea.t = area.t + v * tileSize.v; in compute_task_areas() 85 taskArea.l = area.l + h * tileSize.h; in compute_task_areas() 103 const dng_point tileSize(task.FindTileSize(area)); in PerformAreaTask() local [all …]
|
/external/skqp/src/codec/ |
D | SkRawCodec.cpp | 45 const dng_point_real64 &tileSize) { in num_tiles_in_area() argument 47 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 48 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h)); in num_tiles_in_area() 75 const dng_point& tileSize) { in compute_task_areas() argument 77 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 79 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v, in compute_task_areas() 80 tilesPerTask.h * tileSize.h}; in compute_task_areas() 84 taskArea.t = area.t + v * tileSize.v; in compute_task_areas() 85 taskArea.l = area.l + h * tileSize.h; in compute_task_areas() 103 const dng_point tileSize(task.FindTileSize(area)); in PerformAreaTask() local [all …]
|
/external/skia/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 97 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 102 matrix.mapVector(SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight), in PaintingData() 344 const SkISize* tileSize); 419 const SkISize* tileSize) in SkPerlinNoiseShaderImpl() argument 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl() 441 SkISize tileSize; in CreateProc() local 442 tileSize.fWidth = buffer.readInt(); in CreateProc() 443 tileSize.fHeight = buffer.readInt(); in CreateProc() 447 return SkPerlinNoiseShader::MakeFractalNoise(freqX, freqY, octaves, seed, &tileSize); in CreateProc() 449 return SkPerlinNoiseShader::MakeTurbulence(freqX, freqY, octaves, seed, &tileSize); in CreateProc() [all …]
|
D | SkPictureShader.cpp | 206 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader() local 207 if (tileSize.isEmpty()) { in refBitmapShader() 212 const SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader() 213 SkIntToScalar(tileSize.height()) / fTile.height()); in refBitmapShader() 235 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader() 238 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader()
|
/external/skqp/src/shaders/ |
D | SkPerlinNoiseShader.cpp | 97 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 102 matrix.mapVector(SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight), in PaintingData() 344 const SkISize* tileSize); 419 const SkISize* tileSize) in SkPerlinNoiseShaderImpl() argument 425 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl() 441 SkISize tileSize; in CreateProc() local 442 tileSize.fWidth = buffer.readInt(); in CreateProc() 443 tileSize.fHeight = buffer.readInt(); in CreateProc() 447 return SkPerlinNoiseShader::MakeFractalNoise(freqX, freqY, octaves, seed, &tileSize); in CreateProc() 449 return SkPerlinNoiseShader::MakeTurbulence(freqX, freqY, octaves, seed, &tileSize); in CreateProc() [all …]
|
D | SkPictureShader.cpp | 206 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader() local 207 if (tileSize.isEmpty()) { in refBitmapShader() 212 const SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader() 213 SkIntToScalar(tileSize.height()) / fTile.height()); in refBitmapShader() 235 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader() 238 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader()
|
/external/skqp/include/effects/ |
D | SkPerlinNoiseShader.h | 43 const SkISize* tileSize = nullptr); 46 const SkISize* tileSize = nullptr);
|
/external/skia/include/effects/ |
D | SkPerlinNoiseShader.h | 43 const SkISize* tileSize = nullptr); 46 const SkISize* tileSize = nullptr);
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.cpp | 655 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument 656 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count() 657 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count() 716 int* tileSize, in shouldTileImageID() argument 724 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID() 753 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID() 817 int tileSize; in drawBitmap() local 840 &tileSize, &clippedSrcRect)) { in drawBitmap() 843 tileSize, doBicubic); in drawBitmap() 895 int tileSize, in drawTiledBitmap() argument [all …]
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 669 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument 670 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count() 671 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count() 734 int* tileSize, in shouldTileImageID() argument 742 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID() 771 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID() 857 int tileSize, in drawTiledBitmap() argument 875 int nx = bitmap.width() / tileSize; in drawTiledBitmap() 876 int ny = bitmap.height() / tileSize; in drawTiledBitmap() 880 tileR.set(SkIntToScalar(x * tileSize), in drawTiledBitmap() [all …]
|