Home | History | Annotate | Download | only in core

Lines Matching defs:decode

44     /** Return the format of image this decoder can decode. If this decoder can decode multiple
89 /** Returns true if the decoder should try to decode the
95 /** Set to true if the the decoder should try to decode the
174 * to some flavor of decode, it is still at the discretion of the codec
196 * decode is preferred.
227 cancel. This will result in decode() returning false. However, there is
230 and decode() will return true (assuming no other problems were
233 This state is automatically reset at the beginning of decode().
241 /** Passed to the decode method. If kDecodeBounds_Mode is passed, then
250 /** Given a stream, decode it into the specified bitmap.
267 meta data during the decode.
269 bool decode(SkStream*, SkBitmap* bitmap, SkColorType pref, Mode);
270 bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode) {
271 return this->decode(stream, bitmap, kUnknown_SkColorType, mode);
275 * Given a stream, build an index for doing tile-based decode.
284 * Decode a rectangle subset in the image.
297 /** Decode the image stored in the specified file, and store the result
312 /** Decode the image stored in the specified memory buffer, and store the
342 /** Decode the image stored in the specified SkStreamRewindable, and store the result
358 bool decode(SkStream* stream, SkBitmap* bitmap, SkBitmap::Config pref, Mode mode) {
359 return this->decode(stream, bitmap, SkBitmapConfigToColorType(pref), mode);
379 // must be overridden in subclasses. This guy is called by decode(...)
415 * to decode a subimage using a different decoder, but with the same settings.
420 a different thread) has requested the decode to cancel. If this returns
435 * Return the default preference being used by the current or latest call to decode.