/external/skia/tests/ |
H A D | ExifTest.cpp | 19 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream.release())); 25 codec.reset(SkCodec::NewFromStream(stream.release()));
|
H A D | BadIcoTest.cpp | 35 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream.release()));
|
H A D | CodecExactReadTest.cpp | 70 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(new UnowningStream(&stream)));
|
H A D | CodecPartialTest.cpp | 67 std::unique_ptr<SkCodec> partialCodec(SkCodec::NewFromStream(stream)); 169 partialCodec.reset(SkCodec::NewFromStream(stream)); 197 std::unique_ptr<SkCodec> fullCodec(SkCodec::NewFromStream(stream)); 236 std::unique_ptr<SkCodec> partialCodec(SkCodec::NewFromStream(haltingStream)); 290 std::unique_ptr<SkCodec> partialCodec(SkCodec::NewFromStream( 381 codec.reset(SkCodec::NewFromStream(stream)); 440 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream, &result));
|
H A D | CodecTest.cpp | 279 codec.reset(SkCodec::NewFromStream(stream.release())); 415 androidCodec.reset(SkAndroidCodec::NewFromStream(stream.release())); 444 codec.reset(SkCodec::NewFromStream(bufferedStream)); 529 SkCodec* codec = SkCodec::NewFromStream(new SkMemoryStream(stream, len, false)); 533 SkAndroidCodec::NewFromStream(new SkMemoryStream(stream, len, false)); 537 // Ensure that SkCodec::NewFromStream handles freeing the passed in SkStream, 540 // No codec should claim this as their format, so this tests SkCodec::NewFromStream. 543 // internal version of NewFromStream, which must also delete the stream on failure. 563 SkCodec* codec = SkCodec::NewFromStream(nullptr); 566 SkAndroidCodec* androidCodec = SkAndroidCodec::NewFromStream(nullpt [all...] |
H A D | YUVTest.cpp | 23 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream.release()));
|
/external/skia/src/android/ |
H A D | SkBitmapRegionDecoder.cpp | 26 SkAndroidCodec::NewFromStream(streamDeleter.release()));
|
/external/skia/src/codec/ |
H A D | SkRawCodec.h | 31 static SkCodec* NewFromStream(SkStream*, Result*); 52 * Called only by NewFromStream, takes ownership of dngImage.
|
H A D | SkWbmpCodec.h | 24 static SkCodec* NewFromStream(SkStream*, Result*);
|
H A D | SkBmpCodec.h | 31 static SkCodec* NewFromStream(SkStream*, Result*); 115 static SkCodec* NewFromStream(SkStream*, Result*, bool inIco);
|
H A D | SkJpegCodec.h | 34 static SkCodec* NewFromStream(SkStream*, Result*); 66 static SkCodec* NewFromStream(SkStream*, Result*, sk_sp<SkColorSpace> defaultColorSpace); 95 * Called only by NewFromStream
|
H A D | SkCodec.cpp | 32 SkCodec* (*NewFromStream)(SkStream*, SkCodec::Result*); member in struct:DecoderProc 37 { SkJpegCodec::IsJpeg, SkJpegCodec::NewFromStream }, 40 { SkWebpCodec::IsWebp, SkWebpCodec::NewFromStream }, 42 { SkGifCodec::IsGif, SkGifCodec::NewFromStream }, 44 { SkIcoCodec::IsIco, SkIcoCodec::NewFromStream }, 46 { SkBmpCodec::IsBmp, SkBmpCodec::NewFromStream }, 47 { SkWbmpCodec::IsWbmp, SkWbmpCodec::NewFromStream }, 49 { SkHeifCodec::IsHeif, SkHeifCodec::NewFromStream }, 53 SkCodec* SkCodec::NewFromStream(SkStream* stream, function in class:SkCodec 99 return SkPngCodec::NewFromStream(streamDelete [all...] |
H A D | SkGifCodec.h | 32 static SkCodec* NewFromStream(SkStream*, Result*); 128 * Called only by NewFromStream
|
H A D | SkHeifCodec.h | 27 static SkCodec* NewFromStream(SkStream*, Result*); 44 * Called only by NewFromStream
|
H A D | SkIcoCodec.h | 28 static SkCodec* NewFromStream(SkStream*, Result*); 79 * Constructor called by NewFromStream
|
H A D | SkPngCodec.h | 26 static SkCodec* NewFromStream(SkStream*, Result*,
|
H A D | SkWebpCodec.h | 29 static SkCodec* NewFromStream(SkStream*, Result*);
|
H A D | SkAndroidCodec.cpp | 68 SkAndroidCodec* SkAndroidCodec::NewFromStream(SkStream* stream, SkPngChunkReader* chunkReader) { function in class:SkAndroidCodec 69 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream, nullptr, chunkReader)); 107 return NewFromStream(new SkMemoryStream(data), chunkReader);
|
H A D | SkBmpCodec.cpp | 70 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream, Result* result) { function in class:SkBmpCodec 71 return SkBmpCodec::NewFromStream(stream, result, false); 79 return SkBmpCodec::NewFromStream(stream, result, true); 582 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream, Result* result, bool inIco) { function in class:SkBmpCodec
|
H A D | SkIcoCodec.cpp | 29 SkCodec* SkIcoCodec::NewFromStream(SkStream* stream, Result* result) { function in class:SkIcoCodec 158 codec = SkPngCodec::NewFromStream(embeddedStream.release(), &dummyResult); 200 * Called only by NewFromStream
|
H A D | SkRawCodec.cpp | 448 static SkDngImage* NewFromStream(SkRawStream* stream) { function in class:SkDngImage 633 SkCodec* SkRawCodec::NewFromStream(SkStream* stream, Result* result) { function in class:SkRawCodec 675 return SkJpegCodec::NewFromStream(memoryStream, result, std::move(colorSpace)); 685 std::unique_ptr<SkDngImage> dngImage(SkDngImage::NewFromStream(rawStream.release()));
|
/external/skia/gm/ |
H A D | bitmapimage.cpp | 39 std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(GetResourceAsStream(path)));
|
H A D | animatedGif.cpp | 126 fCodec.reset(SkCodec::NewFromStream(stream.release()));
|
/external/skia/include/codec/ |
H A D | SkAndroidCodec.h | 32 static SkAndroidCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
|
H A D | SkCodec.h | 45 * An SkStream passed to NewFromStream must be able to use this many 142 static SkCodec* NewFromStream(SkStream*, Result* = nullptr,
|