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

/external/skia/src/codec/
H A DSkCodecPriv.h47 * This does not need to be called and is not called when sampleFactor == 1.
49 inline int get_start_coord(int sampleFactor) { return sampleFactor / 2; }; argument
57 * This does not need to be called and is not called when sampleFactor == 1.
59 inline int get_dst_coord(int srcCoord, int sampleFactor) { return srcCoord / sampleFactor; }; argument
67 * This does not need to be called and is not called when sampleFactor == 1.
69 inline bool is_coord_necessary(int srcCoord, int sampleFactor, int scaledDim) { argument
71 int startCoord = get_start_coord(sampleFactor);
74 if (srcCoord < startCoord || get_dst_coord(srcCoord, sampleFactor) >
[all...]

Completed in 43 milliseconds