/external/skia/src/codec/ |
D | SkCodec.cpp | 25 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 …]
|
D | SkAndroidCodec.cpp | 25 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()
|
D | SkBmpCodec.h | 30 static SkCodec* NewFromStream(SkStream*); 111 static SkCodec* NewFromStream(SkStream*, bool inIco);
|
D | SkBmpCodec.cpp | 70 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
|
D | SkIcoCodec.cpp | 34 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()
|
D | SkWebpCodec.h | 23 static SkCodec* NewFromStream(SkStream*);
|
D | SkRawCodec.h | 30 static SkCodec* NewFromStream(SkStream*);
|
D | SkIcoCodec.h | 25 static SkCodec* NewFromStream(SkStream*);
|
D | SkWbmpCodec.h | 23 static SkCodec* NewFromStream(SkStream*);
|
D | SkPngCodec.h | 25 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
|
D | SkJpegCodec.h | 33 static SkCodec* NewFromStream(SkStream*);
|
D | SkRawCodec.cpp | 448 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()
|
D | SkGifCodec.h | 30 static SkCodec* NewFromStream(SkStream*);
|
D | SkWbmpCodec.cpp | 163 SkCodec* SkWbmpCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkWbmpCodec
|
D | SkWebpCodec.cpp | 76 SkCodec* SkWebpCodec::NewFromStream(SkStream* stream) { in NewFromStream() function in SkWebpCodec
|
/external/skia/tests/ |
D | CodexTest.cpp | 171 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 …]
|
D | BadIcoTest.cpp | 34 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in DEF_TEST()
|
D | YUVTest.cpp | 27 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in codec_yuv()
|
D | GifTest.cpp | 201 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.detach())); in DEF_TEST()
|
D | FrontBufferedStreamTest.cpp | 288 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in DEF_TEST()
|
/external/skia/src/android/ |
D | SkBitmapRegionDecoder.cpp | 27 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(streamDeleter.detach())); in Create() 54 SkAndroidCodec::NewFromStream(streamDeleter.detach()); in Create()
|
/external/skia/include/codec/ |
D | SkAndroidCodec.h | 32 static SkAndroidCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
|
D | SkCodec.h | 72 static SkCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
|
/external/skia/include/core/ |
D | SkData.h | 145 static SkData* NewFromStream(SkStream*, size_t size);
|
/external/skia/src/core/ |
D | SkData.cpp | 187 SkData* SkData::NewFromStream(SkStream* stream, size_t size) { in NewFromStream() function in SkData
|