Home
last modified time | relevance | path

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

/external/skia/src/android/
DSkBitmapRegionCodec.cpp20 const SkIRect& desiredSubset, int sampleSize, SkColorType prefColorType, in decodeRegion() argument
39 SkIRect subset = desiredSubset; in decodeRegion()
77 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width()); in decodeRegion()
78 const int extraY = SkTMax(0, desiredSubset.height() - outY - subset.height()); in decodeRegion()
DSkBitmapRegionCodec.h27 const SkIRect& desiredSubset, int sampleSize,
/external/skia/src/codec/
DSkWebpCodec.cpp176 bool SkWebpCodec::onGetValidSubset(SkIRect* desiredSubset) const { in onGetValidSubset()
177 if (!desiredSubset) { in onGetValidSubset()
182 if (!dimensions.contains(*desiredSubset)) { in onGetValidSubset()
189 desiredSubset->fLeft = (desiredSubset->fLeft >> 1) << 1; in onGetValidSubset()
190 desiredSubset->fTop = (desiredSubset->fTop >> 1) << 1; in onGetValidSubset()
DSkWebpAdapterCodec.cpp21 bool SkWebpAdapterCodec::onGetSupportedSubset(SkIRect* desiredSubset) const { in onGetSupportedSubset()
22 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
DSkAndroidCodec.cpp223 bool SkAndroidCodec::getSupportedSubset(SkIRect* desiredSubset) const { in getSupportedSubset()
224 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset()
228 return this->onGetSupportedSubset(desiredSubset); in getSupportedSubset()
DSkWebpAdapterCodec.h28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override;
DSkSampledCodec.h28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; } in onGetSupportedSubset() argument
/external/skia/include/codec/
DSkAndroidCodec.h129 bool getSupportedSubset(SkIRect* desiredSubset) const;
269 virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0;
DSkCodec.h172 bool getValidSubset(SkIRect* desiredSubset) const { in getValidSubset() argument
173 return this->onGetValidSubset(desiredSubset); in getValidSubset()
/external/skia/include/android/
DSkBitmapRegionDecoder.h63 const SkIRect& desiredSubset, int sampleSize,