Searched refs:NewFromEncoded (Results 1 – 19 of 19) sorted by relevance
31 SkAutoTDelete<SkImageGenerator> gen(SkImageGenerator::NewFromEncoded(resourceData)); in GetResourceAsBitmap()38 return SkImage::NewFromEncoded(resourceData); in GetResourceAsImage()
29 gen = SkImageGenerator::NewFromEncoded(data); in test_imagegenerator_factory()36 gen = SkImageGenerator::NewFromEncoded(data); in test_imagegenerator_factory()
96 SkAutoTUnref<SkImage> im1(SkImage::NewFromEncoded(mandrillData)); in DEF_TEST()98 SkAutoTUnref<SkImage> im2(SkImage::NewFromEncoded(cmykData)); in DEF_TEST()
122 return SkImage::NewFromEncoded(src); in create_codec_image()140 SkAutoTUnref<SkImage> decoded(SkImage::NewFromEncoded(origEncoded)); in test_encode()146 decoded.reset(SkImage::NewFromEncoded(origEncoded, &ir)); in test_encode()
107 SkAutoTUnref<SkImage> image(SkImage::NewFromEncoded(fileData)); in onDraw()206 SkAutoTUnref<SkImage> image(SkImage::NewFromEncoded(nonPOTData)); in onDraw()
28 SkImage* image = SkImage::NewFromEncoded(data); in drawJpeg()260 return SkImage::NewFromEncoded(data); in make_codec()358 return SkImageGenerator::NewFromEncoded(data); in gen_png()364 return SkImageGenerator::NewFromEncoded(data); in gen_jpg()477 return SkImage::NewFromEncoded(src); in __anon780ff07f0402()
40 SkImageGenerator::NewFromEncoded(data), in onOnceBeforeDraw()
60 return SkImage::NewFromEncoded(encoded); in make_encode_gen()
135 SkImage* SkImage::NewFromEncoded(SkData* encoded, const SkIRect* subset) { in NewFromEncoded() function in SkImage139 SkImageGenerator* generator = SkImageGenerator::NewFromEncoded(encoded); in NewFromEncoded()
152 SkImageGenerator* generator = SkImageGenerator::NewFromEncoded(encoded); in SkDEPRECATED_InstallDiscardablePixelRef()
217 static SkImageGenerator* NewFromEncoded(SkData*);
89 static SkImage* NewFromEncoded(SkData* encoded, const SkIRect* subset = NULL);
90 image = SkImage::NewFromEncoded(data); in main()
87 atlas.reset(SkImage::NewFromEncoded(imageData)); in main()
237 SkImageGenerator* SkImageGenerator::NewFromEncoded(SkData* data) { in NewFromEncoded() function in SkImageGenerator
145 SkImageGenerator::NewFromEncoded(encoded), dst); in default_install()
316 SkImage* image = SkImage::NewFromEncoded(encoded, &subset); in readImage()
231 return ToImage(SkImage::NewFromEncoded(AsData(cdata), in sk_image_new_from_encoded()
2075 SkImage* image = SkImage::NewFromEncoded(data); in lsk_loadImage()