Home
last modified time | relevance | path

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

123456

/external/skia/src/codec/
DSkCodec.cpp35 std::unique_ptr<SkCodec> (*MakeFromStream)(std::unique_ptr<SkStream>, SkCodec::Result*); member
40 { SkJpegCodec::IsJpeg, SkJpegCodec::MakeFromStream },
43 { SkWebpCodec::IsWebp, SkWebpCodec::MakeFromStream },
48 { SkGifCodec::IsGif, SkGifCodec::MakeFromStream },
51 { SkIcoCodec::IsIco, SkIcoCodec::MakeFromStream },
53 { SkBmpCodec::IsBmp, SkBmpCodec::MakeFromStream },
54 { SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream },
56 { SkHeifCodec::IsHeif, SkHeifCodec::MakeFromStream },
60 std::unique_ptr<SkCodec> SkCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkCodec
104 return SkPngCodec::MakeFromStream(std::move(stream), outResult, chunkReader); in MakeFromStream()
[all …]
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);
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.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()
121 return MakeFromStream(SkMemoryStream::Make(std::move(data)), chunkReader); in MakeFromData()
/external/skqp/src/codec/
DSkCodec.cpp35 std::unique_ptr<SkCodec> (*MakeFromStream)(std::unique_ptr<SkStream>, SkCodec::Result*); member
40 { SkJpegCodec::IsJpeg, SkJpegCodec::MakeFromStream },
43 { SkWebpCodec::IsWebp, SkWebpCodec::MakeFromStream },
48 { SkGifCodec::IsGif, SkGifCodec::MakeFromStream },
51 { SkIcoCodec::IsIco, SkIcoCodec::MakeFromStream },
53 { SkBmpCodec::IsBmp, SkBmpCodec::MakeFromStream },
54 { SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream },
56 { SkHeifCodec::IsHeif, SkHeifCodec::MakeFromStream },
60 std::unique_ptr<SkCodec> SkCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() function in SkCodec
104 return SkPngCodec::MakeFromStream(std::move(stream), outResult, chunkReader); in MakeFromStream()
[all …]
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);
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.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()
592 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()
121 return MakeFromStream(SkMemoryStream::Make(std::move(data)), chunkReader); in MakeFromData()
/external/skqp/tests/
DCodecTest.cpp302 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * size / 3)); in check()
304 codec = SkCodec::MakeFromStream(std::move(stream)); in check()
450 sk_sp<SkData> fullData(SkData::MakeFromStream(stream.get(), stream->getLength())); in check()
463 codec = SkCodec::MakeFromStream(std::move(bufferedStream)); in check()
543 REPORTER_ASSERT(r, !SkCodec::MakeFromStream( in test_invalid_stream()
545 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream()
575 REPORTER_ASSERT(r, !SkCodec::MakeFromStream(nullptr)); in DEF_TEST()
576 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST()
585 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.cpp74 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(skstd::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.cpp38 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
/external/skia/tests/
DCodecTest.cpp302 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * size / 3)); in check()
304 codec = SkCodec::MakeFromStream(std::move(stream)); in check()
450 sk_sp<SkData> fullData(SkData::MakeFromStream(stream.get(), stream->getLength())); in check()
463 codec = SkCodec::MakeFromStream(std::move(bufferedStream)); in check()
543 REPORTER_ASSERT(r, !SkCodec::MakeFromStream( in test_invalid_stream()
545 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream( in test_invalid_stream()
575 REPORTER_ASSERT(r, !SkCodec::MakeFromStream(nullptr)); in DEF_TEST()
576 REPORTER_ASSERT(r, !SkAndroidCodec::MakeFromStream(nullptr)); in DEF_TEST()
585 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.cpp74 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(skstd::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()
/external/skia/src/core/
DSkPicture.cpp134 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() function in SkPicture
135 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
144 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
152 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
155 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procsPtr, in MakeFromStream() function in SkPicture
/external/skqp/src/core/
DSkPicture.cpp134 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procs) { in MakeFromStream() function in SkPicture
135 return MakeFromStream(stream, procs, nullptr); in MakeFromStream()
144 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
152 return MakeFromStream(&stream, procs, nullptr); in MakeFromData()
155 sk_sp<SkPicture> SkPicture::MakeFromStream(SkStream* stream, const SkDeserialProcs* procsPtr, in MakeFromStream() function in SkPicture
/external/skia/docs/
DSkPicture_Reference.bmh116 #Method static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
133 sk_sp<SkPicture> copy = SkPicture::MakeFromStream(readableStream.get());
164 #SeeAlso MakeFromStream SkPictureRecorder
189 #SeeAlso MakeFromStream SkPictureRecorder
312 #SeeAlso MakeFromStream SkWStream SkSerialProcs
348 #SeeAlso MakeFromStream MakeFromData uniqueID
/external/skqp/docs/
DSkPicture_Reference.bmh116 #Method static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
133 sk_sp<SkPicture> copy = SkPicture::MakeFromStream(readableStream.get());
164 #SeeAlso MakeFromStream SkPictureRecorder
189 #SeeAlso MakeFromStream SkPictureRecorder
312 #SeeAlso MakeFromStream SkWStream SkSerialProcs
348 #SeeAlso MakeFromStream MakeFromData uniqueID
/external/skqp/include/core/
DSkPicture.h61 static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
215 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,
/external/skia/include/core/
DSkPicture.h61 static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
215 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,
/external/skqp/experimental/svg/model/
DSkSVGDOM.h27 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);
/external/skia/experimental/svg/model/
DSkSVGDOM.h27 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&);

123456