Home
last modified time | relevance | path

Searched refs:tileSize (Results 1 – 25 of 67) sorted by relevance

123

/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_area_task.cpp129 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 …]
Ddng_opcodes.cpp307 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()
Ddng_filter_task.cpp59 const dng_point &tileSize, in Start() argument
64 fSrcTileSize = SrcTileSize (tileSize); in Start()
68 uint32 dstBufferSize = ComputeBufferSize(fDstPixelType, tileSize, in Start()
Ddng_tile_iterator.cpp51 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()
Ddng_area_task.h134 const dng_point &tileSize,
176 const dng_point &tileSize,
/third_party/flutter/skia/gm/
Dperlinnoise.cpp51 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local
54 seed, stitchTiles ? &tileSize : nullptr) : in test()
56 seed, stitchTiles ? &tileSize : nullptr); in test()
60 drawRect(canvas, x, y, paint, tileSize); in test()
61 x += tileSize.width(); in test()
62 drawRect(canvas, x, y, paint, tileSize); in test()
63 y += tileSize.width(); in test()
64 drawRect(canvas, x, y, paint, tileSize); in test()
65 x -= tileSize.width(); in test()
66 drawRect(canvas, x, y, paint, tileSize); in test()
Dimageblurtiled.cpp45 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local
47 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw()
48 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
50 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize)); in onDraw()
Dcomplexclip_blur_tiled.cpp46 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local
48 int ts = SkScalarCeilToInt(tileSize); in onDraw()
52 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw()
53 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
Dpictureshadercache.cpp31 PictureShaderCacheGM(SkScalar tileSize) in PictureShaderCacheGM() argument
32 : fTileSize(tileSize) { in PictureShaderCacheGM()
/third_party/skia/gm/
Dperlinnoise.cpp51 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local
59 stitchTiles ? &tileSize : nullptr); in test()
66 stitchTiles ? &tileSize : nullptr); in test()
72 drawRect(canvas, x, y, paint, tileSize); in test()
73 x += tileSize.width(); in test()
74 drawRect(canvas, x, y, paint, tileSize); in test()
75 y += tileSize.width(); in test()
76 drawRect(canvas, x, y, paint, tileSize); in test()
77 x -= tileSize.width(); in test()
78 drawRect(canvas, x, y, paint, tileSize); in test()
Dimageblurtiled.cpp45 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local
47 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw()
48 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
50 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize)); in onDraw()
Dcomplexclip_blur_tiled.cpp45 const SkScalar tileSize = SkIntToScalar(128); in onDraw() local
47 int ts = SkScalarCeilToInt(tileSize); in onDraw()
51 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) { in onDraw()
52 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) { in onDraw()
Dpictureshadercache.cpp31 PictureShaderCacheGM(SkScalar tileSize) in PictureShaderCacheGM() argument
32 : fTileSize(tileSize) { in PictureShaderCacheGM()
/third_party/skia/src/shaders/
DSkPerlinNoiseShader.cpp69 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData()
74 matrix.mapVector(SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight), in PaintingData()
278 const SkISize* tileSize);
360 const SkISize* tileSize) in SkPerlinNoiseShaderImpl() argument
366 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShaderImpl()
382 SkISize tileSize; in CreateProc() local
383 tileSize.fWidth = buffer.readInt(); in CreateProc()
384 tileSize.fHeight = buffer.readInt(); in CreateProc()
388 return SkPerlinNoiseShader::MakeFractalNoise(freqX, freqY, octaves, seed, &tileSize); in CreateProc()
390 return SkPerlinNoiseShader::MakeTurbulence(freqX, freqY, octaves, seed, &tileSize); in CreateProc()
[all …]
DSkPictureShader.cpp213 const SkISize tileSize = scaledSize.toCeil(); in Make() local
214 if (tileSize.isEmpty()) { in Make()
219 tileSize.width() / bounds.width(), tileSize.height() / bounds.height() in Make()
233 SkMatrix::RectToRect(bounds, SkRect::MakeIWH(tileSize.width(), tileSize.height())), in Make()
234 SkImageInfo::Make(tileSize.width(), tileSize.height(), in Make()
/third_party/flutter/skia/bench/
DTileImageFilterBench.cpp25 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()
/third_party/skia/bench/
DTileImageFilterBench.cpp25 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()
/third_party/skia/src/codec/
DSkRawCodec.cpp45 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 …]
/third_party/flutter/skia/src/codec/
DSkRawCodec.cpp45 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 …]
/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp105 inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument
106 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count()
107 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count()
169 int* tileSize, in should_tile_image_id() argument
175 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in should_tile_image_id()
209 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in should_tile_image_id()
573 int tileSize, in draw_tiled_bitmap() argument
585 int nx = bitmap.width() / tileSize; in draw_tiled_bitmap()
586 int ny = bitmap.height() / tileSize; in draw_tiled_bitmap()
591 tileR.setLTRB(SkIntToScalar(x * tileSize), SkIntToScalar(y * tileSize), in draw_tiled_bitmap()
[all …]
/third_party/skia/modules/svg/src/
DSkSVGFeTurbulence.cpp63 const SkISize* tileSize = nullptr; // TODO: needs filter element subregion properties in onMakeImageFilter() local
69 fBaseFrequency.freqX(), fBaseFrequency.freqY(), fNumOctaves, fSeed, tileSize); in onMakeImageFilter()
73 fBaseFrequency.freqX(), fBaseFrequency.freqY(), fNumOctaves, fSeed, tileSize); in onMakeImageFilter()
/third_party/flutter/skia/src/shaders/
DSkPerlinNoiseShader.cpp97 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 …]
DSkPictureShader.cpp231 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader() local
232 if (tileSize.isEmpty()) { in refBitmapShader()
237 const SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader()
238 SkIntToScalar(tileSize.height()) / fTile.height()); in refBitmapShader()
251 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader()
254 sk_sp<SkImage> tileImage = SkImage::MakeFromPicture(fPicture, tileSize, &tileMatrix, in refBitmapShader()
/third_party/skia/include/effects/
DSkPerlinNoiseShader.h43 const SkISize* tileSize = nullptr);
46 const SkISize* tileSize = nullptr);
/third_party/flutter/skia/include/effects/
DSkPerlinNoiseShader.h43 const SkISize* tileSize = nullptr);
46 const SkISize* tileSize = nullptr);

123