Home
last modified time | relevance | path

Searched refs:NewFromData (Results 1 – 14 of 14) sorted by relevance

/external/skia/bench/
DCodecBench.cpp29 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); in CodecBench()
43 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); in onDelayedSetup()
60 codec.reset(SkCodec::NewFromData(fData)); in onDraw()
DAndroidCodecBench.cpp32 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(fData)); in onDelayedSetup()
49 codec.reset(SkAndroidCodec::NewFromData(fData)); in onDraw()
Dnanobench.cpp738 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in rawNext()
814 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in rawNext()
/external/skia/tests/
DCodecPriv.h15 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data.get())); in decode_memory()
DCodexTest.cpp172 codec.reset(SkCodec::NewFromData(data)); in check()
301 androidCodec.reset(SkAndroidCodec::NewFromData(data)); in check()
786 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data, &chunkReader)); in DEF_TEST()
938 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data)); in DEF_TEST()
/external/skia/include/codec/
DSkAndroidCodec.h43 static SkAndroidCodec* NewFromData(SkData*, SkPngChunkReader* = NULL);
DSkCodec.h92 static SkCodec* NewFromData(SkData*, SkPngChunkReader* = NULL);
/external/skia/src/codec/
DSkCodecImageGenerator.cpp11 SkCodec* codec = SkCodec::NewFromData(data); in NewFromEncodedCodec()
DSkAndroidCodec.cpp58 SkAndroidCodec* SkAndroidCodec::NewFromData(SkData* data, SkPngChunkReader* chunkReader) { in NewFromData() function in SkAndroidCodec
DSkCodec.cpp109 SkCodec* SkCodec::NewFromData(SkData* data, SkPngChunkReader* reader) { in NewFromData() function in SkCodec
/external/skia/tools/
Dget_images_from_skps.cpp38 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data)); in store_encoded_to_file()
/external/skia/dm/
DDMSrcSink.cpp373 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in draw()
627 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in size()
664 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in draw()
788 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in size()
DDM.cpp358 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in push_codec_srcs()
/external/skia/fuzz/
Dfuzz.cpp127 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(bytes)); in fuzz_img()