/third_party/skia/client_utils/android/ |
D | BitmapRegionDecoder.cpp | 37 : fCodec(std::move(codec)) in BitmapRegionDecoder() 41 return fCodec->getInfo().width(); in width() 45 return fCodec->getInfo().height(); in height() 69 SubsetType type = adjust_subset_rect(fCodec->getInfo().dimensions(), &subset, &outX, &outY); in decodeRegion() 75 if (!fCodec->getSupportedSubset(&subset)) { in decodeRegion() 79 SkISize scaledSize = fCodec->getSampledSubsetDimensions(sampleSize, subset); in decodeRegion() 82 SkAlphaType dstAlphaType = fCodec->computeOutputAlphaType(requireUnpremul); in decodeRegion() 136 SkCodec::Result result = fCodec->getAndroidPixels(decodeInfo, dst, bitmap->rowBytes(), in decodeRegion()
|
D | BitmapRegionDecoder.h | 28 SkEncodedImageFormat getEncodedFormat() { return fCodec->getEncodedFormat(); } in getEncodedFormat() 31 return fCodec->computeOutputColorType(requestedColorType); in computeOutputColorType() 36 return fCodec->computeOutputColorSpace(outputColorType, prefColorSpace); 45 std::unique_ptr<SkAndroidCodec> fCodec; variable
|
/third_party/skia/gm/ |
D | animated_gif.cpp | 34 std::unique_ptr<SkCodec> fCodec; member in AnimatedGifGM 48 const SkImageInfo info = fCodec->getInfo().makeColorType(kN32_SkColorType); in drawFrame() 65 if (SkCodec::kSuccess != fCodec->getPixels(info, bm.getPixels(), in drawFrame() 88 SkISize dim = fCodec->getInfo().dimensions(); in onISize() 99 if (fCodec) { in initCodec() 112 fCodec = SkCodec::MakeFromStream(std::move(stream)); in initCodec() 113 if (!fCodec) { in initCodec() 118 fFrameInfos = fCodec->getFrameInfo(); in initCodec() 132 canvas->translate(SkIntToScalar(fCodec->getInfo().width()), 0); in onDraw() 137 canvas->translate(0, SkIntToScalar(fCodec->getInfo().height())); in onDraw() [all …]
|
/third_party/skia/src/codec/ |
D | SkCodecImageGenerator.cpp | 41 , fCodec(std::move(codec)) in SkCodecImageGenerator() 53 SkCodec::Result result = fCodec->getPixels(pm, options); in getPixels() 64 return SkPixmapPriv::Orient(dst, fCodec->getOrigin(), decode); in getPixels() 75 return fCodec->queryYUVAInfo(supportedDataTypes, yuvaPixmapInfo); in onQueryYUVAInfo() 79 switch (fCodec->getYUVAPlanes(yuvaPixmaps)) { in onGetYUVAPlanes() 90 SkISize size = fCodec->getScaledDimensions(desiredScale); in getScaledDimensions() 91 if (SkEncodedOriginSwapsWidthHeight(fCodec->getOrigin())) { in getScaledDimensions()
|
D | SkAndroidCodec.cpp | 60 , fCodec(codec) in SkAndroidCodec() 116 bool highPrecision = fCodec->getEncodedInfo().bitsPerComponent() > 8; in computeOutputColorType() 165 const skcms_ICCProfile* encodedProfile = fCodec->getEncodedInfo().profile(); in computeOutputColorSpace() 206 const auto origDims = fCodec->dimensions(); in computeSampleSize() 222 if (supports_any_down_scale(fCodec.get())) { in computeSampleSize() 288 return fCodec->dimensions(); in getSampledDimensions() 295 if (!desiredSubset || !is_valid_subset(*desiredSubset, fCodec->dimensions())) { in getSupportedSubset() 316 if (fCodec->dimensions() == subset.size()) { in getSampledSubsetDimensions() 340 if (!is_valid_subset(*options->fSubset, fCodec->dimensions())) { in getAndroidPixels() 344 if (SkIRect::MakeSize(fCodec->dimensions()) == *options->fSubset) { in getAndroidPixels() [all …]
|
D | SkCodecImageGenerator.h | 64 int getFrameCount() { return fCodec->getFrameCount(); } in getFrameCount() 74 return fCodec->getFrameInfo(index, info); in getFrameInfo() 91 int getRepetitionCount() { return fCodec->getRepetitionCount(); } in getRepetitionCount() 112 std::unique_ptr<SkCodec> fCodec; variable
|
D | SkBmpRLECodec.cpp | 538 : fCodec(codec) in SkBmpRLESampler() 540 SkASSERT(fCodec); in SkBmpRLESampler() 544 return fCodec->fillWidth(); in fillWidth() 549 return fCodec->setSampleX(sampleX); in onSetSampleX() 553 SkBmpRLECodec* fCodec; member in SkBmpRLESampler
|
D | SkWuffsCodec.cpp | 189 const SkWuffsCodec* fCodec; member in SkWuffsFrameHolder 327 fCodec = codec; in init() 334 return fCodec->frame(i); in onGetFrame()
|
/third_party/skia/src/utils/ |
D | SkAnimCodecPlayer.cpp | 17 SkAnimCodecPlayer::SkAnimCodecPlayer(std::unique_ptr<SkCodec> codec) : fCodec(std::move(codec)) { in SkAnimCodecPlayer() 18 fImageInfo = fCodec->getInfo(); in SkAnimCodecPlayer() 19 fFrameInfos = fCodec->getFrameInfo(); in SkAnimCodecPlayer() 35 SkCodecImageGenerator::MakeFromCodec(std::move(fCodec)))); in SkAnimCodecPlayer() 42 if (!fCodec) { in dimensions() 46 if (SkEncodedOriginSwapsWidthHeight(fCodec->getOrigin())) { in dimensions() 66 const auto origin = fCodec->getOrigin(); in getFrameAt() 98 if (SkCodec::kSuccess != fCodec->getPixels(imageInfo, data->writable_data(), rb, &opts)) { in getFrameAt()
|
/third_party/skia/src/android/ |
D | SkAnimatedImage.cpp | 58 : fCodec(std::move(codec)) in SkAnimatedImage() 62 , fFrameCount(fCodec->codec()->getFrameCount()) in SkAnimatedImage() 65 , fRepetitionCount(fCodec->codec()->getRepetitionCount()) in SkAnimatedImage() 75 const auto origin = fCodec->codec()->getOrigin(); in SkAnimatedImage() 89 fSampleSize = fCodec->computeSampleSize(&decodeSize); in SkAnimatedImage() 198 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame() 210 frameInfo.fAlphaType = fCodec->getInfo().alphaType(); in decodeNextFrame() 303 auto result = fCodec->getAndroidPixels(dst->info(), dst->getPixels(), dst->rowBytes(), in decodeNextFrame() 319 } else if (fCodec->getEncodedFormat() == SkEncodedImageFormat::kHEIF) { in decodeNextFrame() 325 if (fCodec->codec()->getFrameInfo(frameToDecode, &frameInfo)) { in decodeNextFrame()
|
/third_party/skia/include/codec/ |
D | SkAndroidCodec.h | 72 return fCodec->getEncodedInfo().profile(); in getICCProfile() 78 SkEncodedImageFormat getEncodedFormat() const { return fCodec->getEncodedFormat(); } in getEncodedFormat() 247 SkCodec* codec() const { return fCodec.get(); } in codec() 261 std::unique_ptr<SkCodec> fCodec; variable
|
/third_party/skia/include/utils/ |
D | SkAnimCodecPlayer.h | 49 std::unique_ptr<SkCodec> fCodec;
|
/third_party/skia/include/android/ |
D | SkAnimatedImage.h | 140 std::unique_ptr<SkAndroidCodec> fCodec; variable
|