Home | History | Annotate | Download | only in images

Lines Matching defs:sampleSize

138      not sufficient. If so, we can recompute a modified sampleSize value to
141 To skip this additional scaling, just set sampleSize = 1; below.
143 static int recompute_sampleSize(int sampleSize,
145 return sampleSize * cinfo.output_width / cinfo.image_width;
251 /* Try to fulfill the requested sampleSize. Since jpeg can do it (when it
255 int sampleSize = this->getSampleSize();
264 cinfo.scale_denom = sampleSize;
304 if (sampleSize == 1 && mode == SkImageDecoder::kDecodeBounds_Mode) {
316 to the caller if they just wanted (subsampled bounds). If sampleSize
327 recompute_sampleSize(sampleSize, cinfo));
335 sampleSize = recompute_sampleSize(sampleSize, cinfo);
347 if (sampleSize == 1 &&
420 sampleSize);