Home
last modified time | relevance | path

Searched refs:rawStream (Results 1 – 2 of 2) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkRawCodec.cpp622 std::unique_ptr<SkRawStream> rawStream; in MakeFromStream() local
624 rawStream.reset(new SkRawAssetStream(std::move(stream))); in MakeFromStream()
626 rawStream.reset(new SkRawBufferedStream(std::move(stream))); in MakeFromStream()
630 SkPiexStream piexStream(rawStream.get()); in MakeFromStream()
656 auto memoryStream = rawStream->transferBuffer(imageData.preview.offset, in MakeFromStream()
667 if (!SkDngImage::IsTiffHeaderValid(rawStream.get())) { in MakeFromStream()
673 std::unique_ptr<SkDngImage> dngImage(SkDngImage::NewFromStream(rawStream.release())); in MakeFromStream()
/third_party/skia/src/codec/
DSkRawCodec.cpp622 std::unique_ptr<SkRawStream> rawStream; in MakeFromStream() local
624 rawStream = std::make_unique<SkRawAssetStream>(std::move(stream)); in MakeFromStream()
626 rawStream = std::make_unique<SkRawBufferedStream>(std::move(stream)); in MakeFromStream()
630 SkPiexStream piexStream(rawStream.get()); in MakeFromStream()
656 auto memoryStream = rawStream->transferBuffer(imageData.preview.offset, in MakeFromStream()
667 if (!SkDngImage::IsTiffHeaderValid(rawStream.get())) { in MakeFromStream()
673 std::unique_ptr<SkDngImage> dngImage(SkDngImage::NewFromStream(rawStream.release())); in MakeFromStream()