Home
last modified time | relevance | path

Searched refs:tileSize (Results 1 – 25 of 51) 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,
Ddng_utils.cpp170 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()
Ddng_bad_pixels.h66 const dng_point &tileSize,
270 const dng_point &tileSize,
Ddng_resample.cpp519 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()
Ddng_render.cpp752 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()
Ddng_tile_iterator.h57 dng_tile_iterator (const dng_point &tileSize,
/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()
Dmixercolorfilter.cpp69 MixerCFGM(const SkSize& tileSize, size_t tileCount) in MixerCFGM() argument
70 : fTileSize(tileSize) in MixerCFGM()
/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/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/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/skia/include/effects/
DSkPerlinNoiseShader.h43 const SkISize* tileSize = nullptr);
46 const SkISize* tileSize = nullptr);
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp4515 std::vector<VkBufferImageCopy> generateChessboardCopyRegions (deUint32 tileSize, in generateChessboardCopyRegions() argument
4523 for (deUint32 x = 0; x < (deUint32)deFloatCeil((float)imageWidth / (float)tileSize); x++) in generateChessboardCopyRegions()
4524 for (deUint32 y = 0; y < (deUint32)deFloatCeil((float)imageHeight / (float)tileSize); y++) in generateChessboardCopyRegions()
4528 const deUint32 tileWidth = de::min(tileSize, imageWidth - tileSize * x); in generateChessboardCopyRegions()
4529 const deUint32 tileHeight = de::min(tileSize, imageHeight - tileSize * y); in generateChessboardCopyRegions()
4580 deUint32 tileSize, in initColorImageChessboardPattern() argument
4589 const deUint32 bufferSize = tileSize * tileSize * tcuFormat.getPixelSize(); in initColorImageChessboardPattern()
4651 tcu::PixelBufferAccess access (tcuFormat, tileSize, tileSize, 1, dstPtr); in initColorImageChessboardPattern()
4653 for (deUint32 x = 0; x < tileSize; x++) in initColorImageChessboardPattern()
4654 for (deUint32 y = 0; y < tileSize; y++) in initColorImageChessboardPattern()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.cpp1315 UINT_32 tileSize = thickness * bpp * numSamples * 8; in HwlSetupTileInfo() local
1318 if (m_rowSize < tileSize) in HwlSetupTileInfo()
1326 switch (tileSize) in HwlSetupTileInfo()
1524 UINT_32 tileSize = thickness * bpp * numSamples * 8; in HwlSetupTileInfo() local
1527 if (m_rowSize < tileSize) in HwlSetupTileInfo()
2031 UINT_32 tileSize = 8 * 8 * elementBitSize/8 * numOfSamplesPerSplit; in HwlComputeMetadataNibbleAddress() local
2032 UINT_32 blocksInTile = tileSize / blockByteSize; in HwlComputeMetadataNibbleAddress()
2196 UINT_32 tileSize = m_macroTileTable[i].tileSplitBytes; in HwlComputeMaxBaseAlignments() local
2198 UINT_32 baseAlign = tileSize * pipes * m_macroTileTable[i].banks * in HwlComputeMaxBaseAlignments()
/third_party/skia/tests/
DImageFilterTest.cpp769 const int tileSize = 8; in DEF_TEST() local
791 for (int y = 0; y < height; y += tileSize) { in DEF_TEST()
792 for (int x = 0; x < width; x += tileSize) { in DEF_TEST()
794 const SkRect clipRect = SkRect::MakeXYWH(x, y, tileSize, tileSize); in DEF_TEST()
819 static void draw_saveLayer_picture(int width, int height, int tileSize, in draw_saveLayer_picture() argument
846 canvas.clipRect(SkRect::Make(SkIRect::MakeWH(tileSize, tileSize))); in draw_saveLayer_picture()
856 const int tileSize = 100; in DEF_TEST() local
860 draw_saveLayer_picture(width, height, tileSize, &factory, &result1); in DEF_TEST()
861 draw_saveLayer_picture(width, height, tileSize, nullptr, &result2); in DEF_TEST()
1067 int tileSize = 8; in DEF_TEST() local
[all …]

123