Home
last modified time | relevance | path

Searched refs:streamDeleter (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/codec/
DSkCodec.cpp38 SkAutoTDelete<SkStream> streamDeleter(stream); in NewFromStream() local
48 codec.reset(proc.NewFromStream(streamDeleter.detach())); in NewFromStream()
DSkCodec_wbmp.cpp157 SkAutoTDelete<SkStream> streamDeleter(stream); in NewFromStream() local
165 return SkNEW_ARGS(SkWbmpCodec, (info, streamDeleter.detach())); in NewFromStream()
DSkCodec_libgif.cpp153 SkAutoTDelete<SkStream> streamDeleter(stream); in ReadHeader() local
185 *codecOut = SkNEW_ARGS(SkGifCodec, (imageInfo, streamDeleter.detach(), gif.detach())); in ReadHeader()
188 streamDeleter.detach(); in ReadHeader()
DSkJpegCodec.cpp156 SkAutoTDelete<SkStream> streamDeleter(stream); in NewFromStream() local
161 streamDeleter.detach(); in NewFromStream()
DSkCodec_libpng.cpp353 SkAutoTDelete<SkStream> streamDeleter(stream); in NewFromStream() local
358 return SkNEW_ARGS(SkPngCodec, (imageInfo, streamDeleter.detach(), png_ptr, info_ptr)); in NewFromStream()
DSkCodec_libbmp.cpp532 SkAutoTDelete<SkStream> streamDeleter(stream); in NewFromStream() local
538 streamDeleter.detach(); in NewFromStream()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp313 SkAutoTDelete<SkStreamRewindable> streamDeleter(stream); in onBuildTileIndex() local
327 this->fInputStream.reset(streamDeleter.detach()); in onBuildTileIndex()
DSkImageDecoder_libpng.cpp734 SkAutoTDelete<SkStreamRewindable> streamDeleter(sk_stream); in onBuildTileIndex() local
760 fImageIndex = SkNEW_ARGS(SkPNGImageIndex, (streamDeleter.detach(), png_ptr, info_ptr)); in onBuildTileIndex()