Home | History | Annotate | Download | only in dm

Lines Matching refs:fSampleSize

77     , fSampleSize(sampleSize)
124 if ((width / fSampleSize <= 10 || height / fSampleSize <= 10) && 1 != fSampleSize) {
131 fSampleSize, colorType, false)) {
150 const uint32_t maxBorder = SkTMin(width, height) / (fSampleSize * divisor);
152 const uint32_t unscaledBorder = scaledBorder * fSampleSize;
187 decodeTop, decodeWidth, decodeHeight), fSampleSize, colorType, false)) {
196 (SkScalar) (subsetWidth / fSampleSize),
197 (SkScalar) (subsetHeight / fSampleSize)),
198 SkRect::MakeXYWH((SkScalar) (left / fSampleSize),
199 (SkScalar) (top / fSampleSize),
200 (SkScalar) (subsetWidth / fSampleSize),
201 (SkScalar) (subsetHeight / fSampleSize)),
216 return SkISize::Make(SkTMax(1, brd->width() / (int) fSampleSize),
217 SkTMax(1, brd->height() / (int) fSampleSize));
229 if (1 == fSampleSize) {
232 return get_scaled_name(fPath, 1.0f / (float) fSampleSize);
649 , fSampleSize(sampleSize)
675 SkISize size = codec->getSampledDimensions(fSampleSize);
679 if ((size.width() <= 10 || size.height() <= 10) && 1 != fSampleSize) {
706 options.fSampleSize = fSampleSize;
750 const int scaledWidthOffset = subset.left() / fSampleSize;
751 const int scaledHeightOffset = subset.top() / fSampleSize;
753 SkISize scaledSubsetSize = codec->getSampledSubsetDimensions(fSampleSize,
792 return codec->getSampledDimensions(fSampleSize);
798 if (1 == fSampleSize) {
801 return get_scaled_name(fPath, 1.0f / (float) fSampleSize);