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

12

/external/dng_sdk/source/
H A Ddng_area_task.cpp81 const dng_point & /* tileSize */,
129 dng_point tileSize; local
131 tileSize.v = Min_int32 (repeatV, maxTileSize.v);
132 tileSize.h = Min_int32 (repeatH, maxTileSize.h);
144 uint32 countV = (repeatV + tileSize.v - 1) / tileSize.v;
145 uint32 countH = (repeatH + tileSize.h - 1) / tileSize.h;
147 tileSize.v = (repeatV + countV - 1) / countV;
148 tileSize
185 ProcessOnThread(uint32 threadIndex, const dng_rect &area, const dng_point &tileSize, dng_abort_sniffer *sniffer) argument
[all...]
H A Ddng_filter_task.cpp59 const dng_point &tileSize,
64 fSrcTileSize = SrcTileSize (tileSize);
68 uint32 dstBufferSize = ComputeBufferSize(fDstPixelType, tileSize,
58 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer * ) argument
H A Ddng_tile_iterator.h57 dng_tile_iterator (const dng_point &tileSize,
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_tile_iterator.cpp51 dng_tile_iterator::dng_tile_iterator (const dng_point &tileSize, argument
71 tile.b = Min_int32 (tile.b, tile.t + tileSize.v);
72 tile.r = Min_int32 (tile.r, tile.l + tileSize.h);
H A Ddng_opcodes.cpp307 const dng_point &tileSize,
313 tileSize,
319 tileSize,
447 const dng_point &tileSize,
452 uint32 bufferSize = ComputeBufferSize(fPixelType, tileSize,
464 tileSize,
306 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer *sniffer) argument
446 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer * ) argument
H A Ddng_filter_task.h119 /// \param tileSize Size of source tiles which will be processed. (Not all
129 const dng_point &tileSize,
H A Ddng_bad_pixels.h66 const dng_point &tileSize,
270 const dng_point &tileSize,
H A Ddng_utils.cpp170 uint32 ComputeBufferSize(uint32 pixelType, const dng_point &tileSize, argument
176 if (tileSize.h < 0 || tileSize.v < 0)
180 const uint32 tileSizeH = static_cast<uint32>(tileSize.h);
181 const uint32 tileSizeV = static_cast<uint32>(tileSize.v);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorSyclRun.h40 size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_group_size>()/2; local
47 if (tileSize>GRange) tileSize=GRange;
48 else if(GRange>tileSize){
49 size_t xMode = GRange % tileSize;
50 if (xMode != 0) GRange += (tileSize - xMode);
53 cgh.parallel_for<PlaceHolderExpr>( cl::sycl::nd_range<1>(cl::sycl::range<1>(GRange), cl::sycl::range<1>(tileSize)), [=](cl::sycl::nd_item<1> itemID) {
H A DTensorReductionSycl.h119 size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_group_size>()/2; local
133 size_t outTileSize = tileSize;
192 size_t tileSize =dev.m_queue.get_device(). template get_info<cl::sycl::info::device::max_work_group_size>()/2; local
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 cgh.parallel_for<Self>( cl::sycl::nd_range<1>(cl::sycl::range<1>(GRange), cl::sycl::range<1>(tileSize)), [=](cl::sycl::nd_item<1> itemID) {
/external/skia/gm/
H A Dimageblurtiled.cpp36 const SkScalar tileSize = SkIntToScalar(128); variable
38 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
39 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
41 canvas->clipRect(SkRect::MakeXYWH(x, y, tileSize, tileSize));
H A Dcomplexclip_blur_tiled.cpp36 const SkScalar tileSize = SkIntToScalar(128); variable
38 int ts = SkScalarCeilToInt(tileSize);
45 for (SkScalar y = bounds.top(); y < bounds.bottom(); y += tileSize) {
46 for (SkScalar x = bounds.left(); x < bounds.right(); x += tileSize) {
H A Dperlinnoise.cpp39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); local
42 seed, stitchTiles ? &tileSize : nullptr) :
44 seed, stitchTiles ? &tileSize : nullptr);
48 drawRect(canvas, x, y, paint, tileSize);
49 x += tileSize.width();
50 drawRect(canvas, x, y, paint, tileSize);
51 y += tileSize.width();
52 drawRect(canvas, x, y, paint, tileSize);
53 x -= tileSize.width();
54 drawRect(canvas, x, y, paint, tileSize);
[all...]
/external/skia/bench/
H A DTileImageFilterBench.cpp25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { argument
26 if (tileSize > 0) {
27 fName.printf("tile_image_filter_tiled_%d", tileSize);
/external/skia/experimental/SkPerlinNoiseShader2/
H A DSkPerlinNoiseShader2.h60 * If tileSize isn't NULL or an empty size, the tileSize parameter will be used to modify
61 * the frequencies so that the noise will be tileable for the given tile size. If tileSize
66 const SkISize* tileSize = NULL);
69 const SkISize* tileSize = NULL);
82 const SkISize* tileSize = NULL) {
83 return MakeTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize);
122 const SkISize* tileSize);
H A DSkPerlinNoiseShader2.cpp109 PaintingData(const SkISize& tileSize, SkScalar seed, argument
115 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) },
311 const SkISize* tileSize) {
313 baseFrequencyY, numOctaves, seed, tileSize));
319 const SkISize* tileSize) {
321 baseFrequencyY, numOctaves, seed, tileSize));
336 const SkISize* tileSize)
342 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize)
708 SkISize tileSize = SkISize::Make(d->fRandom->nextRangeU(4, 4096), local
[all...]
/external/skia/include/effects/
H A DSkPerlinNoiseShader.h54 * If tileSize isn't NULL or an empty size, the tileSize parameter will be used to modify
55 * the frequencies so that the noise will be tileable for the given tile size. If tileSize
60 const SkISize* tileSize = nullptr);
63 const SkISize* tileSize = nullptr);
100 const SkISize* tileSize);
/external/skia/samplecode/
H A DSamplePictFile.cpp68 void onTileSizeChanged(const SkSize &tileSize) override {
69 if (tileSize != fTileSize) {
70 fTileSize = tileSize;
H A DSampleCode.h138 virtual void onTileSizeChanged(const SkSize& tileSize) {} argument
/external/skia/src/core/
H A DSkPictureShader.cpp206 const SkISize tileSize = scaledSize.toRound(); local
208 const SkISize tileSize = scaledSize.toCeil(); local
210 if (tileSize.isEmpty()) {
215 const SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(),
216 SkIntToScalar(tileSize.height()) / fTile.height());
228 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()),
232 SkPictureImageGenerator::Make(tileSize, fPicture, &tileMatrix, nullptr,
/external/skia/src/effects/
H A DSkPerlinNoiseShader.cpp77 PaintingData(const SkISize& tileSize, SkScalar seed, argument
83 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) },
251 const SkISize* tileSize) {
254 seed, tileSize));
260 const SkISize* tileSize) {
262 numOctaves, seed, tileSize));
270 const SkISize* tileSize)
276 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize)
571 SkISize tileSize = SkISize::Make(d->fRandom->nextRangeU(4, 4096), local
[all...]
/external/skia/src/codec/
H A DSkRawCodec.cpp44 const dng_point_real64 &tileSize) {
46 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v),
47 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h));
74 const dng_point& tileSize) {
76 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize);
78 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v,
79 tilesPerTask.h * tileSize.h};
83 taskArea.t = area.t + v * tileSize
43 num_tiles_in_area(const dng_point &areaSize, const dng_point_real64 &tileSize) argument
73 compute_task_areas(const int maxTasks, const dng_rect& area, const dng_point& tileSize) argument
[all...]
/external/skia/src/gpu/
H A DSkGpuDevice.cpp712 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { argument
713 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1;
714 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1;
772 int* tileSize,
780 *tileSize = determine_tile_size(*clippedSubset, maxTileSize);
809 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile.
874 int tileSize; local
897 &tileSize,
766 shouldTileImageID(uint32_t imageID, const SkIRect& imageRect, const SkMatrix& viewMatrix, const SkMatrix& srcToDstRect, const GrSamplerParams& params, const SkRect* srcRectPtr, int maxTileSize, int* tileSize, SkIRect* clippedSubset) const argument
944 drawTiledBitmap(const SkBitmap& bitmap, const SkMatrix& viewMatrix, const SkMatrix& dstMatrix, const SkRect& srcRect, const SkIRect& clippedSrcIRect, const GrSamplerParams& params, const SkPaint& origPaint, SkCanvas::SrcRectConstraint constraint, int tileSize, bool bicubic) argument
1247 int tileSize; local
[all...]
H A DSkGpuDevice.h161 // The tileSize and clippedSrcRect will be valid only if true is returned.
168 int* tileSize,
170 // Just returns the predicate, not the out-tileSize or out-clippedSubset, as they are not
181 // Splits bitmap into tiles of tileSize and draws them using separate textures for each tile.
190 int tileSize,

Completed in 4318 milliseconds

12