Home
last modified time | relevance | path

Searched refs:MakeFromStream (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/skia/tests/
DExifTest.cpp19 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
24 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()
33 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromStream(std::move(stream)); in DEF_TEST()
42 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromStream(std::move(stream)); in DEF_TEST()
DCodecTest.cpp451 sk_sp<SkData> fullData(SkData::MakeFromStream(stream.get(), stream->getLength())); in check_codec_image_generator()
464 std::unique_ptr<SkCodec> codec = SkCodec::MakeFromStream(std::move(bufferedStream)); in check_codec_image_generator()
495 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * length / 3)); in check()
497 codec = SkCodec::MakeFromStream(std::move(stream)); in check()
591 REPORTER_ASSERT(r, !SkCodec::MakeFromStream( in test_invalid_stream()
593 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream()
623 REPORTER_ASSERT(r, !SkCodec::MakeFromStream(nullptr)); in DEF_TEST()
624 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST()
633 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in test_dimensions()
929 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream( in DEF_TEST()
[all …]
DCodecPartialTest.cpp75 auto partialCodec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in test_partial()
201 partialCodec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in DEF_TEST()
234 …std::unique_ptr<SkCodec> fullCodec(SkCodec::MakeFromStream(std::make_unique<SkMemoryStream>(file))… in DEF_TEST()
273 std::unique_ptr<SkCodec> partialCodec(SkCodec::MakeFromStream( in DEF_TEST()
335 std::unique_ptr<SkCodec> partialCodec(SkCodec::MakeFromStream( in test_interleaved()
434 codec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in DEF_TEST()
505 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream( in DEF_TEST()
DBadIcoTest.cpp39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
/third_party/flutter/skia/src/codec/
DSkCodec.cpp35 std::unique_ptr<SkCodec> (*MakeFromStream)(std::unique_ptr<SkStream>, SkCodec::Result*); member
41 { SkJpegCodec::IsJpeg, SkJpegCodec::MakeFromStream }, in decoders()
44 { SkWebpCodec::IsWebp, SkWebpCodec::MakeFromStream }, in decoders()
49 { SkGifCodec::IsGif, SkGifCodec::MakeFromStream }, in decoders()
52 { SkIcoCodec::IsIco, SkIcoCodec::MakeFromStream }, in decoders()
54 { SkBmpCodec::IsBmp, SkBmpCodec::MakeFromStream }, in decoders()
55 { SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream }, in decoders()
66 std::unique_ptr<SkCodec> SkCodec::MakeFromStream( in MakeFromStream() function in SkCodec
117 return SkPngCodec::MakeFromStream(std::move(stream), outResult, chunkReader); in MakeFromStream()
123 return proc.MakeFromStream(std::move(stream), outResult); in MakeFromStream()
[all …]
DSkJpegCodec.h32 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
66 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*,
DSkBmpCodec.h31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
114 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, bool inIco);
DSkBmpCodec.cpp70 std::unique_ptr<SkCodec> SkBmpCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkBmpCodec
72 return SkBmpCodec::MakeFromStream(std::move(stream), result, false); in MakeFromStream()
80 return SkBmpCodec::MakeFromStream(std::move(stream), result, true); in MakeFromIco()
593 std::unique_ptr<SkCodec> SkBmpCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkBmpCodec
DSkAndroidCodec.cpp78 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkAndroidCodec
80 auto codec = SkCodec::MakeFromStream(std::move(stream), nullptr, chunkReader); in MakeFromStream()
125 return MakeFromStream(SkMemoryStream::Make(std::move(data)), chunkReader); in MakeFromData()
/third_party/skia/src/codec/
DSkCodec.cpp55 std::unique_ptr<SkCodec> (*MakeFromStream)(std::unique_ptr<SkStream>, SkCodec::Result*); member
61 { SkJpegCodec::IsJpeg, SkJpegCodec::MakeFromStream }, in decoders()
64 { SkWebpCodec::IsWebp, SkWebpCodec::MakeFromStream }, in decoders()
69 { SkGifCodec::IsGif, SkGifCodec::MakeFromStream }, in decoders()
72 { SkIcoCodec::IsIco, SkIcoCodec::MakeFromStream }, in decoders()
74 { SkBmpCodec::IsBmp, SkBmpCodec::MakeFromStream }, in decoders()
75 { SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream }, in decoders()
86 std::unique_ptr<SkCodec> SkCodec::MakeFromStream( in MakeFromStream() function in SkCodec
137 return SkPngCodec::MakeFromStream(std::move(stream), outResult, chunkReader); in MakeFromStream()
143 return proc.MakeFromStream(std::move(stream), outResult); in MakeFromStream()
[all …]
DSkJpegCodec.h32 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
66 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*,
DSkBmpCodec.h31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
114 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*, bool inIco);
DSkBmpCodec.cpp73 std::unique_ptr<SkCodec> SkBmpCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkBmpCodec
75 return SkBmpCodec::MakeFromStream(std::move(stream), result, false); in MakeFromStream()
83 return SkBmpCodec::MakeFromStream(std::move(stream), result, true); in MakeFromIco()
596 std::unique_ptr<SkCodec> SkBmpCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkBmpCodec
DSkAndroidCodec.cpp65 std::unique_ptr<SkAndroidCodec> SkAndroidCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkAndroidCodec
67 auto codec = SkCodec::MakeFromStream(std::move(stream), nullptr, chunkReader); in MakeFromStream()
112 return MakeFromStream(SkMemoryStream::Make(std::move(data)), chunkReader); in MakeFromData()
/third_party/flutter/skia/tests/
DCodecTest.cpp303 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * size / 3)); in check()
305 codec = SkCodec::MakeFromStream(std::move(stream)); in check()
451 sk_sp<SkData> fullData(SkData::MakeFromStream(stream.get(), stream->getLength())); in check()
464 codec = SkCodec::MakeFromStream(std::move(bufferedStream)); in check()
544 REPORTER_ASSERT(r, !SkCodec::MakeFromStream( in test_invalid_stream()
546 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream()
576 REPORTER_ASSERT(r, !SkCodec::MakeFromStream(nullptr)); in DEF_TEST()
577 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST()
586 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::MakeFromStream(std::move(stream))); in test_dimensions()
879 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream( in DEF_TEST()
[all …]
DExifTest.cpp19 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
24 codec = SkCodec::MakeFromStream(GetResourceAsStream("images/mandrill_512_q075.jpg")); in DEF_TEST()
DCodecPartialTest.cpp76 auto partialCodec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in test_partial()
202 partialCodec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in DEF_TEST()
235 …std::unique_ptr<SkCodec> fullCodec(SkCodec::MakeFromStream(skstd::make_unique<SkMemoryStream>(file… in DEF_TEST()
274 std::unique_ptr<SkCodec> partialCodec(SkCodec::MakeFromStream( in DEF_TEST()
336 std::unique_ptr<SkCodec> partialCodec(SkCodec::MakeFromStream( in test_interleaved()
435 codec = SkCodec::MakeFromStream(std::unique_ptr<SkStream>(stream)); in DEF_TEST()
506 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream( in DEF_TEST()
DBadIcoTest.cpp38 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGDOM.h29 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);
30 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&, uint64_t svgColor);
/third_party/skia/third_party/externals/libgifcodec/
DREADME.md12 …* `std::unique_ptr<SkCodec> SkGifCodec::MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*…
14 Which can be used by Skia's `SkCodec::MakeFromStream` to implement GIF Decoding.
DSkGifCodec.h17 std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
/third_party/flutter/skia/src/core/
DSkPicture.cpp135 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() function in SkPicture
136 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
145 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
153 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
156 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procsPtr, in MakeFromStream() function in SkPicture
/third_party/skia/src/core/
DSkPicture.cpp138 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() function in SkPicture
139 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
148 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
156 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
159 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procsPtr, in MakeFromStream() function in SkPicture
/third_party/flutter/skia/include/core/
DSkPicture.h54 static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
226 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,
/third_party/skia/include/core/
DSkPicture.h56 static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
247 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,

1234567