Lines Matching refs:Config
78 SkBitmap::Config *config, bool *hasAlpha, bool *doDither,
141 SkASSERT(bm->config() == SkBitmap::kARGB_8888_Config);
158 static bool canUpscalePaletteToConfig(SkBitmap::Config dstConfig,
281 SkBitmap::Config config;
286 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha,
305 decodedBitmap->setConfig(config, sampler.scaledWidth(),
329 SkBitmap::kIndex8_Config == config ?
355 if (SkBitmap::kIndex8_Config == config && 1 == sampleSize) {
465 SkBitmap::Config *configp, bool *hasAlphap, bool *doDitherp,
491 // now see if we can upscale to their requested config
643 SkBitmap::Config config;
648 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha,
659 decodedBitmap->setConfig(config, sampler.scaledWidth(),
678 SkBitmap::kIndex8_Config == config ?
708 if (SkBitmap::kIndex8_Config == config && 1 == sampleSize) {
903 static transform_scanline_proc choose_proc(SkBitmap::Config config,
907 if (SkBitmap::kIndex8_Config == config) {
912 Config fConfig;
925 if (gMap[i].fConfig == config && gMap[i].fHasAlpha == hasAlpha) {
1013 SkBitmap::Config config = bitmap.getConfig();
1020 switch (config) {
1113 if (SkBitmap::kIndex8_Config == config) {
1128 transform_scanline_proc proc = choose_proc(config, hasAlpha);