Searched defs:sampleFactor (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/codec/
H A DSkCodecPriv.h51 * This does not need to be called and is not called when sampleFactor == 1.
53 static inline int get_start_coord(int sampleFactor) { return sampleFactor / 2; }; argument
61 * This does not need to be called and is not called when sampleFactor == 1.
63 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; argument
71 * This does not need to be called and is not called when sampleFactor == 1.
73 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { argument
75 int startCoord = get_start_coord(sampleFactor);
78 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >
[all...]
/external/skqp/src/codec/
H A DSkCodecPriv.h51 * This does not need to be called and is not called when sampleFactor == 1.
53 static inline int get_start_coord(int sampleFactor) { return sampleFactor / 2; }; argument
61 * This does not need to be called and is not called when sampleFactor == 1.
63 static inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; argument
71 * This does not need to be called and is not called when sampleFactor == 1.
73 static inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { argument
75 int startCoord = get_start_coord(sampleFactor);
78 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >
[all...]

Completed in 1884 milliseconds