Home
last modified time | relevance | path

Searched refs:SkAndroidCodec (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/codec/
DSkAndroidCodec.cpp63 SkAndroidCodec::SkAndroidCodec(SkCodec* codec) in SkAndroidCodec() function in SkAndroidCodec
68 SkAndroidCodec* SkAndroidCodec::NewFromStream(SkStream* stream, SkPngChunkReader* chunkReader) { in NewFromStream()
102 SkAndroidCodec* SkAndroidCodec::NewFromData(sk_sp<SkData> data, SkPngChunkReader* chunkReader) { in NewFromData()
110 SkColorType SkAndroidCodec::computeOutputColorType(SkColorType requestedColorType) { in computeOutputColorType()
141 SkAlphaType SkAndroidCodec::computeOutputAlphaType(bool requestedUnpremul) { in computeOutputAlphaType()
148 sk_sp<SkColorSpace> SkAndroidCodec::computeOutputColorSpace(SkColorType outputColorType, in computeOutputColorSpace()
185 SkISize SkAndroidCodec::getSampledDimensions(int sampleSize) const { in getSampledDimensions()
198 bool SkAndroidCodec::getSupportedSubset(SkIRect* desiredSubset) const { in getSupportedSubset()
206 SkISize SkAndroidCodec::getSampledSubsetDimensions(int sampleSize, const SkIRect& subset) const { in getSampledSubsetDimensions()
230 SkCodec::Result SkAndroidCodec::getAndroidPixels(const SkImageInfo& info, void* pixels, in getAndroidPixels()
[all …]
DSkRawAdapterCodec.h22 class SkRawAdapterCodec : public SkAndroidCodec {
40 typedef SkAndroidCodec INHERITED;
DSkWebpAdapterCodec.h17 class SkWebpAdapterCodec : public SkAndroidCodec {
35 typedef SkAndroidCodec INHERITED;
DSkSampledCodec.h17 class SkSampledCodec : public SkAndroidCodec {
58 typedef SkAndroidCodec INHERITED;
/external/skia/include/codec/
DSkAndroidCodec.h20 class SkAndroidCodec : SkNoncopyable {
32 static SkAndroidCodec* NewFromStream(SkStream*, SkPngChunkReader* = NULL);
41 static SkAndroidCodec* NewFromData(sk_sp<SkData>, SkPngChunkReader* = NULL);
42 static SkAndroidCodec* NewFromData(SkData* data, SkPngChunkReader* reader) { in NewFromData()
46 virtual ~SkAndroidCodec() {} in ~SkAndroidCodec()
234 SkAndroidCodec(SkCodec*);
/external/skia/bench/
DAndroidCodecBench.cpp32 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(fData)); in onDelayedSetup()
45 std::unique_ptr<SkAndroidCodec> codec; in onDraw()
46 SkAndroidCodec::AndroidOptions options; in onDraw()
49 codec.reset(SkAndroidCodec::NewFromData(fData)); in onDraw()
Dnanobench.cpp896 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in rawNext()
/external/skia/src/android/
DSkBitmapRegionDecoder.cpp25 std::unique_ptr<SkAndroidCodec> codec( in Create()
26 SkAndroidCodec::NewFromStream(streamDeleter.release())); in Create()
DSkBitmapRegionCodec.h24 SkBitmapRegionCodec(SkAndroidCodec* codec);
46 std::unique_ptr<SkAndroidCodec> fCodec;
DSkBitmapRegionCodec.cpp14 SkBitmapRegionCodec::SkBitmapRegionCodec(SkAndroidCodec* codec) in SkBitmapRegionCodec()
104 SkAndroidCodec::AndroidOptions options; in decodeRegion()
/external/skia/tests/
DCodecTest.cpp409 std::unique_ptr<SkAndroidCodec> androidCodec(nullptr); in check()
413 androidCodec.reset(SkAndroidCodec::NewFromData(data)); in check()
415 androidCodec.reset(SkAndroidCodec::NewFromStream(stream.release())); in check()
532 SkAndroidCodec* androidCodec = in test_invalid_stream()
533 SkAndroidCodec::NewFromStream(new SkMemoryStream(stream, len, false)); in test_invalid_stream()
566 SkAndroidCodec* androidCodec = SkAndroidCodec::NewFromStream(nullptr); in DEF_TEST()
576 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.release())); in test_dimensions()
595 SkAndroidCodec::AndroidOptions options; in test_dimensions()
957 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(data)); in DEF_TEST()
969 SkAndroidCodec::AndroidOptions opts; in DEF_TEST()
[all …]
DGifTest.cpp235 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromStream(stream.release())); in DEF_TEST()
241 SkAndroidCodec::AndroidOptions options; in DEF_TEST()
/external/skia/dm/
DDMSrcSink.cpp821 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in draw()
855 SkAndroidCodec::AndroidOptions options; in draw()
872 std::unique_ptr<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in size()
/external/skia/
DBUILD.gn710 "src/codec/SkAndroidCodec.cpp",
DAndroid.bp79 "src/codec/SkAndroidCodec.cpp",