Searched refs:SkEncodeImage (Results 1 – 9 of 9) sorted by relevance
/external/skia/include/core/ |
D | SkImageEncoder.h | 34 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, 39 inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage() function 41 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
|
/external/skia/tools/ |
D | sk_tool_utils.h | 233 return file.isValid() && SkEncodeImage(&file, src, f, q); in EncodeImageToFile() 239 return SkEncodeImage(&buf, src , f, q) ? buf.detachAsData() : nullptr; in EncodeImageToData()
|
/external/skia/src/images/ |
D | SkImageEncoder.cpp | 31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
|
/external/skia/src/image/ |
D | SkImage.cpp | 102 return SkEncodeImage(&buf, bm, type, quality) ? buf.detachAsData() : nullptr; in encodeToData() 122 return SkEncodeImage(&buf, pmap, SkEncodedImageFormat::kPNG, 100) in encodeToData()
|
/external/skia/tests/ |
D | CodecAnimTest.cpp | 30 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
|
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.cpp | 172 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 673 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
|
/external/skia/bench/ |
D | nanobench.cpp | 311 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 631 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()
|