Searched refs:desiredSubset (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 142 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()
|
D | SkAndroidCodec.cpp | 132 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()
|
D | SkWebpAdapterCodec.cpp | 21 bool SkWebpAdapterCodec::onGetSupportedSubset(SkIRect* desiredSubset) const { in onGetSupportedSubset() 22 return this->codec()->getValidSubset(desiredSubset); in onGetSupportedSubset()
|
D | SkWebpAdapterCodec.h | 28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override;
|
D | SkSampledCodec.h | 28 bool onGetSupportedSubset(SkIRect* desiredSubset) const override { return true; } in onGetSupportedSubset() argument
|
/external/skia/src/android/ |
D | SkBitmapRegionCanvas.cpp | 19 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()
|
D | SkBitmapRegionCodec.cpp | 20 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()
|
D | SkBitmapRegionCodec.h | 24 const SkIRect& desiredSubset, int sampleSize,
|
D | SkBitmapRegionCanvas.h | 36 const SkIRect& desiredSubset, int sampleSize,
|
/external/skia/include/codec/ |
D | SkAndroidCodec.h | 111 bool getSupportedSubset(SkIRect* desiredSubset) const; 251 virtual bool onGetSupportedSubset(SkIRect* desiredSubset) const = 0;
|
D | SkCodec.h | 138 bool getValidSubset(SkIRect* desiredSubset) const { in getValidSubset() argument 139 return this->onGetValidSubset(desiredSubset); in getValidSubset()
|
/external/skia/include/android/ |
D | SkBitmapRegionDecoder.h | 63 const SkIRect& desiredSubset, int sampleSize,
|