Home | History | Annotate | Download | only in images

Lines Matching refs:sampler

386     SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height,
393 if (reuseBitmap && (sampler.scaledWidth() != bm->width() ||
394 sampler.scaledHeight() != bm->height())) {
400 bm->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
415 if (!sampler.begin(bm, sc, this->getDitherImage())) {
416 return return_false(cinfo, *bm, "sampler.begin");
421 // Possibly skip initial rows [sampler.srcY0]
422 if (!skip_src_rows(&cinfo, srcRow, sampler.srcY0())) {
437 sampler.next(srcRow);
443 if (!skip_src_rows(&cinfo, srcRow, sampler.srcDY() - 1)) {
683 SkScaledBitmapSampler sampler(width, height, skiaSampleSize);
685 bitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
709 if (!sampler.begin(bitmap, sc, this->getDitherImage())) {
710 return return_false(*cinfo, *bitmap, "sampler.begin");
715 // Possibly skip initial rows [sampler.srcY0]
716 if (!skip_src_rows_tile(cinfo, index->index, srcRow, sampler.srcY0())) {
731 sampler.next(srcRow);
738 sampler.srcDY() - 1)) {