/third_party/skia/tests/ |
D | ExifTest.cpp | 19 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()
|
D | CodecTest.cpp | 451 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 …]
|
D | CodecPartialTest.cpp | 75 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()
|
D | BadIcoTest.cpp | 39 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromStream(std::move(stream))); in DEF_TEST()
|
D | EncodedInfoTest.cpp | 20 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST()
|
/third_party/skia/src/codec/ |
D | SkCodec.cpp | 55 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 …]
|
D | SkBmpCodec.h | 31 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);
|
D | SkJpegCodec.h | 34 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*); 68 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*,
|
D | SkBmpCodec.cpp | 73 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
|
D | SkAndroidCodec.cpp | 65 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()
|
D | SkRawCodec.h | 31 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
|
D | SkWbmpCodec.h | 24 static std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, Result*);
|
/third_party/skia/src/core/ |
D | SkPicture.cpp | 138 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/ |
D | README.md | 12 …* `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.
|
D | SkGifCodec.h | 17 std::unique_ptr<SkCodec> MakeFromStream(std::unique_ptr<SkStream>, SkCodec::Result*);
|
/third_party/skia/modules/svg/include/ |
D | SkSVGDOM.h | 46 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/ |
D | SkPicture.h | 56 static sk_sp<SkPicture> MakeFromStream(SkStream* stream, 247 static sk_sp<SkPicture> MakeFromStream(SkStream*, const SkDeserialProcs*,
|
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzSVG.cpp | 21 sk_sp<SkSVGDOM> dom = SkSVGDOM::MakeFromStream(stream); in FuzzSVG()
|
/third_party/skia/docs/examples/ |
D | Picture_MakeFromStream.cpp | 17 sk_sp<SkPicture> copy = SkPicture::MakeFromStream(readableStream.get()); in draw()
|
/third_party/skia/samplecode/ |
D | SampleSVGFile.cpp | 37 fDom = SkSVGDOM::MakeFromStream(svgStream); in onOnceBeforeDraw()
|
/third_party/skia/tools/viewer/ |
D | SKPSlide.cpp | 47 fPic = SkPicture::MakeFromStream(fStream.get()); in load()
|
/third_party/skia/include/ports/ |
D | SkFontConfigInterface.h | 101 … return SkTypeface::MakeFromStream(std::unique_ptr<SkStreamAsset>(this->openStream(identity)), in makeTypeface()
|
/third_party/skia/tools/ |
D | Resources.cpp | 59 return SkTypeface::MakeFromStream(GetResourceAsStream(resource), ttcIndex); in MakeResourceAsTypeface()
|
D | skp_parser.cpp | 48 sk_sp<SkPicture> pic = SkPicture::MakeFromStream(&input); in main()
|
/third_party/skia/experimental/skrive/src/reader/ |
D | StreamReader.cpp | 53 return StreamReader::Make(SkData::MakeFromStream(stream.get(), stream->getLength())); in Make()
|