Home | History | Annotate | Download | only in images

Lines Matching refs:sampler

112     SkScaledBitmapSampler sampler(width, height, getSampleSize());
115 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
125 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
134 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, getDitherImage())) {
139 const int dstHeight = sampler.scaledHeight();
142 srcRow += sampler.srcY0() * srcRowBytes;
144 sampler.next(srcRow);
145 srcRow += sampler.srcDY() * srcRowBytes;