Home
last modified time | relevance | path

Searched refs:SkScaledBitmapSampler (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/images/
DSkScaledBitmapSampler.cpp28 static SkScaledBitmapSampler::RowProc
29 get_gray_to_8888_proc(const SkScaledBitmapSampler::Options& opts) { in get_gray_to_8888_proc()
45 static SkScaledBitmapSampler::RowProc
46 get_RGBx_to_8888_proc(const SkScaledBitmapSampler::Options& opts) { in get_RGBx_to_8888_proc()
97 static SkScaledBitmapSampler::RowProc
98 get_RGBA_to_8888_proc(const SkScaledBitmapSampler::Options& opts) { in get_RGBA_to_8888_proc()
137 static SkScaledBitmapSampler::RowProc
138 get_gray_to_565_proc(const SkScaledBitmapSampler::Options& opts) { in get_gray_to_565_proc()
170 static SkScaledBitmapSampler::RowProc
171 get_RGBx_to_565_proc(const SkScaledBitmapSampler::Options& opts) { in get_RGBx_to_565_proc()
[all …]
DSkImageDecoder_ktx.cpp70 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); in onDecode()
129 if (!sampler.begin(bm, SkScaledBitmapSampler::kGray, *this)) { in onDecode()
158 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { in onDecode()
189 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { in onDecode()
211 SkScaledBitmapSampler::Options opts (*this); in onDecode()
219 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGBA, opts)) { in onDecode()
DSkImageDecoder_libpng.cpp339 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
404 SkScaledBitmapSampler::SrcConfig sc; in onDecode()
408 sc = SkScaledBitmapSampler::kIndex; in onDecode()
413 sc = SkScaledBitmapSampler::kGray; in onDecode()
416 sc = SkScaledBitmapSampler::kRGBA; in onDecode()
418 sc = SkScaledBitmapSampler::kRGBX; in onDecode()
798 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); in onDecodeSubset()
884 SkScaledBitmapSampler::SrcConfig sc; in onDecodeSubset()
888 sc = SkScaledBitmapSampler::kIndex; in onDecodeSubset()
893 sc = SkScaledBitmapSampler::kGray; in onDecodeSubset()
[all …]
DSkScaledBitmapSampler.h17 class SkScaledBitmapSampler {
19 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
DSkImageDecoder_pkm.cpp51 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); in onDecode()
67 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { in onDecode()
DSkImageDecoder_libjpeg.cpp531 SkScaledBitmapSampler::SrcConfig* sc, in get_src_config()
536 *sc = SkScaledBitmapSampler::kRGBX; in get_src_config()
540 *sc = SkScaledBitmapSampler::kRGB; in get_src_config()
544 *sc = SkScaledBitmapSampler::kRGBX; in get_src_config()
547 *sc = SkScaledBitmapSampler::kRGB_565; in get_src_config()
552 *sc = SkScaledBitmapSampler::kGray; in get_src_config()
631 SkScaledBitmapSampler smpl(cinfo.output_width, cinfo.output_height, in onDecode()
646 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height, sampleSize); in onDecode()
694 SkScaledBitmapSampler::SrcConfig sc; in onDecode()
1064 SkScaledBitmapSampler sampler(width, height, skiaSampleSize); in onDecodeSubset()
[all …]
DSkImageDecoder_libbmp.cpp133 SkScaledBitmapSampler sampler(width, height, getSampleSize()); in onDecode()
148 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGB, *this)) { in onDecode()
DSkImageDecoder_astc.cpp121 SkScaledBitmapSampler sampler(width, height, this->getSampleSize()); in onDecode()
145 if (!sampler.begin(bm, SkScaledBitmapSampler::kRGBA, *this)) { in onDecode()
DSkImageDecoder_libgif.cpp324 SkScaledBitmapSampler sampler(width, height, this->getSampleSize());
404 sampler = SkScaledBitmapSampler(innerWidth, innerHeight, this->getSampleSize());
414 if (!sampler.begin(workingBitmap, SkScaledBitmapSampler::kIndex, *this)) {
DSkImageDecoder_libwebp.cpp350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); in onDecodeSubset()
417 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
/external/skia/gyp/
Dimages.gyp76 '../src/images/SkScaledBitmapSampler.cpp',
77 '../src/images/SkScaledBitmapSampler.h',
/external/skia/
DAndroid.mk355 src/images/SkScaledBitmapSampler.cpp \