/external/dng_sdk/source/ |
D | dng_area_task.cpp | 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.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 …]
|
D | dng_opcodes.cpp | 307 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()
|
D | dng_filter_task.cpp | 59 const dng_point &tileSize, in Start() argument 64 fSrcTileSize = SrcTileSize (tileSize); in Start() 68 uint32 dstBufferSize = ComputeBufferSize(fDstPixelType, tileSize, in Start()
|
D | dng_tile_iterator.cpp | 51 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()
|
D | dng_area_task.h | 134 const dng_point &tileSize, 176 const dng_point &tileSize,
|
D | dng_utils.cpp | 170 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()
|
D | dng_bad_pixels.h | 66 const dng_point &tileSize, 270 const dng_point &tileSize,
|
D | dng_resample.cpp | 519 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()
|
/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | clahe.cu | 58 const int2 tileSize, const int tilesX, in calcLutKernel() argument 70 for (int i = threadIdx.y; i < tileSize.y; i += blockDim.y) in calcLutKernel() 72 const uchar* srcPtr = src.ptr(ty * tileSize.y + i) + tx * tileSize.x; in calcLutKernel() 73 for (int j = threadIdx.x; j < tileSize.x; j += blockDim.x) in calcLutKernel() 124 …void calcLut(PtrStepSzb src, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, int clipLimit, f… in calcLut() argument 129 calcLutKernel<<<grid, block, 0, stream>>>(src, lut, tileSize, tilesX, clipLimit, lutScale); in calcLut() 137 …rnel(const PtrStepSzb src, PtrStepb dst, const PtrStepb lut, const int2 tileSize, const int tilesX… in tranformKernel() argument 145 const float tyf = (static_cast<float>(y) / tileSize.y) - 0.5f; in tranformKernel() 152 const float txf = (static_cast<float>(x) / tileSize.x) - 0.5f; in tranformKernel() 171 …StepSzb src, PtrStepSzb dst, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, cudaStream_t str… in transform() argument [all …]
|
/external/skia/gm/ |
D | perlinnoise.cpp | 39 SkISize tileSize = SkISize::Make(fSize.width() / 2, fSize.height() / 2); in test() local 42 seed, stitchTiles ? &tileSize : nullptr) : in test() 44 seed, stitchTiles ? &tileSize : nullptr); in test() 48 drawRect(canvas, x, y, paint, tileSize); in test() 49 x += tileSize.width(); in test() 50 drawRect(canvas, x, y, paint, tileSize); in test() 51 y += tileSize.width(); in test() 52 drawRect(canvas, x, y, paint, tileSize); in test() 53 x -= tileSize.width(); in test() 54 drawRect(canvas, x, y, paint, tileSize); in test()
|
/external/opencv3/modules/imgproc/src/ |
D | clahe.cpp | 54 const int tilesX, const int tilesY, const cv::Size tileSize, in calcLut() argument 75 tile_size[0] = tileSize.width; in calcLut() 76 tile_size[1] = tileSize.height; in calcLut() 93 const int tilesX, const int tilesY, const cv::Size & tileSize) in transform() argument 101 tile_size[0] = tileSize.width; in transform() 102 tile_size[1] = tileSize.height; in transform() 134 …CLAHE_CalcLut_Body(const cv::Mat& src, const cv::Mat& lut, const cv::Size& tileSize, const int& ti… in CLAHE_CalcLut_Body() argument 135 …src_(src), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), clipLimit_(clipLimit), lutScale_(lutSc… in CLAHE_CalcLut_Body() 234 …t cv::Mat& src, const cv::Mat& dst, const cv::Mat& lut, const cv::Size& tileSize, const int& tiles… in CLAHE_Interpolation_Body() argument 235 src_(src), dst_(dst), lut_(lut), tileSize_(tileSize), tilesX_(tilesX), tilesY_(tilesY) in CLAHE_Interpolation_Body() [all …]
|
D | sumpixels.cpp | 348 static const int tileSize = 16; in ocl_integral() local 351 ocl::typeToStr(sdepth), tileSize, in ocl_integral() 360 …e bufsize(((src_size.height + tileSize - 1) / tileSize) * tileSize, ((src_size.width + tileSize - … in ocl_integral() 363 size_t gt = src.cols, lt = tileSize; in ocl_integral() 387 static const int tileSize = 16; in ocl_integral() local 391 tileSize, in ocl_integral() 400 …e bufsize(((src_size.height + tileSize - 1) / tileSize) * tileSize, ((src_size.width + tileSize - … in ocl_integral() 404 size_t gt = src.cols, lt = tileSize; in ocl_integral()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | SpriteCacheOffsetTest.java | 30 private int tileSize = 32; field in SpriteCacheOffsetTest 37 sprite.setSize(tileSize, tileSize); in create() 43 sprite.setPosition(x * tileSize, y * tileSize); in create()
|
/external/skia/include/effects/ |
D | SkPerlinNoiseShader.h | 60 const SkISize* tileSize = NULL); 63 const SkISize* tileSize = NULL); 70 const SkISize* tileSize = NULL) { 71 return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); 113 const SkISize* tileSize);
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.h | 66 const SkISize* tileSize = NULL); 69 const SkISize* tileSize = NULL); 82 const SkISize* tileSize = NULL) { 83 return CreateTurbulence(baseFrequencyX, baseFrequencyY, numOctaves, seed, tileSize); 126 const SkISize* tileSize);
|
D | SkPerlinNoiseShader2.cpp | 111 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 117 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) }, in PaintingData() 314 const SkISize* tileSize) { in CreateFractalNoise() argument 316 seed, tileSize); in CreateFractalNoise() 321 const SkISize* tileSize) { in CreateTurbulence() argument 323 seed, tileSize); in CreateTurbulence() 337 const SkISize* tileSize) in SkPerlinNoiseShader2() argument 343 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShader2() 358 SkISize tileSize; in CreateProc() local 359 tileSize.fWidth = buffer.readInt(); in CreateProc() [all …]
|
/external/skia/bench/ |
D | TileImageFilterBench.cpp | 25 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()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 44 const dng_point_real64 &tileSize) { in num_tiles_in_area() argument 46 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 47 static_cast<int32>((areaSize.h + tileSize.h - 1) / tileSize.h)); in num_tiles_in_area() 74 const dng_point& tileSize) { in compute_task_areas() argument 76 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 78 const dng_point taskAreaSize = {tilesPerTask.v * tileSize.v, in compute_task_areas() 79 tilesPerTask.h * tileSize.h}; in compute_task_areas() 83 taskArea.t = area.t + v * tileSize.v; in compute_task_areas() 84 taskArea.l = area.l + h * tileSize.h; in compute_task_areas() 107 const dng_point tileSize(task.FindTileSize(area)); in PerformAreaTask() local [all …]
|
/external/skia/src/core/ |
D | SkPictureShader.cpp | 200 SkISize tileSize = scaledSize.toRound(); in refBitmapShader() local 201 if (tileSize.isEmpty()) { in refBitmapShader() 206 SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader() 207 SkIntToScalar(tileSize.height()) / fTile.height()); in refBitmapShader() 219 tileMatrix.setRectToRect(fTile, SkRect::MakeIWH(tileSize.width(), tileSize.height()), in refBitmapShader() 223 SkImage::NewFromPicture(fPicture, tileSize, &tileMatrix, nullptr)); in refBitmapShader() 232 const SkImageInfo tileInfo = SkImageInfo::MakeN32Premul(tileSize); in refBitmapShader()
|
/external/skia/src/effects/ |
D | SkPerlinNoiseShader.cpp | 79 PaintingData(const SkISize& tileSize, SkScalar seed, in PaintingData() 85 { SkIntToScalar(tileSize.fWidth), SkIntToScalar(tileSize.fHeight) }, in PaintingData() 254 const SkISize* tileSize) { in CreateFractalNoise() argument 256 seed, tileSize); in CreateFractalNoise() 261 const SkISize* tileSize) { in CreateTurbulence() argument 263 seed, tileSize); in CreateTurbulence() 271 const SkISize* tileSize) in SkPerlinNoiseShader() argument 277 , fTileSize(nullptr == tileSize ? SkISize::Make(0, 0) : *tileSize) in SkPerlinNoiseShader() 292 SkISize tileSize; in CreateProc() local 293 tileSize.fWidth = buffer.readInt(); in CreateProc() [all …]
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | clahe.cl | 145 const int2 tileSize, const int tilesX, 157 for (int i = get_local_id(1); i < tileSize.y; i += get_local_size(1)) 159 …__global const uchar* srcPtr = src + mad24(ty * tileSize.y + i, srcStep, tx * tileSize.x + src_off… 160 for (int j = get_local_id(0); j < tileSize.x; j += get_local_size(0)) 218 const int2 tileSize, 227 const float tyf = (convert_float(y) / tileSize.y) - 0.5f; 234 const float txf = (convert_float(x) / tileSize.x) - 0.5f;
|
/external/opencv3/modules/cudaimgproc/src/ |
D | histogram.cpp | 132 …void calcLut(PtrStepSzb src, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, int clipLimit, f… 133 …StepSzb src, PtrStepSzb dst, PtrStepb lut, int tilesX, int tilesY, int2 tileSize, cudaStream_t str… 188 cv::Size tileSize; in apply() local 193 tileSize = cv::Size(src.cols / tilesX_, src.rows / tilesY_); in apply() 204 tileSize = cv::Size(srcExt_.cols / tilesX_, srcExt_.rows / tilesY_); in apply() 208 const int tileSizeTotal = tileSize.area(); in apply() 218 …clahe::calcLut(srcForLut, lut_, tilesX_, tilesY_, make_int2(tileSize.width, tileSize.height), clip… in apply() 220 …clahe::transform(src, dst, lut_, tilesX_, tilesY_, make_int2(tileSize.width, tileSize.height), str… in apply()
|
/external/skia/src/gpu/ |
D | SkGpuDevice.cpp | 731 static inline int get_tile_count(const SkIRect& srcRect, int tileSize) { in get_tile_count() argument 732 int tilesX = (srcRect.fRight / tileSize) - (srcRect.fLeft / tileSize) + 1; in get_tile_count() 733 int tilesY = (srcRect.fBottom / tileSize) - (srcRect.fTop / tileSize) + 1; in get_tile_count() 791 int* tileSize, in shouldTileImageID() argument 798 *tileSize = determine_tile_size(*clippedSubset, maxTileSize); in shouldTileImageID() 826 *tileSize = kBmpSmallTileSize; // already know whole bitmap fits in one max sized tile. in shouldTileImageID() 838 int* tileSize, in shouldTileBitmap() argument 847 srcRectPtr, maxTileSize, tileSize, clippedSrcRect); in shouldTileBitmap() 912 int tileSize; in drawBitmap() local 934 maxTileSizeForFilter, &tileSize, &clippedSrcRect)) { in drawBitmap() [all …]
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 65 void onTileSizeChanged(const SkSize &tileSize) override { in onTileSizeChanged() argument 66 if (tileSize != fTileSize) { in onTileSizeChanged() 67 fTileSize = tileSize; in onTileSizeChanged()
|
/external/skia/tests/ |
D | ImageFilterTest.cpp | 504 int tileSize = 8; in DEF_TEST() local 521 for (int y = 0; y < height; y += tileSize) { in DEF_TEST() 522 for (int x = 0; x < width; x += tileSize) { in DEF_TEST() 524 tiledCanvas.clipRect(SkRect::Make(SkIRect::MakeXYWH(x, y, tileSize, tileSize))); in DEF_TEST() 547 static void draw_saveLayer_picture(int width, int height, int tileSize, in draw_saveLayer_picture() argument 572 canvas.clipRect(SkRect::Make(SkIRect::MakeWH(tileSize, tileSize))); in draw_saveLayer_picture() 582 const int tileSize = 100; in DEF_TEST() local 586 draw_saveLayer_picture(width, height, tileSize, &factory, &result1); in DEF_TEST() 587 draw_saveLayer_picture(width, height, tileSize, nullptr, &result2); in DEF_TEST() 712 int tileSize = 8; in DEF_TEST() local [all …]
|