/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorSyclRun.h | 40 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 D | TensorReductionSycl.h | 119 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/bench/ |
H A D | TileImageFilterBench.cpp | 25 TileImageFilterBench(int tileSize) : fTileSize(tileSize) { argument 26 if (tileSize > 0) { 27 fName.printf("tile_image_filter_tiled_%d", tileSize);
|
/external/dng_sdk/source/ |
H A D | dng_tile_iterator.cpp | 51 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 D | dng_filter_task.cpp | 59 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 D | dng_area_task.cpp | 81 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 D | dng_opcodes.cpp | 307 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 D | dng_render.cpp | 752 const dng_point &tileSize, 817 const dng_point &tileSize, 823 tileSize, 970 if (!SafeUint32Mult (tileSize.h, (uint32) sizeof (real32), &tempBufferSize) || 816 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer *sniffer) argument
|
H A D | dng_resample.cpp | 519 const dng_point &tileSize, 629 const dng_point &tileSize, 661 fSrcTileSize.v = Round_int32 (tileSize.v / fRowScale) + fWeightsV.Width () + 2; 662 fSrcTileSize.h = Round_int32 (tileSize.h / fColScale) + fWeightsH.Width () + 2; 687 tileSize, 628 Start(uint32 threadCount, const dng_point &tileSize, dng_memory_allocator *allocator, dng_abort_sniffer *sniffer) argument
|
H A D | dng_utils.cpp | 170 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/skia/gm/ |
H A D | complexclip_blur_tiled.cpp | 36 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 D | imageblurtiled.cpp | 36 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 D | perlinnoise.cpp | 39 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...] |
H A D | pictureshader.cpp | 28 PictureShaderGM(SkScalar tileSize, SkScalar sceneSize) argument 29 : fTileSize(tileSize)
|
/external/skia/samplecode/ |
H A D | SampleCode.h | 138 virtual void onTileSizeChanged(const SkSize& tileSize) {} argument
|
H A D | SampleApp.cpp | 626 SkSize SampleWindow::tileSize() const { function in class:SampleWindow 1103 SkSize tile = this->tileSize(); 1754 ((SampleView*)curr_view(this))->onTileSizeChanged(this->tileSize()); 2319 ((SampleView*)view)->onTileSizeChanged(this->tileSize());
|
/external/skia/src/core/ |
H A D | SkPictureShader.cpp | 206 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/experimental/SkPerlinNoiseShader2/ |
H A D | SkPerlinNoiseShader2.cpp | 109 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/src/codec/ |
H A D | SkRawCodec.cpp | 44 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/effects/ |
H A D | SkPerlinNoiseShader.cpp | 77 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/dm/ |
H A D | DMSrcSink.cpp | 659 const int tileSize = 36; local 663 for (int x = 0; x < width; x += tileSize) { 664 subset = SkIRect::MakeXYWH(x, 0, SkTMin(tileSize, width - x), height);
|
/external/skia/fuzz/ |
H A D | FuzzCanvas.cpp | 468 SkISize tileSize; local 472 fuzz->next(&tileSize); 478 useTileSize ? &tileSize : nullptr); 482 useTileSize ? &tileSize : nullptr);
|
/external/skia/src/gpu/ |
H A D | SkGpuDevice.cpp | 712 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...] |
/external/skia/tests/ |
H A D | ImageFilterTest.cpp | 727 int tileSize = 8; local 744 for (int y = 0; y < height; y += tileSize) { 745 for (int x = 0; x < width; x += tileSize) { 747 tiledCanvas.clipRect(SkRect::Make(SkIRect::MakeXYWH(x, y, tileSize, tileSize))); 766 static void draw_saveLayer_picture(int width, int height, int tileSize, argument 793 canvas.clipRect(SkRect::Make(SkIRect::MakeWH(tileSize, tileSize))); 803 const int tileSize = 100; local 807 draw_saveLayer_picture(width, height, tileSize, 1020 int tileSize = 8; local [all...] |
/external/mesa3d/src/mesa/drivers/common/ |
H A D | meta.c | 2217 GLint tileSize, 2229 for (i = 0; i < width; i += tileSize) { 2230 const GLint tileWidth = MIN2(tileSize, width - i); 2235 for (j = 0; j < height; j += tileSize) { 2236 const GLint tileHeight = MIN2(tileSize, height - j); 2216 tiled_draw_pixels(struct gl_context *ctx, GLint tileSize, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *unpack, const GLvoid *pixels) argument
|