Home
last modified time | relevance | path

Searched refs:desiredSubset (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/client_utils/android/
DBitmapRegionDecoder.cpp49 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
68 SkIRect subset = desiredSubset; in decodeRegion()
95 const int extraX = std::max(0, desiredSubset.width() - outX - subset.width()); in decodeRegion()
96 const int extraY = std::max(0, desiredSubset.height() - outY - subset.height()); in decodeRegion()
DBitmapRegionDecoder.h24 const SkIRect& desiredSubset, int sampleSize,
/third_party/skia/src/codec/
DSkAndroidCodecAdapter.cpp20 bool SkAndroidCodecAdapter::onGetSupportedSubset(SkIRect* desiredSubset) const { in onGetSupportedSubset()
21 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
DSkWebpCodec.cpp198 bool SkWebpCodec::onGetValidSubset(SkIRect* desiredSubset) const { in onGetValidSubset()
199 if (!desiredSubset) { in onGetValidSubset()
203 if (!this->bounds().contains(*desiredSubset)) { in onGetValidSubset()
210 desiredSubset->fLeft = (desiredSubset->fLeft >> 1) << 1; in onGetValidSubset()
211 desiredSubset->fTop = (desiredSubset->fTop >> 1) << 1; in onGetValidSubset()
DSkAndroidCodec.cpp294 bool SkAndroidCodec::getSupportedSubset(SkIRect* desiredSubset) const { in getSupportedSubset()
295 if (!desiredSubset || !is_valid_subset(*desiredSubset, fCodec->dimensions())) { in getSupportedSubset()
299 return this->onGetSupportedSubset(desiredSubset); in getSupportedSubset()
DSkAndroidCodecAdapter.h28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override;
DSkSampledCodec.h27 bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; } in onGetSupportedSubset() argument
/third_party/skia/include/codec/
DSkAndroidCodec.h164 bool getSupportedSubset(SkIRect* desiredSubset) const;
254 virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0;
DSkCodec.h256 bool getValidSubset(SkIRect* desiredSubset) const { in getValidSubset() argument
257 return this->onGetValidSubset(desiredSubset); in getValidSubset()