Home
last modified time | relevance | path

Searched refs:SkCodec (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/codec/
DSkCodec.cpp21 SkCodec* (*NewFromStream)(SkStream*);
33 SkCodec* SkCodec::NewFromStream(SkStream* stream) { in NewFromStream()
40 SkAutoTDelete<SkCodec> codec(NULL); in NewFromStream()
65 SkCodec* SkCodec::NewFromData(SkData* data) { in NewFromData()
72 SkCodec::SkCodec(const SkImageInfo& info, SkStream* stream) in SkCodec() function in SkCodec
78 SkCodec::RewindState SkCodec::rewindIfNeeded() { in rewindIfNeeded()
90 SkScanlineDecoder* SkCodec::getScanlineDecoder(const SkImageInfo& dstInfo, const Options* options, in getScanlineDecoder()
103 SkScanlineDecoder* SkCodec::getScanlineDecoder(const SkImageInfo& dstInfo) { in getScanlineDecoder()
DSkCodec_libico.h16 class SkIcoCodec : public SkCodec {
29 static SkCodec* NewFromStream(SkStream*);
56 SkTArray<SkAutoTDelete<SkCodec>, true>* embeddedCodecs);
58 SkAutoTDelete<SkTArray<SkAutoTDelete<SkCodec>, true>>
61 typedef SkCodec INHERITED;
DSkCodec_libbmp.h22 class SkBmpCodec : public SkCodec {
49 static SkCodec* NewFromStream(SkStream*);
57 static SkCodec* NewFromIco(SkStream*);
99 static SkCodec* NewFromStream(SkStream*, bool isIco);
109 static bool ReadHeader(SkStream*, bool isIco, SkCodec** codecOut);
192 typedef SkCodec INHERITED;
DSkCodec_libgif.h18 class SkGifCodec : public SkCodec {
31 static SkCodec* NewFromStream(SkStream*);
55 static bool ReadHeader(SkStream* stream, SkCodec** codecOut, GifFileType** gifOut);
94 typedef SkCodec INHERITED;
DSkJpegCodec.h26 class SkJpegCodec : public SkCodec {
40 static SkCodec* NewFromStream(SkStream*);
83 static bool ReadHeader(SkStream* stream, SkCodec** codecOut,
120 typedef SkCodec INHERITED;
DSkCodec_wbmp.h13 class SkWbmpCodec final : public SkCodec {
16 static SkCodec* NewFromStream(SkStream*);
23 typedef SkCodec INHERITED;
DSkCodec_libico.cpp35 SkCodec* SkIcoCodec::NewFromStream(SkStream* stream) { in NewFromStream()
113 SkAutoTDelete<SkTArray<SkAutoTDelete<SkCodec>, true>> codecs( in NewFromStream()
114 SkNEW_ARGS((SkTArray<SkAutoTDelete<SkCodec>, true>), (numImages))); in NewFromStream()
147 SkCodec* codec = NULL; in NewFromStream()
189 SkTArray<SkAutoTDelete<SkCodec>, true>* codecs) in SkIcoCodec() argument
228 SkCodec::Result SkIcoCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels()
DSkCodec_libpng.h24 class SkPngCodec : public SkCodec {
27 static SkCodec* NewFromStream(SkStream*);
62 typedef SkCodec INHERITED;
DSkCodec_libgif.cpp42 static SkCodec::Result gif_error(const char* msg, in gif_error()
43 SkCodec::Result result = SkCodec::kInvalidInput) { in gif_error()
152 bool SkGifCodec::ReadHeader(SkStream* stream, SkCodec** codecOut, GifFileType** gifOut) { in ReadHeader()
199 SkCodec* SkGifCodec::NewFromStream(SkStream* stream) { in NewFromStream()
200 SkCodec* codec = NULL; in NewFromStream()
240 SkCodec::Result SkGifCodec::onGetPixels(const SkImageInfo& dstInfo,
246 SkCodec::RewindState rewindState = this->rewindIfNeeded();
DSkJpegDecoderMgr.h35 SkCodec::Result returnFailure(const char caller[], SkCodec::Result result);
DSkCodec_libbmp.cpp112 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream) { in NewFromStream()
122 SkCodec* SkBmpCodec::NewFromIco(SkStream* stream) { in NewFromIco()
134 bool SkBmpCodec::ReadHeader(SkStream* stream, bool isIco, SkCodec** codecOut) { in ReadHeader()
531 SkCodec* SkBmpCodec::NewFromStream(SkStream* stream, bool isIco) { in NewFromStream()
533 SkCodec* codec = NULL; in NewFromStream()
574 SkCodec::Result SkBmpCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels()
580 SkCodec::RewindState rewindState = this->rewindIfNeeded(); in onGetPixels()
743 SkCodec::Result SkBmpCodec::decodeMask(const SkImageInfo& dstInfo, in decodeMask()
883 SkCodec::Result SkBmpCodec::decodeRLE(const SkImageInfo& dstInfo, in decodeRLE()
1077 SkCodec::Result SkBmpCodec::decode(const SkImageInfo& dstInfo, in decode()
DSkJpegDecoderMgr.cpp52 SkCodec::Result JpegDecoderMgr::returnFailure(const char caller[], SkCodec::Result result) { in returnFailure()
DSkJpegCodec.cpp121 bool SkJpegCodec::ReadHeader(SkStream* stream, SkCodec** codecOut, in ReadHeader()
155 SkCodec* SkJpegCodec::NewFromStream(SkStream* stream) { in NewFromStream()
157 SkCodec* codec = NULL; in NewFromStream()
296 SkCodec::Result SkJpegCodec::onGetPixels(const SkImageInfo& dstInfo, in onGetPixels()
DSkCodec_wbmp.cpp109 SkCodec::RewindState rewindState = this->rewindIfNeeded(); in onGetPixels()
156 SkCodec* SkWbmpCodec::NewFromStream(SkStream* stream) { in NewFromStream()
DSkCodec_libpng.cpp352 SkCodec* SkPngCodec::NewFromStream(SkStream* stream) { in NewFromStream()
427 SkCodec::Result SkPngCodec::initializeSwizzler(const SkImageInfo& requestedInfo, in initializeSwizzler()
514 SkCodec::Result SkPngCodec::onGetPixels(const SkImageInfo& requestedInfo, void* dst, in onGetPixels()
/external/skia/bench/
DCodecBench.cpp36 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); in CodecBench()
50 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); in onPreDraw()
66 SkAutoTDelete<SkCodec> codec; in onDraw()
71 codec.reset(SkCodec::NewFromData(fData)); in onDraw()
Dnanobench.cpp670 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in next()
/external/skia/include/codec/
DSkCodec.h25 class SkCodec : public SkImageGenerator {
34 static SkCodec* NewFromStream(SkStream*);
42 static SkCodec* NewFromData(SkData*);
112 SkCodec(const SkImageInfo&, SkStream*);
/external/skia/tests/
DCodexTest.cpp39 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in check()
131 SkCodec* codec = SkCodec::NewFromStream(new SkMemoryStream(stream, len, false)); in test_invalid_stream()
166 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in test_dimensions()
205 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.detach())); in test_empty()
/external/skia/gyp/
Dcodec.gyp34 '../src/codec/SkCodec.cpp',
/external/skia/dm/
DDMSrcSink.cpp80 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in draw()
172 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in size()
DDM.cpp197 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in push_codec_srcs()
/external/skia/
DAndroid.mk73 src/codec/SkCodec.cpp \