Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkCodecPriv.h62 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; in get_dst_coord() argument
72 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { in is_coord_necessary() argument
77 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >= scaledDim) { in is_coord_necessary()
82 return ((srcCoord - startCoord) % sampleFactor) == 0; in is_coord_necessary()