Home
last modified time | relevance | path

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

12

/external/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()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dhtmlcanvas.js65 var skimg = img.encodeToData(format, quality);
/external/skqp/src/image/
DSkImage.cpp100 sk_sp<SkData> SkImage::encodeToData(SkEncodedImageFormat type, int quality) const { in encodeToData() function in SkImage
108 sk_sp<SkData> SkImage::encodeToData() const { in encodeToData() function in SkImage
113 return this->encodeToData(SkEncodedImageFormat::kPNG, 100); in encodeToData()
/external/skqp/include/core/
DSkImage.h868 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const;
879 sk_sp<SkData> encodeToData() const;
/external/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()
/external/skqp/experimental/canvaskit/canvaskit/
Dnode.example.js85 const png = img.encodeToData()
/external/skqp/tools/
Dimgcvt.cpp17 sk_sp<SkData> png = img->encodeToData(); in write_png()
Dremote_demo.cpp197 auto data = i->encodeToData(); in final_draw()
/external/skia/gm/
Dencode_color_types.cpp132 auto decoded = src ? SkImage::MakeFromEncoded(src->encodeToData(fFormat, fQuality)) in onDraw()
Dimage.cpp248 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
423 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()
/external/skqp/gm/
Dimage_shader.cpp60 sk_sp<SkData> encoded = src->encodeToData(SkEncodedImageFormat::kPNG, 100); in make_encode_gen()
Dimage.cpp218 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec()
385 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
/external/skia/include/core/
DSkImage.h1008 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const;
1021 sk_sp<SkData> encodeToData() const;
/external/skqp/modules/skottie/src/
DSkottieTool.cpp86 auto png_data = fSurface->makeImageSnapshot()->encodeToData(); in saveFrame()
/external/skia/src/image/
DSkImage.cpp153 sk_sp<SkData> SkImage::encodeToData(SkEncodedImageFormat type, int quality) const { in encodeToData() function in SkImage
163 sk_sp<SkData> SkImage::encodeToData() const { in encodeToData() function in SkImage
168 return this->encodeToData(SkEncodedImageFormat::kPNG, 100); in encodeToData()
/external/skqp/src/core/
DSkWriteBuffer.cpp152 data = image->encodeToData(); in writeImage()
/external/skia/src/core/
DSkWriteBuffer.cpp166 data = image->encodeToData(); in writeImage()
/external/skqp/docs/
DSkImage_Reference.bmh243 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality);
389 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, 100);
1365 #Method sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const
1376 sk_sp<SkData> data(image->encodeToData(SkEncodedImageFormat::kJPEG, quality));
1389 #Method sk_sp<SkData> encodeToData() const
1396 sk_sp<SkData> data(image->encodeToData());
1435 #SeeAlso encodeToData MakeFromEncoded
/external/skqp/tests/
DSerialProcsTest.cpp36 [](SkImage* img, void* ctx) { return img->encodeToData(); }, in DEF_TEST()
/external/skia/tests/
DSerialProcsTest.cpp35 [](SkImage* img, void* ctx) { return img->encodeToData(); }, in DEF_TEST()

12