Lines Matching refs:SkScaledBitmapSampler

28 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()
192 static SkScaledBitmapSampler::RowProc
193 get_565_to_565_proc(const SkScaledBitmapSampler::Options& opts) { in get_565_to_565_proc()
225 static SkScaledBitmapSampler::RowProc
226 get_gray_to_4444_proc(const SkScaledBitmapSampler::Options& opts) { in get_gray_to_4444_proc()
259 static SkScaledBitmapSampler::RowProc
260 get_RGBx_to_4444_proc(const SkScaledBitmapSampler::Options& opts) { in get_RGBx_to_4444_proc()
342 static SkScaledBitmapSampler::RowProc
343 get_RGBA_to_4444_proc(const SkScaledBitmapSampler::Options& opts) { in get_RGBA_to_4444_proc()
397 static SkScaledBitmapSampler::RowProc
398 get_index_to_8888_proc(const SkScaledBitmapSampler::Options& opts) { in get_index_to_8888_proc()
437 static SkScaledBitmapSampler::RowProc
438 get_index_to_565_proc(const SkScaledBitmapSampler::Options& opts) { in get_index_to_565_proc()
514 static SkScaledBitmapSampler::RowProc
515 get_index_to_4444_proc(const SkScaledBitmapSampler::Options& opts) { in get_index_to_4444_proc()
547 static SkScaledBitmapSampler::RowProc
548 get_index_to_index_proc(const SkScaledBitmapSampler::Options& opts) { in get_index_to_index_proc()
570 static SkScaledBitmapSampler::RowProc
571 get_gray_to_A8_proc(const SkScaledBitmapSampler::Options& opts) { in get_gray_to_A8_proc()
579 typedef SkScaledBitmapSampler::RowProc (*RowProcChooser)(const SkScaledBitmapSampler::Options&);
584 SkScaledBitmapSampler::SkScaledBitmapSampler(int width, int height, in SkScaledBitmapSampler() function in SkScaledBitmapSampler
626 bool SkScaledBitmapSampler::begin(SkBitmap* dst, SrcConfig sc, in begin()
670 case SkScaledBitmapSampler::kGray: in begin()
674 case SkScaledBitmapSampler::kRGB: in begin()
678 case SkScaledBitmapSampler::kRGBX: in begin()
682 case SkScaledBitmapSampler::kRGBA: in begin()
686 case SkScaledBitmapSampler::kIndex: in begin()
690 case SkScaledBitmapSampler::kRGB_565: in begin()
730 bool SkScaledBitmapSampler::begin(SkBitmap* dst, SrcConfig sc, in begin()
736 bool SkScaledBitmapSampler::next(const uint8_t* SK_RESTRICT src) { in next()
748 bool SkScaledBitmapSampler::sampleInterlaced(const uint8_t* SK_RESTRICT src, int srcY) { in sampleInterlaced()
780 static SkScaledBitmapSampler::RowProc getRowProc(const SkScaledBitmapSampler& sampler) { in getRowProc()
795 SkScaledBitmapSampler::RowProc gTestProcs[] = {
854 for (int sc = SkScaledBitmapSampler::kGray; sc <= SkScaledBitmapSampler::kRGB_565; ++sc) { in test_row_proc_choice()
860 SkScaledBitmapSampler sampler(10, 10, 1); in test_row_proc_choice()
865 sampler.begin(&dummyBitmap, (SkScaledBitmapSampler::SrcConfig) sc, in test_row_proc_choice()
867 SkScaledBitmapSampler::RowProc expected = gTestProcs[procCounter]; in test_row_proc_choice()
868 SkScaledBitmapSampler::RowProc actual = RowProcTester::getRowProc(sampler); in test_row_proc_choice()