Searched refs:EncodeImageToData (Results 1 – 7 of 7) sorted by relevance
/external/skia/gm/ |
D | encode.cpp | 33 … sk_sp<SkData> pngData(sk_tool_utils::EncodeImageToData(orig, SkEncodedImageFormat::kPNG, 100)); in onDraw() 34 … sk_sp<SkData> jpegData(sk_tool_utils::EncodeImageToData(orig, SkEncodedImageFormat::kJPEG, 100)); in onDraw()
|
D | image.cpp | 338 sk_tool_utils::EncodeImageToData(bmp, SkEncodedImageFormat::kPNG, 100)); in __anond5b0893e0402() 344 sk_tool_utils::EncodeImageToData(bmp, SkEncodedImageFormat::kJPEG, 100)); in __anond5b0893e0502()
|
/external/skia/tools/ |
D | sk_tool_utils.h | 237 inline sk_sp<SkData> EncodeImageToData(const T& src, SkEncodedImageFormat f, int q) { in EncodeImageToData() function 250 return EncodeImageToData(pmap, SkEncodedImageFormat::kPNG, 100).release(); in MakePixelSerializer()
|
D | colorspaceinfo.cpp | 412 sk_sp<SkData> out = sk_tool_utils::EncodeImageToData(fBitmap, SkEncodedImageFormat::kPNG, in save() 643 sk_sp<SkData> out = sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, in main()
|
/external/skia/tests/ |
D | PDFDocumentTest.cpp | 124 return sk_tool_utils::EncodeImageToData(pixmap, SkEncodedImageFormat::kJPEG, 85).release(); in onEncode()
|
D | CodecTest.cpp | 1059 sk_sp<SkData>(sk_tool_utils::EncodeImageToData(bm1, SkEncodedImageFormat::kPNG, 100)); in check_round_trip()
|
D | ImageTest.cpp | 149 sk_sp<SkData> src(sk_tool_utils::EncodeImageToData(bitmap, SkEncodedImageFormat::kPNG, 100)); in create_codec_image()
|