Searched refs:NewFromData (Results 1 – 14 of 14) sorted by relevance
29 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()
32 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(fData)); in onDelayedSetup()49 codec.reset(SkAndroidCodec::NewFromData(fData)); in onDraw()
738 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in rawNext()814 SkAutoTDelete<SkAndroidCodec> codec(SkAndroidCodec::NewFromData(encoded)); in rawNext()
15 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data.get())); in decode_memory()
172 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()
43 static SkAndroidCodec* NewFromData(SkData*, SkPngChunkReader* = NULL);
92 static SkCodec* NewFromData(SkData*, SkPngChunkReader* = NULL);
11 SkCodec* codec = SkCodec::NewFromData(data); in NewFromEncodedCodec()
58 SkAndroidCodec* SkAndroidCodec::NewFromData(SkData* data, SkPngChunkReader* chunkReader) { in NewFromData() function in SkAndroidCodec
109 SkCodec* SkCodec::NewFromData(SkData* data, SkPngChunkReader* reader) { in NewFromData() function in SkCodec
38 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(data)); in store_encoded_to_file()
373 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()
358 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); in push_codec_srcs()
127 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(bytes)); in fuzz_img()