Lines Matching refs:Mode
245 enum Mode {
258 kSuccess = 2 //!< The entire image was decoded, if Mode is
265 and then if the Mode is kDecodePixels_Mode, call allocPixelRef(),
282 Result decode(SkStream*, SkBitmap* bitmap, SkColorType pref, Mode);
283 Result decode(SkStream* stream, SkBitmap* bitmap, Mode mode) {
319 static bool DecodeFile(const char file[], SkBitmap* bitmap, SkColorType pref, Mode,
335 Mode, Format* format = NULL);
364 static bool DecodeStream(SkStreamRewindable* stream, SkBitmap* bitmap, SkColorType pref, Mode,
371 bool decode(SkStream* stream, SkBitmap* bitmap, SkBitmap::Config pref, Mode mode) {
377 static bool DecodeFile(const char file[], SkBitmap* bitmap, SkBitmap::Config pref, Mode mode,
382 SkBitmap::Config pref, Mode mode, Format* format = NULL) {
386 Mode mode, Format* format = NULL) {
393 virtual Result onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;