Searched refs:scaledSize (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/core/ |
D | SkPictureShader.cpp | 178 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader() local 183 SkScalar tileArea = SkScalarMul(scaledSize.width(), scaledSize.height()); in refBitmapShader() 186 scaledSize.set(SkScalarMul(scaledSize.width(), clampScale), in refBitmapShader() 187 SkScalarMul(scaledSize.height(), clampScale)); in refBitmapShader() 192 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 193 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 194 scaledSize.set(SkScalarFloorToScalar(SkScalarMul(scaledSize.width(), downScale)), in refBitmapShader() 195 SkScalarFloorToScalar(SkScalarMul(scaledSize.height(), downScale))); in refBitmapShader() 200 SkISize tileSize = scaledSize.toRound(); in refBitmapShader()
|
D | SkImageGenerator.cpp | 121 bool SkImageGenerator::generateScaledPixels(const SkISize& scaledSize, in generateScaledPixels() argument 124 if (scaledSize.width() <= 0 || scaledSize.height() <= 0) { in generateScaledPixels() 132 if (!SkIRect::MakeWH(scaledSize.width(), scaledSize.height()).contains(subset)) { in generateScaledPixels() 135 return this->onGenerateScaledPixels(scaledSize, subsetOrigin, subsetPixels); in generateScaledPixels()
|
D | SkPictureImageGenerator.cpp | 99 bool SkPictureImageGenerator::onGenerateScaledPixels(const SkISize& scaledSize, in onGenerateScaledPixels() argument 102 int w = scaledSize.width(); in onGenerateScaledPixels() 103 int h = scaledSize.height(); in onGenerateScaledPixels()
|
/external/skia/src/android/ |
D | SkBitmapRegionCodec.cpp | 50 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 55 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() 81 int scaledOutWidth = scaledSize.width(); in decodeRegion() 82 int scaledOutHeight = scaledSize.height(); in decodeRegion()
|
/external/skia/bench/ |
D | AndroidCodecBench.cpp | 33 SkISize scaledSize = codec->getSampledDimensions(fSampleSize); in onDelayedSetup() local 35 fInfo = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()) in onDelayedSetup()
|
/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 92 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 93 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 106 scaledSize.height()); in onGetAndroidPixels() 108 SkCodec::Result result = this->codec()->startScanlineDecode(info.makeWH(scaledSize.width(), in onGetAndroidPixels() 109 scaledSize.height()), &codecOptions, options.fColorPtr, options.fColorCount); in onGetAndroidPixels()
|
/external/deqp/framework/common/ |
D | tcuTestLog.cpp | 294 IVec3 scaledSize = computeScaledSize(IVec3(width, height, depth), MAX_IMAGE_SIZE_3D); in writeImage() local 295 int w = scaledSize.x(); in writeImage() 296 int h = scaledSize.y(); in writeImage() 297 int d = scaledSize.z(); in writeImage()
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 203 bool generateScaledPixels(const SkISize& scaledSize, const SkIPoint& subsetOrigin,
|