Home
last modified time | relevance | path

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

1234

/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()
DEncodedInfoTest.cpp20 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
/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 …]
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.h34 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
68 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*,
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()
DSkRawCodec.h31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
DSkWbmpCodec.h24 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
/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/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/skia/modules/svg/include/
DSkSVGDOM.h46 static sk_sp<SkSVGDOM> MakeFromStream(SkStream& str) { in MakeFromStream() function
50 static sk_sp<SkSVGDOM> MakeFromStream(SkStream&str, uint64_t svgColor) { in MakeFromStream() function
/third_party/skia/include/core/
DSkPicture.h56 static sk_sp<SkPicture> MakeFromStream(SkStream* stream,
247 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,
/third_party/skia/fuzz/oss_fuzz/
DFuzzSVG.cpp21 sk_sp<SkSVGDOM> dom = SkSVGDOM::MakeFromStream(stream); in FuzzSVG()
/third_party/skia/docs/examples/
DPicture_MakeFromStream.cpp17 sk_sp<SkPicture> copy = SkPicture::MakeFromStream(readableStream.get()); in draw()
/third_party/skia/samplecode/
DSampleSVGFile.cpp37 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
/third_party/skia/tools/viewer/
DSKPSlide.cpp47 fPic = SkPicture::MakeFromStream(fStream.get()); in load()
/third_party/skia/include/ports/
DSkFontConfigInterface.h101 … return SkTypeface::MakeFromStream(std::unique_ptr<SkStreamAsset>(this->openStream(identity)), in makeTypeface()
/third_party/skia/tools/
DResources.cpp59 return SkTypeface::MakeFromStream(GetResourceAsStream(resource), ttcIndex); in MakeResourceAsTypeface()
Dskp_parser.cpp48 sk_sp<SkPicture> pic = SkPicture::MakeFromStream(&input); in main()
/third_party/skia/experimental/skrive/src/reader/
DStreamReader.cpp53 return StreamReader::Make(SkData::MakeFromStream(stream.get(), stream->getLength())); in Make()

1234