Searched refs:sampleFactor (Results 1 – 1 of 1) sorted by relevance
52 static inline int get_start_coord(int sampleFactor) { return sampleFactor / 2; }; in get_start_coord() argument62 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; in get_dst_coord() argument72 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { in is_coord_necessary() argument74 int startCoord = get_start_coord(sampleFactor); in is_coord_necessary()77 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >= scaledDim) { in is_coord_necessary()82 return ((srcCoord - startCoord) % sampleFactor) == 0; in is_coord_necessary()