Home
last modified time | relevance | path

Searched refs:SkStream (Results 1 – 25 of 181) sorted by relevance

12345678

/external/skia/legacy/src/ports/
DSkImageDecoder_empty.cpp14 extern SkImageDecoder* SkImageDecoder_GIF_Factory(SkStream*);
15 extern SkImageDecoder* SkImageDecoder_BMP_Factory(SkStream*);
16 extern SkImageDecoder* SkImageDecoder_ICO_Factory(SkStream*);
17 extern SkImageDecoder* SkImageDecoder_PNG_Factory(SkStream*);
18 extern SkImageDecoder* SkImageDecoder_WBMP_Factory(SkStream*);
19 extern SkImageDecoder* SkImageDecoder_JPEG_Factory(SkStream*);
21 typedef SkImageDecoder* (*SkImageDecoderFactoryProc)(SkStream*);
39 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { in Factory()
61 typedef SkMovie* (*SkMovieFactoryProc)(SkStream*);
63 extern SkMovie* SkMovie_GIF_Factory(SkStream*);
[all …]
DSkFontHost_freetype_mac.cpp16 FTMacTypeface(Style style, uint32_t id, SkStream* stream) : SkTypeface(style, id) { in FTMacTypeface()
25 SkStream* fStream;
29 SkStream* stream = new SkMMAPStream(path); in create_from_path()
59 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) { in CreateTypefaceFromStream()
68 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream()
92 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { in Deserialize()
DSkImageDecoder_CG.cpp29 static CGDataProviderRef SkStreamToDataProvider(SkStream* stream) { in SkStreamToDataProvider()
38 static CGImageSourceRef SkStreamToCGImageSource(SkStream* stream) { in SkStreamToCGImageSource()
47 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
52 bool SkImageDecoder_CG::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { in onDecode()
93 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { in Factory()
99 SkMovie* SkMovie::DecodeStream(SkStream* stream) { in DecodeStream()
/external/skia/include/core/
DSkStream.h18 class SK_API SkStream : public SkRefCnt {
20 SK_DECLARE_INST_COUNT(SkStream)
109 bool writeStream(SkStream* input, size_t length);
123 class SkFILEStream : public SkStream {
149 typedef SkStream INHERITED;
154 class SkFDStream : public SkStream {
177 typedef SkStream INHERITED;
180 class SkMemoryStream : public SkStream {
237 typedef SkStream INHERITED;
245 class SkBufferStream : public SkStream {
[all …]
DSkFlate.h17 class SkStream; variable
32 static bool Deflate(SkStream* src, SkWStream* dst);
49 static bool Inflate(SkStream* src, SkWStream* dst);
/external/skia/legacy/src/images/
DSkImageDecoder_Factory.cpp15 typedef SkTRegistry<SkImageDecoder*, SkStream*> DecodeReg;
19 template DecodeReg* SkTRegistry<SkImageDecoder*, SkStream*>::gHead;
22 extern SkImageDecoder* sk_libpng_dfactory(SkStream*);
25 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { in Factory()
50 typedef SkTRegistry<SkMovie*, SkStream*> MovieReg;
52 SkMovie* SkMovie::DecodeStream(SkStream* stream) { in DecodeStream()
DSkImageDecoder_wbmp.cpp25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
28 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte()
33 static bool read_mbf(SkStream* stream, int* value) in read_mbf()
52 bool init(SkStream* stream) in init()
101 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, in onDecode()
163 static SkImageDecoder* Factory(SkStream* stream) { in Factory()
172 static SkTRegistry<SkImageDecoder*, SkStream*> gReg(Factory);
/external/skia/src/images/
DSkImageDecoder_Factory.cpp15 typedef SkTRegistry<SkImageDecoder*, SkStream*> DecodeReg;
19 template DecodeReg* SkTRegistry<SkImageDecoder*, SkStream*>::gHead;
22 extern SkImageDecoder* sk_libpng_dfactory(SkStream*);
25 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { in Factory()
50 typedef SkTRegistry<SkMovie*, SkStream*> MovieReg;
52 SkMovie* SkMovie::DecodeStream(SkStream* stream) { in DecodeStream()
DSkImageDecoder_wbmp.cpp25 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
28 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte()
33 static bool read_mbf(SkStream* stream, int* value) in read_mbf()
52 bool init(SkStream* stream) in init()
99 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, in onDecode()
163 static SkImageDecoder* sk_wbmp_dfactory(SkStream* stream) { in sk_wbmp_dfactory()
172 static SkTRegistry<SkImageDecoder*, SkStream*> gReg(sk_wbmp_dfactory);
/external/skia/legacy/include/images/
DSkImageRef.h19 class SkStream; variable
37 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1);
70 virtual bool onDecode(SkImageDecoder* codec, SkStream*, SkBitmap*,
86 SkStream* setStream(SkStream*);
92 SkStream* fStream;
DSkImageDecoder.h17 class SkStream; variable
202 bool decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode, bool reuseBitmap = false);
203 bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode, bool reuseBitmap = false) {
214 virtual bool buildTileIndex(SkStream*,
230 static SkImageDecoder* Factory(SkStream*);
285 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap,
288 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap) { in DecodeStream()
313 virtual bool onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;
317 virtual bool onBuildTileIndex(SkStream*, in onBuildTileIndex() argument
415 virtual SkImageDecoder* newDecoder(SkStream*) = 0;
[all …]
/external/skia/include/images/
DSkImageRef.h19 class SkStream; variable
37 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1, SkBaseMutex* mutex = NULL);
67 virtual bool onDecode(SkImageDecoder* codec, SkStream*, SkBitmap*,
84 SkStream* setStream(SkStream*);
90 SkStream* fStream;
DSkImageDecoder.h17 class SkStream; variable
211 bool decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode, bool reuseBitmap = false);
212 bool decode(SkStream* stream, SkBitmap* bitmap, Mode mode, bool reuseBitmap = false) {
223 virtual bool buildTileIndex(SkStream*,
239 static SkImageDecoder* Factory(SkStream*);
294 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap,
297 static bool DecodeStream(SkStream* stream, SkBitmap* bitmap) { in DecodeStream()
322 virtual bool onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;
326 virtual bool onBuildTileIndex(SkStream*, in onBuildTileIndex() argument
426 virtual SkImageDecoder* newDecoder(SkStream*) = 0;
[all …]
/external/skia/src/ports/
DSkFontHost_freetype_mac.cpp16 FTMacTypeface(Style style, uint32_t id, SkStream* stream) : SkTypeface(style, id) { in FTMacTypeface()
25 SkStream* fStream;
29 SkStream* stream = new SkMMAPStream(path); in create_from_path()
58 SkTypeface* SkFontHost::CreateTypefaceFromStream(SkStream* stream) { in CreateTypefaceFromStream()
67 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream()
91 SkTypeface* SkFontHost::Deserialize(SkStream* stream) { in Deserialize()
DSkImageDecoder_empty.cpp15 class SkStream;
17 SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { in Factory()
26 bool SkImageDecoder::decode(SkStream*, SkBitmap* bitmap, SkBitmap::Config pref, Mode) { in decode() argument
30 bool SkImageDecoder::DecodeStream(SkStream*, SkBitmap*, SkBitmap::Config, SkImageDecoder::Mode, in DecodeStream() argument
45 SkMovie* SkMovie::DecodeStream(SkStream* stream) { in DecodeStream()
/external/skia/legacy/include/core/
DSkStream.h18 class SK_API SkStream : public SkRefCnt {
20 virtual ~SkStream();
97 bool writeStream(SkStream* input, size_t length);
111 class SkFILEStream : public SkStream {
138 class SkFDStream : public SkStream {
160 class SkMemoryStream : public SkStream {
214 class SkBufferStream : public SkStream {
222 SkBufferStream(SkStream* proxy, size_t bufferSize = 0);
230 SkBufferStream(SkStream* proxy, void* buffer, size_t bufferSize);
246 SkStream* fProxy;
DSkFlate.h17 class SkStream; variable
32 static bool Deflate(SkStream* src, SkWStream* dst);
49 static bool Inflate(SkStream* src, SkWStream* dst);
/external/skia/legacy/include/xml/
DSkXMLParser.h15 class SkStream; variable
62 bool parse(SkStream& docStream);
91 explicit SkXMLPullParser(SkStream*);
94 SkStream* getStream() const { return fStream; }
95 SkStream* setStream(SkStream* stream);
146 SkStream* fStream;
DSkBML_XMLParser.h13 class SkStream; variable
22 static void Read(SkStream& s, SkXMLWriter& writer);
25 static void Read(SkStream& s, SkWStream& output);
28 static void Read(SkStream& s, SkXMLParser& output);
/external/skia/include/xml/
DSkXMLParser.h15 class SkStream; variable
62 bool parse(SkStream& docStream);
91 explicit SkXMLPullParser(SkStream*);
94 SkStream* getStream() const { return fStream; }
95 SkStream* setStream(SkStream* stream);
146 SkStream* fStream;
DSkBML_XMLParser.h13 class SkStream; variable
22 static void Read(SkStream& s, SkXMLWriter& writer);
25 static void Read(SkStream& s, SkWStream& output);
28 static void Read(SkStream& s, SkXMLParser& output);
/external/skia/src/utils/mac/
DSkStream_mac.cpp22 return ((SkStream*)info)->read(buffer, bytes); in get_bytes_proc()
26 return ((SkStream*)info)->skip((size_t) bytes); in skip_forward_proc()
31 ((SkStream*)info)->rewind(); in rewind_proc()
36 ((SkStream*)info)->unref(); in release_info_proc()
39 CGDataProviderRef SkCreateDataProviderFromStream(SkStream* stream) { in SkCreateDataProviderFromStream()
/external/skia/src/xml/
DSkBML_XMLParser.cpp15 static uint8_t rbyte(SkStream& s) in rbyte()
23 static int rdata(SkStream& s, int data) in rdata()
38 static void set(char* array[256], int index, SkStream& s, int data) in set()
86 static void rattr(unsigned verb, SkStream& s, BMLW& rec, SkXMLWriter& writer) in rattr()
121 static void relem(unsigned verb, SkStream& s, BMLW& rec, SkXMLWriter& writer) in relem()
164 void BML_XMLParser::Read(SkStream& s, SkXMLWriter& writer) in Read()
171 void BML_XMLParser::Read(SkStream& s, SkWStream& output) in Read()
177 void BML_XMLParser::Read(SkStream& s, SkXMLParser& output) in Read()
/external/skia/legacy/src/xml/
DSkBML_XMLParser.cpp15 static uint8_t rbyte(SkStream& s) in rbyte()
23 static int rdata(SkStream& s, int data) in rdata()
38 static void set(char* array[256], int index, SkStream& s, int data) in set()
86 static void rattr(unsigned verb, SkStream& s, BMLW& rec, SkXMLWriter& writer) in rattr()
121 static void relem(unsigned verb, SkStream& s, BMLW& rec, SkXMLWriter& writer) in relem()
164 void BML_XMLParser::Read(SkStream& s, SkXMLWriter& writer) in Read()
171 void BML_XMLParser::Read(SkStream& s, SkWStream& output) in Read()
177 void BML_XMLParser::Read(SkStream& s, SkXMLParser& output) in Read()
/external/skia/src/utils/win/
DSkDWriteFontFileStream.h22 class SkDWriteFontFileStream : public SkStream {
60 static HRESULT Create(SkStream* stream, SkDWriteFontFileStreamWrapper** streamFontFileStream);
63 explicit SkDWriteFontFileStreamWrapper(SkStream* stream);
66 SkAutoTUnref<SkStream> fStream;

12345678