Searched refs:rawStream (Results 1 – 2 of 2) sorted by relevance
622 std::unique_ptr<SkRawStream> rawStream; in MakeFromStream() local624 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()
622 std::unique_ptr<SkRawStream> rawStream; in MakeFromStream() local624 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()