Home
last modified time | relevance | path

Searched refs:encodeToData (Results 1 – 25 of 54) sorted by relevance

123

/third_party/flutter/skia/docs/examples/
DImage_encodeToData_2.cpp9 sk_sp<SkData> data(image->encodeToData()); in draw()
DImage_MakeFromEncoded.cpp9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw()
DImage_encodeToData.cpp11 sk_sp<SkData> data(image->encodeToData(SkEncodedImageFormat::kJPEG, quality)); in draw()
/third_party/skia/docs/examples/
DImage_encodeToData_2.cpp9 sk_sp<SkData> data(image->encodeToData()); in draw()
DImage_MakeFromEncoded.cpp9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw()
DImage_encodeToData.cpp11 sk_sp<SkData> data(image->encodeToData(SkEncodedImageFormat::kJPEG, quality)); in draw()
/third_party/flutter/skia/tools/
DSkSharingProc.cpp22 return img->encodeToData(); in serializeImage()
Dimgcvt.cpp17 sk_sp<SkData> png = img->encodeToData(); in write_png()
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dhtmlcanvas.js65 var skimg = img.encodeToData(format, quality);
/third_party/flutter/skia/src/image/
DSkImage.cpp91 sk_sp<SkData> SkImage::encodeToData(SkEncodedImageFormat type, int quality) const { in encodeToData() function in SkImage
99 sk_sp<SkData> SkImage::encodeToData() const { in encodeToData() function in SkImage
104 return this->encodeToData(SkEncodedImageFormat::kPNG, 100); in encodeToData()
/third_party/flutter/engine/flutter/flow/layers/
Dperformance_overlay_layer_unittests.cc67 sk_sp<SkData> snapshot_data = snapshot->encodeToData(); in TEST()
/third_party/skia/tools/
DSkSharingProc.cpp49 return img->encodeToData(); in serializeImage()
Dblob_cache_sim.cpp85 if (sk_sp<SkData> png = img ? img->encodeToData() : nullptr) { in main()
Dimgcvt.cpp17 sk_sp<SkData> png = img->encodeToData(); in write_png()
/third_party/flutter/skia/include/core/
DSkImage.h935 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const;
946 sk_sp<SkData> encodeToData() const;
/third_party/flutter/skia/modules/canvaskit/canvaskit/
Dnode.example.js85 const png = img.encodeToData()
/third_party/skia/gm/
Dencode_color_types.cpp132 auto decoded = src ? SkImage::MakeFromEncoded(src->encodeToData(fFormat, fQuality)) in onDraw()
Dimage.cpp249 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
420 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
Dimage_shader.cpp85 sk_sp<SkData> encoded = src->encodeToData(SkEncodedImageFormat::kPNG, 100); in make_encode_gen()
/third_party/skia/include/core/
DSkImage.h1015 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const;
1028 sk_sp<SkData> encodeToData() const;
/third_party/flutter/skia/gm/
Dimage_shader.cpp78 sk_sp<SkData> encoded = src->encodeToData(SkEncodedImageFormat::kPNG, 100); in make_encode_gen()
Dimage.cpp240 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
400 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
/third_party/skia/src/image/
DSkImage.cpp151 sk_sp<SkData> SkImage::encodeToData(SkEncodedImageFormat type, int quality) const { in encodeToData() function in SkImage
161 sk_sp<SkData> SkImage::encodeToData() const { in encodeToData() function in SkImage
166 return this->encodeToData(SkEncodedImageFormat::kPNG, 100); in encodeToData()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTool.cpp86 auto png_data = fSurface->makeImageSnapshot()->encodeToData(); in saveFrame()
/third_party/flutter/skia/src/core/
DSkWriteBuffer.cpp152 data = image->encodeToData(); in writeImage()

123