Lines Matching refs:stream
35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
52 int testDecodeBounds(SkImageDecoder* decoder, SkStream* stream,
58 // Decode the input stream and then use the bitmap.
59 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
69 int testDecodePixels(SkImageDecoder* decoder, SkStream* stream,
75 // Decode the input stream and then use the bitmap.
76 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
88 SkStream* stream = new SkFILEStream(filename);
90 testDecodePixels(decoder, stream, bitmap);
94 stream = new SkFILEStream(filename);
96 testDecodeBounds(decoder, stream, bitmap);