Home
last modified time | relevance | path

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

/external/skqp/src/android/
DSkBitmapRegionCodec.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
38 SkIRect subset = desiredSubset; in decodeRegion()
65 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width()); in decodeRegion()
66 const int extraY = SkTMax(0, desiredSubset.height() - outY - subset.height()); in decodeRegion()
DSkBitmapRegionCodec.h27 const SkIRect& desiredSubset, int sampleSize,
/external/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,
/external/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
/external/skqp/src/codec/
DSkAndroidCodecAdapter.cpp20 bool SkAndroidCodecAdapter::onGetSupportedSubset(SkIRect* desiredSubset) const { in onGetSupportedSubset()
21 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
DSkWebpCodec.cpp214 bool SkWebpCodec::onGetValidSubset(SkIRect* desiredSubset) const { in onGetValidSubset()
215 if (!desiredSubset) { in onGetValidSubset()
219 if (!this->bounds().contains(*desiredSubset)) { in onGetValidSubset()
226 desiredSubset->fLeft = (desiredSubset->fLeft >> 1) << 1; in onGetValidSubset()
227 desiredSubset->fTop = (desiredSubset->fTop >> 1) << 1; in onGetValidSubset()
DSkAndroidCodec.cpp312 bool SkAndroidCodec::getSupportedSubset(SkIRect* desiredSubset) const { in getSupportedSubset()
313 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset()
317 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
/external/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()
/external/skqp/include/codec/
DSkAndroidCodec.h167 bool getSupportedSubset(SkIRect* desiredSubset) const;
277 virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0;
DSkCodec.h224 bool getValidSubset(SkIRect* desiredSubset) const { in getValidSubset() argument
225 return this->onGetValidSubset(desiredSubset); in getValidSubset()
/external/skqp/include/android/
DSkBitmapRegionDecoder.h63 const SkIRect& desiredSubset, int sampleSize,