/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 184 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader() local 189 SkScalar tileArea = scaledSize.width() * scaledSize.height(); in refBitmapShader() 192 scaledSize.set(scaledSize.width() * clampScale, in refBitmapShader() 193 scaledSize.height() * clampScale); in refBitmapShader() 198 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 199 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 200 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 201 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader() 206 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 184 SkSize scaledSize = SkSize::Make(SkScalarAbs(scale.x() * fTile.width()), in refBitmapShader() local 189 SkScalar tileArea = scaledSize.width() * scaledSize.height(); in refBitmapShader() 192 scaledSize.set(scaledSize.width() * clampScale, in refBitmapShader() 193 scaledSize.height() * clampScale); in refBitmapShader() 198 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) { in refBitmapShader() 199 … SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height()); in refBitmapShader() 200 scaledSize.set(SkScalarFloorToScalar(scaledSize.width() * downScale), in refBitmapShader() 201 SkScalarFloorToScalar(scaledSize.height() * downScale)); in refBitmapShader() 206 const SkISize tileSize = scaledSize.toCeil(); in refBitmapShader()
|
/external/skia/src/android/ |
D | SkAnimatedImage.cpp | 21 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument 25 auto info = codec->getInfo().makeWH(scaledSize.width(), scaledSize.height()); in Make() 35 auto scaledSize = requestedInfo.dimensions(); in Make() local 38 || scaledSize.width() >= decodeInfo.width() in Make() 39 || scaledSize.height() >= decodeInfo.height()) { in Make() 45 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 61 const auto scaledSize = decodeInfo.dimensions(); in Make() local 62 const auto cropRect = SkIRect::MakeSize(scaledSize); in Make() 63 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 75 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() argument [all …]
|
D | SkBitmapRegionCodec.cpp | 49 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 53 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() 59 int scaledOutWidth = scaledSize.width(); in decodeRegion() 60 int scaledOutHeight = scaledSize.height(); in decodeRegion()
|
/external/skqp/src/android/ |
D | SkAnimatedImage.cpp | 21 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess) { in Make() argument 26 SkISize decodeSize = scaledSize; in Make() 29 && scaledSize.width() < decodeInfo.width() in Make() 30 && scaledSize.height() < decodeInfo.height()) { in Make() 35 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 51 const auto scaledSize = decodeInfo.dimensions(); in Make() local 52 const auto cropRect = SkIRect::MakeSize(scaledSize); in Make() 53 auto image = sk_sp<SkAnimatedImage>(new SkAnimatedImage(std::move(codec), scaledSize, in Make() 65 SkAnimatedImage::SkAnimatedImage(std::unique_ptr<SkAndroidCodec> codec, SkISize scaledSize, in SkAnimatedImage() argument 68 , fScaledSize(scaledSize) in SkAnimatedImage()
|
D | SkBitmapRegionCodec.cpp | 49 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() local 53 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() 59 int scaledOutWidth = scaledSize.width(); in decodeRegion() 60 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/skqp/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/skqp/src/codec/ |
D | SkSampledCodec.cpp | 92 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 93 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 104 const SkImageInfo scaledInfo = info.makeWH(scaledSize.width(), scaledSize.height()); in onGetAndroidPixels() 137 scaledSize.height()); in onGetAndroidPixels()
|
/external/skia/src/codec/ |
D | SkSampledCodec.cpp | 92 SkISize scaledSize = this->getSampledDimensions(sampleSize); in onGetAndroidPixels() local 93 if (!this->codec()->dimensionsSupported(scaledSize)) { in onGetAndroidPixels() 104 const SkImageInfo scaledInfo = info.makeWH(scaledSize.width(), scaledSize.height()); in onGetAndroidPixels() 137 scaledSize.height()); in onGetAndroidPixels()
|
/external/skqp/include/android/ |
D | SkAnimatedImage.h | 36 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess); 144 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize,
|
/external/skia/include/android/ |
D | SkAnimatedImage.h | 49 SkISize scaledSize, SkIRect cropRect, sk_sp<SkPicture> postProcess); 157 SkAnimatedImage(std::unique_ptr<SkAndroidCodec>, SkISize scaledSize,
|
/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()
|