Lines Matching refs:sampleSize
143 not sufficient. If so, we can recompute a modified sampleSize value to
146 To skip this additional scaling, just set sampleSize = 1; below.
148 static int recompute_sampleSize(int sampleSize,
150 return sampleSize * cinfo.output_width / cinfo.image_width;
233 /* Try to fulfill the requested sampleSize. Since jpeg can do it (when it
237 int sampleSize = this->getSampleSize();
246 cinfo.scale_denom = sampleSize;
279 if (sampleSize == 1 && mode == SkImageDecoder::kDecodeBounds_Mode) {
291 to the caller if they just wanted (subsampled bounds). If sampleSize
302 recompute_sampleSize(sampleSize, cinfo));
310 sampleSize = recompute_sampleSize(sampleSize, cinfo);
322 if (sampleSize == 1 &&
392 sampleSize);