Lines Matching full:samplesize
19 const SkIRect& desiredSubset, int sampleSize, SkColorType dstColorType,
38 // Fix the input sampleSize if necessary.
39 if (sampleSize < 1) {
40 sampleSize = 1;
89 const int outWidth = get_scaled_dimension(desiredSubset.width(), sampleSize);
90 const int outHeight = get_scaled_dimension(desiredSubset.height(), sampleSize);
117 SkRect dst = SkRect::MakeXYWH((SkScalar) (outX / sampleSize), (SkScalar) (outY / sampleSize),
118 (SkScalar) get_scaled_dimension(subset.width(), sampleSize),
119 (SkScalar) get_scaled_dimension(subset.height(), sampleSize));