Searched refs:imageDims (Results 1 – 4 of 4) sorted by relevance
/third_party/flutter/skia/src/android/ |
D | SkBitmapRegionDecoderPriv.h | 35 inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset, int* outX, in adjust_subset_rect() argument 46 int width = SkTMin(imageDims.width() - left, subset->width() - *outX); in adjust_subset_rect() 47 int height = SkTMin(imageDims.height() - top, subset->height() - *outY); in adjust_subset_rect()
|
/third_party/skia/client_utils/android/ |
D | BitmapRegionDecoderPriv.h | 35 inline SubsetType adjust_subset_rect(const SkISize& imageDims, SkIRect* subset, int* outX, in adjust_subset_rect() argument 46 int width = std::min(imageDims.width() - left, subset->width() - *outX); in adjust_subset_rect() 47 int height = std::min(imageDims.height() - top, subset->height() - *outY); in adjust_subset_rect()
|
/third_party/flutter/skia/src/codec/ |
D | SkCodecPriv.h | 33 static inline bool is_valid_subset(const SkIRect& subset, const SkISize& imageDims) { in is_valid_subset() argument 34 return SkIRect::MakeSize(imageDims).contains(subset); in is_valid_subset()
|
/third_party/skia/src/codec/ |
D | SkCodecPriv.h | 33 static inline bool is_valid_subset(const SkIRect& subset, const SkISize& imageDims) { in is_valid_subset() argument 34 return SkIRect::MakeSize(imageDims).contains(subset); in is_valid_subset()
|