Home
last modified time | relevance | path

Searched refs:MakeFromEncoded (Results 1 – 25 of 79) sorted by relevance

1234

/external/skqp/tests/
DEncodeTest.cpp168 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
169 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
170 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
282 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
283 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
284 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
333 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
334 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
335 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
336 SkImage::MakeFromEncoded(data3)->asLegacyBitmap(&bm3); in DEF_TEST()
DImageGeneratorTest.cpp38 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
44 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
DPDFJpegEmbedTest.cpp63 sk_sp<SkImage> im1(SkImage::MakeFromEncoded(mandrillData)); in DEF_TEST()
65 sk_sp<SkImage> im2(SkImage::MakeFromEncoded(cmykData)); in DEF_TEST()
/external/skia/gm/
Dencode.cpp43 sk_sp<SkImage> pngImage = SkImage::MakeFromEncoded(pngData); in onDraw()
44 sk_sp<SkImage> jpgImage = SkImage::MakeFromEncoded(jpgData); in onDraw()
71 imgs[i] = SkImage::MakeFromEncoded(data, nullptr);
Dencode_platform.cpp131 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(fmt, opaqueBm, q)); in onDraw()
132 auto premulImage = SkImage::MakeFromEncoded(encode_data(fmt, premulBm, q)); in onDraw()
133 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(fmt, unpremulBm, q)); in onDraw()
Dimage.cpp248 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
339 return SkImage::MakeFromEncoded(std::move(src)); in __anon68d120260402()
344 return SkImage::MakeFromEncoded(std::move(src)); in __anon68d120260502()
427 return SkImage::MakeFromEncoded(std::move(data)); in make_lazy_image()
Djpg_color_cube.cpp59 fImage = SkImage::MakeFromEncoded(std::move(jpegData)); in onOnceBeforeDraw()
/external/skqp/gm/
Dencode.cpp37 sk_sp<SkImage> pngImage = SkImage::MakeFromEncoded(pngData); in onDraw()
38 sk_sp<SkImage> jpgImage = SkImage::MakeFromEncoded(jpgData); in onDraw()
65 imgs[i] = SkImage::MakeFromEncoded(data, nullptr);
Dencode-platform.cpp100 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(type, opaqueBm)); in onDraw()
101 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
102 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(type, unpremulBm)); in onDraw()
Dimage.cpp218 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
300 return SkImage::MakeFromEncoded(std::move(src)); in __anonfbcfee9d0402()
305 return SkImage::MakeFromEncoded(std::move(src)); in __anonfbcfee9d0502()
389 return SkImage::MakeFromEncoded(std::move(data)); in make_lazy_image()
Djpg_color_cube.cpp49 fImage = SkImage::MakeFromEncoded(std::move(jpegData)); in onOnceBeforeDraw()
/external/skia/tests/
DEncodeTest.cpp214 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
215 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
216 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
328 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
329 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
330 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
427 SkImage::MakeFromEncoded(data0)->asLegacyBitmap(&bm0); in DEF_TEST()
428 SkImage::MakeFromEncoded(data1)->asLegacyBitmap(&bm1); in DEF_TEST()
429 SkImage::MakeFromEncoded(data2)->asLegacyBitmap(&bm2); in DEF_TEST()
430 SkImage::MakeFromEncoded(data3)->asLegacyBitmap(&bm3); in DEF_TEST()
DImageGeneratorTest.cpp37 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
43 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
DPDFJpegEmbedTest.cpp63 sk_sp<SkImage> im1(SkImage::MakeFromEncoded(mandrillData)); in DEF_TEST()
65 sk_sp<SkImage> im2(SkImage::MakeFromEncoded(cmykData)); in DEF_TEST()
/external/skia/docs/examples/
Dskbug_633528.cpp20 auto i = SkImage::MakeFromEncoded(SkData::MakeWithoutCopy(imageData, 343)); in draw()
DImage_encodeToData_2.cpp10 sk_sp<SkImage> eye = SkImage::MakeFromEncoded(data)->makeSubset(subset); in draw()
DImage_MakeFromEncoded.cpp10 sk_sp<SkImage> image = SkImage::MakeFromEncoded(encodedData); in draw()
DImage_encodeToData.cpp12 sk_sp<SkImage> filtered = SkImage::MakeFromEncoded(data)->makeSubset(subset); in draw()
/external/skia/fuzz/oss_fuzz/
DFuzzImage.cpp15 auto img = SkImage::MakeFromEncoded(bytes); in FuzzImageDecode()
/external/skqp/fuzz/oss_fuzz/
DFuzzImage.cpp15 auto img = SkImage::MakeFromEncoded(bytes); in FuzzImageDecode()
/external/skqp/tools/viewer/
DImageSlide.cpp29 fImage = SkImage::MakeFromEncoded(encoded); in load()
/external/skia/tools/viewer/
DImageSlide.cpp29 fImage = SkImage::MakeFromEncoded(encoded); in load()
/external/skia/tools/
DResources.h32 return SkImage::MakeFromEncoded(GetResourceAsData(resource)); in GetResourceAsImage()
/external/skqp/tools/
DResources.h32 return SkImage::MakeFromEncoded(GetResourceAsData(resource)); in GetResourceAsImage()
/external/skqp/samplecode/
DDecodeFile.h39 return data ? SkImage::MakeFromEncoded(data) : nullptr; in decode_file()

1234