Home
last modified time | relevance | path

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

12

/external/skia/gm/
Dencode-platform.cpp106 auto opaqueImage = SkImage::MakeFromEncoded(encode_data(type, opaqueBm)); in onDraw()
107 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw()
108 auto unpremulImage = SkImage::MakeFromEncoded(encode_data(type, unpremulBm)); in onDraw()
Dencode.cpp35 sk_sp<SkImage> pngImage = SkImage::MakeFromEncoded(pngData); in onDraw()
36 sk_sp<SkImage> jpegImage = SkImage::MakeFromEncoded(jpegData); in onDraw()
Dimage.cpp30 sk_sp<SkImage> image = SkImage::MakeFromEncoded(std::move(data)); in drawJpeg()
257 return SkImage::MakeFromEncoded(data); in make_codec()
340 return SkImage::MakeFromEncoded(std::move(src)); in __anon780ff07f0402()
346 return SkImage::MakeFromEncoded(std::move(src)); in __anon780ff07f0502()
Dimage_shader.cpp64 return SkImage::MakeFromEncoded(std::move(encoded)); in make_encode_gen()
Dencode-srgb.cpp188 auto image = SkImage::MakeFromEncoded(encode_data(bitmap, fEncodedFormat)); in onDraw()
Dreadpixels.cpp70 return SkImage::MakeFromEncoded(encoded); in make_codec_image()
/external/skia/src/image/
DSkImage.cpp139 sk_sp<SkImage> SkImage::MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset) { in MakeFromEncoded() function in SkImage
143 return SkImage::MakeFromGenerator(SkImageGenerator::MakeFromEncoded(encoded), subset); in MakeFromEncoded()
366 std::unique_ptr<SkCrossContextImageData> SkCrossContextImageData::MakeFromEncoded( in MakeFromEncoded() function in SkCrossContextImageData
368 sk_sp<SkImage> image = SkImage::MakeFromEncoded(std::move(encoded)); in MakeFromEncoded()
398 return SkImage::MakeFromEncoded(sk_ref_sp(data), subset); in makeFromData()
402 return SkImage::MakeFromEncoded(SkData::MakeWithCopy(data, length), subset); in makeFromMemory()
DSkImage_Gpu.cpp431 std::unique_ptr<SkCrossContextImageData> SkCrossContextImageData::MakeFromEncoded( in MakeFromEncoded() function in SkCrossContextImageData
433 sk_sp<SkImage> codecImage = SkImage::MakeFromEncoded(std::move(encoded)); in MakeFromEncoded()
/external/skia/tools/
DResources.cpp32 std::unique_ptr<SkImageGenerator> gen(SkImageGenerator::MakeFromEncoded(resourceData)); in GetResourceAsBitmap()
47 return SkImage::MakeFromEncoded(resourceData); in GetResourceAsImage()
Dimgblur.cpp47 sk_sp<SkImage> image(SkImage::MakeFromEncoded(data)); in main()
Dimgslice.cpp69 sk_sp<SkImage> image(SkImage::MakeFromEncoded(data)); in main()
/external/skia/tests/
DImageGeneratorTest.cpp28 std::unique_ptr<SkImageGenerator> gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
34 gen = SkImageGenerator::MakeFromEncoded(data); in test_imagegenerator_factory()
DCrossContextImageTest.cpp106 auto ccid = SkCrossContextImageData::MakeFromEncoded(info.grContext(), encoded,
138 auto ccid = SkCrossContextImageData::MakeFromEncoded(info.grContext(), encoded,
183 ctx->fCCID = SkCrossContextImageData::MakeFromEncoded(ctx->fGrContext, ctx->fEncoded, nullptr); in upload_image_thread_proc()
DPDFJpegEmbedTest.cpp64 sk_sp<SkImage> im1(SkImage::MakeFromEncoded(mandrillData)); in DEF_TEST()
66 sk_sp<SkImage> im2(SkImage::MakeFromEncoded(cmykData)); in DEF_TEST()
DImageTest.cpp146 return SkImage::MakeFromEncoded(std::move(src)); in create_codec_image()
163 sk_sp<SkImage> decoded(SkImage::MakeFromEncoded(origEncoded)); in test_encode()
173 decoded = SkImage::MakeFromEncoded(origEncoded, &ir); in test_encode()
1128 auto img1 = SkImage::MakeFromEncoded(data); in DEF_TEST()
/external/skia/tools/viewer/
DImageSlide.cpp29 fImage = SkImage::MakeFromEncoded(encoded); in load()
/external/skia/samplecode/
DDecodeFile.h40 return data ? SkImage::MakeFromEncoded(data) : nullptr; in decode_file()
/external/skia/include/core/
DSkCrossContextImageData.h32 static std::unique_ptr<SkCrossContextImageData> MakeFromEncoded(
DSkImageGenerator.h147 static std::unique_ptr<SkImageGenerator> MakeFromEncoded(sk_sp<SkData>);
DSkImage.h86 static sk_sp<SkImage> MakeFromEncoded(sk_sp<SkData> encoded, const SkIRect* subset = nullptr);
/external/skia/src/core/
DSkImageGenerator.cpp196 std::unique_ptr<SkImageGenerator> SkImageGenerator::MakeFromEncoded(sk_sp<SkData> data) { in MakeFromEncoded() function in SkImageGenerator
/external/skia/tools/fiddle/
Dfiddle_main.cpp130 image = SkImage::MakeFromEncoded(std::move(data)); in main()
/external/skia/src/c/
Dsk_surface.cpp231 return ToImage(SkImage::MakeFromEncoded(sk_ref_sp(AsData(cdata)), in sk_image_new_from_encoded()
/external/skia/src/pipe/
DSkPipeReader.cpp681 image = SkImage::MakeFromEncoded(data); in makeImage()
/external/skia/src/utils/
DSkLua.cpp1981 auto image = SkImage::MakeFromEncoded(std::move(data)); in lsk_loadImage()

12