Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkWebpCodec.cpp142 bool SkWebpCodec::onGetValidSubset(SkIRect* desiredSubset) const { in onGetValidSubset()
143 if (!desiredSubset) { in onGetValidSubset()
148 if (!dimensions.contains(*desiredSubset)) { in onGetValidSubset()
155 desiredSubset->fLeft = (desiredSubset->fLeft >> 1) << 1; in onGetValidSubset()
156 desiredSubset->fTop = (desiredSubset->fTop >> 1) << 1; in onGetValidSubset()
DSkAndroidCodec.cpp132 bool SkAndroidCodec::getSupportedSubset(SkIRect* desiredSubset) const { in getSupportedSubset()
133 if (!desiredSubset || !is_valid_subset(*desiredSubset, fInfo.dimensions())) { in getSupportedSubset()
137 return this->onGetSupportedSubset(desiredSubset); in getSupportedSubset()
DSkWebpAdapterCodec.cpp21 bool SkWebpAdapterCodec::onGetSupportedSubset(SkIRect* desiredSubset) const { in onGetSupportedSubset()
22 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
DSkWebpAdapterCodec.h28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override;
DSkSampledCodec.h28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; } in onGetSupportedSubset() argument
/external/skia/src/android/
DSkBitmapRegionCanvas.cpp19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType, in decodeRegion() argument
54 SkIRect subset = desiredSubset; in decodeRegion()
89 const int outWidth = get_scaled_dimension(desiredSubset.width(), sampleSize); in decodeRegion()
90 const int outHeight = get_scaled_dimension(desiredSubset.height(), sampleSize); in decodeRegion()
DSkBitmapRegionCodec.cpp20 const SkIRect& desiredSubset, int sampleSize, SkColorType prefColorType, in decodeRegion() argument
39 SkIRect subset = desiredSubset; in decodeRegion()
87 const int extraX = SkTMax(0, desiredSubset.width() - outX - subset.width()); in decodeRegion()
88 const int extraY = SkTMax(0, desiredSubset.height() - outY - subset.height()); in decodeRegion()
DSkBitmapRegionCodec.h24 const SkIRect& desiredSubset, int sampleSize,
DSkBitmapRegionCanvas.h36 const SkIRect& desiredSubset, int sampleSize,
/external/skia/include/codec/
DSkAndroidCodec.h111 bool getSupportedSubset(SkIRect* desiredSubset) const;
251 virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0;
DSkCodec.h138 bool getValidSubset(SkIRect* desiredSubset) const { in getValidSubset() argument
139 return this->onGetValidSubset(desiredSubset); in getValidSubset()
/external/skia/include/android/
DSkBitmapRegionDecoder.h63 const SkIRect& desiredSubset, int sampleSize,