Lines Matching full:sampler
313 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
315 decodedBitmap->setConfig(config, sampler.scaledWidth(),
316 sampler.scaledHeight(), 0);
442 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors())) {
461 base += sampler.srcY0() * rb;
463 reallyHasAlpha |= sampler.next(base);
464 base += sampler.srcDY() * rb;
469 skip_src_rows(png_ptr, srcRow, sampler.srcY0());
474 reallyHasAlpha |= sampler.next(srcRow);
476 skip_src_rows(png_ptr, srcRow, sampler.srcDY() - 1);
481 png_uint_32 read = (height - 1) * sampler.srcDY() +
482 sampler.srcY0() + 1;