Home
last modified time | relevance | path

Searched refs:srcCoord (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkCodecPriv.h65 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; in get_dst_coord() argument
75 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { in is_coord_necessary() argument
80 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >= scaledDim) { in is_coord_necessary()
85 return ((srcCoord - startCoord) % sampleFactor) == 0; in is_coord_necessary()
/third_party/skia/src/codec/
DSkCodecPriv.h65 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; in get_dst_coord() argument
75 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { in is_coord_necessary() argument
80 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >= scaledDim) { in is_coord_necessary()
85 return ((srcCoord - startCoord) % sampleFactor) == 0; in is_coord_necessary()