Home
last modified time | relevance | path

Searched refs:tileSize (Results 1 - 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_area_task.cpp81 const dng_point & /* tileSize */, in Start()
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 in FindTileSize()
185 ProcessOnThread(uint32 threadIndex, const dng_rect &area, const dng_point &tileSize, dng_abort_sniffer *sniffer) ProcessOnThread() argument
[all...]
H A Ddng_filter_task.cpp59 const dng_point &tileSize, in Start()
64 fSrcTileSize = SrcTileSize (tileSize); in Start()
68 uint32 dstBufferSize = ComputeBufferSize(fDstPixelType, tileSize, in Start()
58 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer * ) Start() argument
H A Ddng_opcodes.cpp307 const dng_point &tileSize, in Start()
313 tileSize, in Start()
319 tileSize, in Start()
447 const dng_point &tileSize, in Start()
452 uint32 bufferSize = ComputeBufferSize(fPixelType, tileSize, in Start()
464 tileSize, in Start()
306 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer *sniffer) Start() argument
446 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer * ) Start() argument
H A 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()
H A Ddng_area_task.h129 /// \param tileSize Size of source tiles which will be processed. (Not all tiles will be this size due to edge conditions.)
134 const dng_point &tileSize,
171 /// \param tileSize
176 const dng_point &tileSize,
H A 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()
H A Ddng_bad_pixels.h66 const dng_point &tileSize,
270 const dng_point &tileSize,
H A Ddng_resample.cpp519 const dng_point &tileSize,
629 const dng_point &tileSize, in Start()
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()
628 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer *sniffer) Start() argument
H A Ddng_tile_iterator.h57 dng_tile_iterator (const dng_point &tileSize,
H A Ddng_filter_task.h119 /// \param tileSize Size of source tiles which will be processed. (Not all
129 const dng_point &tileSize,
/third_party/skia/gm/
H A 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()
[all...]
H A Dimageblurtiled.cpp45 const SkScalar tileSize = SkIntToScalar(128); variable
47 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
48 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
50 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize));
H A Dcomplexclip_blur_tiled.cpp45 const SkScalar tileSize = SkIntToScalar(128); variable
47 int ts = SkScalarCeilToInt(tileSize);
51 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
52 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
H A Dpictureshadercache.cpp31 PictureShaderCacheGM(SkScalar tileSize) in PictureShaderCacheGM() argument
32 : fTileSize(tileSize) { in PictureShaderCacheGM()
H A Dmixercolorfilter.cpp69 MixerCFGM(const SkSize& tileSize, size_t tileCount) in MixerCFGM() argument
70 : fTileSize(tileSize) in MixerCFGM()
/third_party/skia/bench/
H A 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/shaders/
H A 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)
366 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize)
382 SkISize tileSize;
383 tileSize.fWidth = buffer.readInt();
384 tileSize
[all...]
H A 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/src/codec/
H A DSkRawCodec.cpp45 const dng_point_real64 &tileSize) { in num_tiles_in_area()
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()
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 in compute_task_areas()
44 num_tiles_in_area(const dng_point &areaSize, const dng_point_real64 &tileSize) num_tiles_in_area() argument
74 compute_task_areas(const int maxTasks, const dng_rect& area, const dng_point& tileSize) compute_task_areas() argument
[all...]
/third_party/skia/modules/svg/src/
H A 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/src/gpu/v1/
H A 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()
159 // tileSize and clippedSubset are valid if true is returned
169 int* tileSize, in should_tile_image_id()
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()
160 should_tile_image_id(GrRecordingContext* context, SkISize rtSize, const GrClip* clip, uint32_t imageID, const SkISize& imageSize, const SkMatrix& ctm, const SkMatrix& srcToDst, const SkRect* src, int maxTileSize, int* tileSize, SkIRect* clippedSubset) should_tile_image_id() argument
569 draw_tiled_bitmap(GrRecordingContext* rContext, skgpu::v1::SurfaceDrawContext* sdc, const GrClip* clip, const SkBitmap& bitmap, int tileSize, const SkMatrixProvider& matrixProvider, const SkMatrix& srcToDst, const SkRect& srcRect, const SkIRect& clippedSrcIRect, const SkPaint& paint, GrAA aa, SkCanvas::SrcRectConstraint constraint, SkSamplingOptions sampling, SkTileMode tileMode) draw_tiled_bitmap() argument
803 int tileSize; drawImageQuad() local
[all...]
/third_party/skia/include/effects/
H A DSkPerlinNoiseShader.h37 * If tileSize isn't NULL or an empty size, the tileSize parameter will be used to modify
38 * the frequencies so that the noise will be tileable for the given tile size. If tileSize
43 const SkISize* tileSize = nullptr);
46 const SkISize* tileSize = nullptr);
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Dciaddrlib.cpp1314 // tileSize = thickness * bpp * numSamples * 8 * 8 / 8 in HwlSetupTileInfo()
1315 UINT_32 tileSize = thickness * bpp * numSamples * 8; in HwlSetupTileInfo() local
1318 if (m_rowSize < tileSize) in HwlSetupTileInfo()
1326 switch (tileSize) in HwlSetupTileInfo()
1523 // tileSize = thickness * bpp * numSamples * 8 * 8 / 8 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 in HwlComputeMaxBaseAlignments() local
[all...]
H A Degbaddrlib.cpp759 * tileSize*BANK_WIDTH*BANK_HEIGHT <= ROW_SIZE
766 UINT_32 tileSize, ///< [in] tile size in HwlReduceBankWidthHeight()
778 if (tileSize * pTileInfo->bankWidth * pTileInfo->bankHeight > m_rowSize) in HwlReduceBankWidthHeight()
796 tileSize * pTileInfo->bankWidth * pTileInfo->bankHeight > m_rowSize; in HwlReduceBankWidthHeight()
802 (tileSize * pTileInfo->bankWidth) in HwlReduceBankWidthHeight()
812 (tileSize * pipes * pTileInfo->bankWidth) in HwlReduceBankWidthHeight()
839 tileSize * pTileInfo->bankWidth * pTileInfo->bankHeight > m_rowSize; in HwlReduceBankWidthHeight()
850 tileSize, pTileInfo->bankWidth, pTileInfo->bankHeight, m_rowSize)); in HwlReduceBankWidthHeight()
887 UINT_32 tileSize; in ComputeSurfaceAlignmentsMacroTiled() local
899 tileSize in ComputeSurfaceAlignmentsMacroTiled()
765 HwlReduceBankWidthHeight( UINT_32 tileSize, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples, UINT_32 bankHeightAlign, UINT_32 pipes, ADDR_TILEINFO* pTileInfo ) const HwlReduceBankWidthHeight() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.cpp4752 std::vector<VkBufferImageCopy> generateChessboardCopyRegions (deUint32 tileSize,
4760 for (deUint32 x = 0; x < (deUint32)deFloatCeil((float)imageWidth / (float)tileSize); x++)
4761 for (deUint32 y = 0; y < (deUint32)deFloatCeil((float)imageHeight / (float)tileSize); y++)
4765 const deUint32 tileWidth = de::min(tileSize, imageWidth - tileSize * x);
4766 const deUint32 tileHeight = de::min(tileSize, imageHeight - tileSize * y);
4817 deUint32 tileSize,
4826 const deUint32 bufferSize = tileSize * tileSize * tcuForma
[all...]

Completed in 19 milliseconds

12