Lines Matching refs:Mode
184 enum Mode {
197 kSuccess = 2 //!< The entire image was decoded, if Mode is
204 and then if the Mode is kDecodePixels_Mode, call allocPixelRef(),
221 Result decode(SkStream*, SkBitmap* bitmap, SkColorType pref, Mode);
222 Result decode(SkStream* stream, SkBitmap* bitmap, Mode mode) {
223 return this->decode(stream, bitmap, kUnknown_SkColorType, mode);
239 static bool DecodeFile(const char file[], SkBitmap* bitmap, SkColorType pref, Mode,
254 Mode, Format* format = NULL);
267 static bool DecodeStream(SkStreamRewindable* stream, SkBitmap* bitmap, SkColorType pref, Mode,
275 virtual Result onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;