Home
last modified time | relevance | path

Searched refs:NewFromStream (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/src/codec/
DSkCodec.cpp25 SkCodec* (*NewFromStream)(SkStream*); member
30 { SkJpegCodec::IsJpeg, SkJpegCodec::NewFromStream },
33 { SkWebpCodec::IsWebp, SkWebpCodec::NewFromStream },
36 { SkGifCodec::IsGif, SkGifCodec::NewFromStream },
39 { SkIcoCodec::IsIco, SkIcoCodec::NewFromStream },
41 { SkBmpCodec::IsBmp, SkBmpCodec::NewFromStream },
42 { SkWbmpCodec::IsWbmp, SkWbmpCodec::NewFromStream }
49 SkCodec* SkCodec::NewFromStream(SkStream* stream, in NewFromStream() function in SkCodec
90 return SkPngCodec::NewFromStream(streamDeleter.detach(), chunkReader); in NewFromStream()
96 return proc.NewFromStream(streamDeleter.detach()); in NewFromStream()
[all …]
DSkAndroidCodec.cpp25 SkAndroidCodec* SkAndroidCodec::NewFromStream(SkStream* stream, SkPngChunkReader* chunkReader) { in NewFromStream() function in SkAndroidCodec
26 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream, chunkReader)); in NewFromStream()
63 return NewFromStream(new SkMemoryStream(data), chunkReader); in NewFromData()
DSkBmpCodec.h30 static SkCodec* NewFromStream(SkStream*);
111 static SkCodec* NewFromStream(SkStream*, bool inIco);
DSkBmpCodec.cpp70 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkBmpCodec
71 return SkBmpCodec::NewFromStream(stream, false); in NewFromStream()
79 return SkBmpCodec::NewFromStream(stream, true); in NewFromIco()
537 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream, bool inIco) { in NewFromStream() function in SkBmpCodec
DSkIcoCodec.cpp34 SkCodec* SkIcoCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkIcoCodec
132 SkData::NewFromStream(inputStream.get(), size)); in NewFromStream()
143 codec = SkPngCodec::NewFromStream(embeddedStream.detach()); in NewFromStream()
DSkWebpCodec.h23 static SkCodec* NewFromStream(SkStream*);
DSkRawCodec.h30 static SkCodec* NewFromStream(SkStream*);
DSkIcoCodec.h25 static SkCodec* NewFromStream(SkStream*);
DSkWbmpCodec.h23 static SkCodec* NewFromStream(SkStream*);
DSkPngCodec.h25 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
DSkJpegCodec.h33 static SkCodec* NewFromStream(SkStream*);
DSkRawCodec.cpp448 static SkDngImage* NewFromStream(SkRawStream* stream) { in NewFromStream() function in SkDngImage
626 SkCodec* SkRawCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkRawCodec
650 return memoryStream ? SkJpegCodec::NewFromStream(memoryStream) : nullptr; in NewFromStream()
657 SkAutoTDelete<SkDngImage> dngImage(SkDngImage::NewFromStream(rawStream.release())); in NewFromStream()
DSkGifCodec.h30 static SkCodec* NewFromStream(SkStream*);
DSkWbmpCodec.cpp163 SkCodec* SkWbmpCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkWbmpCodec
DSkWebpCodec.cpp76 SkCodec* SkWebpCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkWebpCodec
/external/skia/tests/
DCodexTest.cpp171 SkAutoTUnref<SkData> data((SkData::NewFromStream(stream, 2 * size / 3))); in check()
174 codec.reset(SkCodec::NewFromStream(stream.detach())); in check()
300 SkAutoTUnref<SkData> data((SkData::NewFromStream(stream, 2 * size / 3))); in check()
303 androidCodec.reset(SkAndroidCodec::NewFromStream(stream.detach())); in check()
319 SkAutoTUnref<SkData> fullData(SkData::NewFromStream(stream, stream->getLength())); in check()
331 codec.reset(SkCodec::NewFromStream(bufferedStream)); in check()
415 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in DEF_TEST()
500 SkCodec* codec = SkCodec::NewFromStream(new SkMemoryStream(stream, len, false)); in test_invalid_stream()
504 SkAndroidCodec::NewFromStream(new SkMemoryStream(stream, len, false)); in test_invalid_stream()
534 SkCodec* codec = SkCodec::NewFromStream(nullptr); in DEF_TEST()
[all …]
DBadIcoTest.cpp34 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in DEF_TEST()
DYUVTest.cpp27 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in codec_yuv()
DGifTest.cpp201 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.detach())); in DEF_TEST()
DFrontBufferedStreamTest.cpp288 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in DEF_TEST()
/external/skia/src/android/
DSkBitmapRegionDecoder.cpp27 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(streamDeleter.detach())); in Create()
54 SkAndroidCodec::NewFromStream(streamDeleter.detach()); in Create()
/external/skia/include/codec/
DSkAndroidCodec.h32 static SkAndroidCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
DSkCodec.h72 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
/external/skia/include/core/
DSkData.h145 static SkData* NewFromStream(SkStream*, size_t size);
/external/skia/src/core/
DSkData.cpp187 SkData* SkData::NewFromStream(SkStream* stream, size_t size) { in NewFromStream() function in SkData

12