/external/skia/docs/examples/ |
D | Image_encodeToData_2.cpp | 9 sk_sp<SkData> data(image->encodeToData()); in draw()
|
D | Image_MakeFromEncoded.cpp | 9 sk_sp<SkData> encodedData = image->encodeToData(SkEncodedImageFormat::kJPEG, quality); in draw()
|
D | Image_encodeToData.cpp | 11 sk_sp<SkData> data(image->encodeToData(SkEncodedImageFormat::kJPEG, quality)); in draw()
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
D | htmlcanvas.js | 65 var skimg = img.encodeToData(format, quality);
|
/external/skqp/src/image/ |
D | SkImage.cpp | 100 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/ |
D | SkImage.h | 868 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const; 879 sk_sp<SkData> encodeToData() const;
|
/external/skia/tools/ |
D | SkSharingProc.cpp | 49 return img->encodeToData(); in serializeImage()
|
D | blob_cache_sim.cpp | 85 if (sk_sp<SkData> png = img ? img->encodeToData() : nullptr) { in main()
|
D | imgcvt.cpp | 17 sk_sp<SkData> png = img->encodeToData(); in write_png()
|
/external/skqp/experimental/canvaskit/canvaskit/ |
D | node.example.js | 85 const png = img.encodeToData()
|
/external/skqp/tools/ |
D | imgcvt.cpp | 17 sk_sp<SkData> png = img->encodeToData(); in write_png()
|
D | remote_demo.cpp | 197 auto data = i->encodeToData(); in final_draw()
|
/external/skia/gm/ |
D | encode_color_types.cpp | 132 auto decoded = src ? SkImage::MakeFromEncoded(src->encodeToData(fFormat, fQuality)) in onDraw()
|
D | image.cpp | 248 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec() 423 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
|
D | image_shader.cpp | 85 sk_sp<SkData> encoded = src->encodeToData(SkEncodedImageFormat::kPNG, 100); in make_encode_gen()
|
/external/skqp/gm/ |
D | image_shader.cpp | 60 sk_sp<SkData> encoded = src->encodeToData(SkEncodedImageFormat::kPNG, 100); in make_encode_gen()
|
D | image.cpp | 218 return SkImage::MakeFromEncoded(image->encodeToData()); in make_codec() 385 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
|
/external/skia/include/core/ |
D | SkImage.h | 1008 sk_sp<SkData> encodeToData(SkEncodedImageFormat encodedImageFormat, int quality) const; 1021 sk_sp<SkData> encodeToData() const;
|
/external/skqp/modules/skottie/src/ |
D | SkottieTool.cpp | 86 auto png_data = fSurface->makeImageSnapshot()->encodeToData(); in saveFrame()
|
/external/skia/src/image/ |
D | SkImage.cpp | 153 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/ |
D | SkWriteBuffer.cpp | 152 data = image->encodeToData(); in writeImage()
|
/external/skia/src/core/ |
D | SkWriteBuffer.cpp | 166 data = image->encodeToData(); in writeImage()
|
/external/skqp/docs/ |
D | SkImage_Reference.bmh | 243 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/ |
D | SerialProcsTest.cpp | 36 [](SkImage* img, void* ctx) { return img->encodeToData(); }, in DEF_TEST()
|
/external/skia/tests/ |
D | SerialProcsTest.cpp | 35 [](SkImage* img, void* ctx) { return img->encodeToData(); }, in DEF_TEST()
|