Home
last modified time | relevance | path

Searched refs:imageDims (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/src/android/
DSkBitmapRegionDecoderPriv.h35 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/
DBitmapRegionDecoderPriv.h35 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/
DSkCodecPriv.h33 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/
DSkCodecPriv.h33 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()