Home
last modified time | relevance | path

Searched refs:SkStreamRewindable (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/include/core/
DSkImageDecoder.h19 class SkStreamRewindable; variable
63 static Format GetStreamFormat(SkStreamRewindable*);
251 bool buildTileIndex(SkStreamRewindable*, int *width, int *height);
265 static SkImageDecoder* Factory(SkStreamRewindable*);
303 static bool DecodeStream(SkStreamRewindable* stream, SkBitmap* bitmap, SkColorType pref, Mode,
305 static bool DecodeStream(SkStreamRewindable* stream, SkBitmap* bitmap) { in DecodeStream()
315 virtual bool onBuildTileIndex(SkStreamRewindable*, int* /*width*/, int* /*height*/);
426 virtual SkImageDecoder* newDecoder(SkStreamRewindable*) = 0;
435 virtual SkImageDecoder* newDecoder(SkStreamRewindable* stream) { in newDecoder()
467 typedef SkTRegistry<SkImageDecoder*(*)(SkStreamRewindable*)> SkImageDecoder_DecodeReg;
[all …]
DSkStream.h17 class SkStreamRewindable; variable
107 virtual SkStreamRewindable* duplicate() const { return NULL; } in duplicate()
145 class SK_API SkStreamRewindable : public SkStream {
148 SkStreamRewindable* duplicate() const override = 0;
152 class SK_API SkStreamSeekable : public SkStreamRewindable {
/external/skia/src/ports/
DSkImageDecoder_empty.cpp24 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable*) { in Factory() argument
38 bool SkImageDecoder::DecodeStream(SkStreamRewindable*, SkBitmap*, SkColorType, Mode, Format*) { in DecodeStream() argument
46 bool SkImageDecoder::buildTileIndex(SkStreamRewindable*, int *width, int *height) { in buildTileIndex() argument
50 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, in onBuildTileIndex()
65 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable*) { in GetStreamFormat() argument
96 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { in DecodeStream()
DSkImageDecoder_CG.cpp207 extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
209 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { in Factory()
221 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { in DecodeStream()
377 static SkImageDecoder::Format get_format_cg(SkStreamRewindable* stream) { in get_format_cg()
DSkImageDecoder_WIC.cpp253 extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
255 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { in Factory()
267 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { in DecodeStream()
455 static SkImageDecoder::Format get_format_wic(SkStreamRewindable* stream) { in get_format_wic()
/external/skia/src/images/
DSkImageDecoder_FactoryDefault.cpp13 extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
15 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { in Factory()
21 typedef SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> MovieReg;
23 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { in DecodeStream()
DSkDecodingImageGenerator.cpp28 SkAutoTDelete<SkStreamRewindable> fStream;
34 SkStreamRewindable* stream,
111 SkStreamRewindable* stream, in DecodingImageGenerator()
230 SkStreamRewindable* stream, in CreateDecodingImageGenerator()
233 SkAutoTDelete<SkStreamRewindable> autoStream(stream); // always delete this in CreateDecodingImageGenerator()
284 SkStreamRewindable* stream = SkNEW_ARGS(SkMemoryStream, (data)); in Create()
290 SkStreamRewindable* stream, in Create()
DSkImageDecoder_FactoryRegistrar.cpp19 SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
21 SkImageDecoder* image_decoder_from_stream(SkStreamRewindable* stream) { in image_decoder_from_stream()
48 SkImageDecoder::Format SkImageDecoder::GetStreamFormat(SkStreamRewindable* stream) { in GetStreamFormat()
DSkImageDecoder_pkm.cpp102 static bool is_pkm(SkStreamRewindable* stream) { in is_pkm()
112 static SkImageDecoder* sk_libpkm_dfactory(SkStreamRewindable* stream) { in sk_libpkm_dfactory()
121 static SkImageDecoder::Format get_format_pkm(SkStreamRewindable* stream) { in get_format_pkm()
DSkImageDecoder_libbmp.cpp37 static bool is_bmp(SkStreamRewindable* stream) { in is_bmp()
47 static SkImageDecoder* sk_libbmp_dfactory(SkStreamRewindable* stream) { in sk_libbmp_dfactory()
56 static SkImageDecoder::Format get_format_bmp(SkStreamRewindable* stream) { in get_format_bmp()
DSkImageDecoder.cpp154 bool SkImageDecoder::buildTileIndex(SkStreamRewindable* stream, int *width, int *height) { in buildTileIndex()
161 bool SkImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, int* /*width*/, in onBuildTileIndex()
222 SkAutoTDelete<SkStreamRewindable> stream(SkStream::NewFromFile(file)); in DecodeFile()
245 bool SkImageDecoder::DecodeStream(SkStreamRewindable* stream, SkBitmap* bm, SkColorType pref, in DecodeStream()
DSkImageDecoder_astc.cpp177 static bool is_astc(SkStreamRewindable* stream) { in is_astc()
187 static SkImageDecoder* sk_libastc_dfactory(SkStreamRewindable* stream) { in sk_libastc_dfactory()
196 static SkImageDecoder::Format get_format_astc(SkStreamRewindable* stream) { in get_format_astc()
DSkImageDecoder_libpng.cpp60 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr) in SkPNGImageIndex()
73 SkAutoTDelete<SkStreamRewindable> fStream;
94 bool onBuildTileIndex(SkStreamRewindable *stream, int *width, int *height) override;
139 SkStreamRewindable* sk_stream = (SkStreamRewindable*) png_get_io_ptr(png_ptr); in sk_seek_fn()
733 bool SkPNGImageDecoder::onBuildTileIndex(SkStreamRewindable* sk_stream, int *width, int *height) { in onBuildTileIndex()
734 SkAutoTDelete<SkStreamRewindable> streamDeleter(sk_stream); in onBuildTileIndex()
1263 static bool is_png(SkStreamRewindable* stream) { in is_png()
1272 SkImageDecoder* sk_libpng_dfactory(SkStreamRewindable* stream) { in sk_libpng_dfactory()
1279 static SkImageDecoder::Format get_format_png(SkStreamRewindable* stream) { in get_format_png()
DSkImageDecoder_wbmp.cpp155 static SkImageDecoder* sk_wbmp_dfactory(SkStreamRewindable* stream) { in sk_wbmp_dfactory()
164 static SkImageDecoder::Format get_format_wbmp(SkStreamRewindable* stream) { in get_format_wbmp()
DSkImageDecoder_libwebp.cpp106 bool onBuildTileIndex(SkStreamRewindable *stream, int *width, int *height) override;
311 bool SkWEBPImageDecoder::onBuildTileIndex(SkStreamRewindable* stream, in onBuildTileIndex()
313 SkAutoTDelete<SkStreamRewindable> streamDeleter(stream); in onBuildTileIndex()
653 static SkImageDecoder* sk_libwebp_dfactory(SkStreamRewindable* stream) { in sk_libwebp_dfactory()
663 static SkImageDecoder::Format get_format_webp(SkStreamRewindable* stream) { in get_format_webp()
DSkImageDecoder_libico.cpp424 static bool is_ico(SkStreamRewindable* stream) { in is_ico()
436 static SkImageDecoder* sk_libico_dfactory(SkStreamRewindable* stream) { in sk_libico_dfactory()
445 static SkImageDecoder::Format get_format_ico(SkStreamRewindable* stream) { in get_format_ico()
/external/skia/include/utils/
DSkFrontBufferedStream.h11 class SkStreamRewindable; variable
36 static SkStreamRewindable* Create(SkStream* stream, size_t minBufferSize);
/external/skia/bench/
DDecodingBench.cpp46 SkAutoTDelete<SkStreamRewindable> stream(new SkMemoryStream(fData)); in DecodingBench()
62 SkAutoTDelete<SkStreamRewindable> stream(new SkMemoryStream(fData)); in onPreDraw()
100 SkAutoTDelete<SkStreamRewindable> stream; in onDraw()
/external/skia/src/core/
DSkStreamPriv.h13 class SkStreamRewindable; variable
44 SkStreamRewindable* SkStreamRewindableFromSkStream(SkStream* stream);
/external/skia/include/images/
DSkMovie.h16 class SkStreamRewindable; variable
25 static SkMovie* DecodeStream(SkStreamRewindable*);
DSkDecodingImageGenerator.h15 class SkStreamRewindable; variable
95 SkImageGenerator* Create(SkStreamRewindable* stream,
/external/skia/src/utils/
DSkFrontBufferedStream.cpp12 class FrontBufferedStream : public SkStreamRewindable {
33 SkStreamRewindable* duplicate() const override { return NULL; } in duplicate()
68 SkStreamRewindable* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { in Create()
/external/skia/src/utils/ios/
DSkImageDecoder_iOS.mm57 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) {
61 SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) {
/external/skia/third_party/ktx/
Dktx.h21 class SkStreamRewindable; variable
67 static bool is_ktx(SkStreamRewindable* stream);
/external/skia/src/pdf/
DSkPDFStream.h73 SkAutoTDelete<SkStreamRewindable> fDataStream;

12