Home
last modified time | relevance | path

Searched refs:SkEncodeImage (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/core/
DSkImageEncoder.h31 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
36 inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage() function
39 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
/external/skia/src/ports/
DSkImageEncoder_none.cpp10 bool SkEncodeImage(SkWStream*, const SkPixmap&, SkEncodedImageFormat, int) { in SkEncodeImage() function
/external/skia/src/images/
DSkImageEncoder.cpp10 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
/external/skia/tools/
Dsk_tool_utils.h233 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/image/
DSkImage.cpp105 return SkEncodeImage(&buf, bm, type, quality) ? buf.detachAsData().release() : nullptr; in encode()
126 return SkEncodeImage(&buf, apu.pixmap(), SkEncodedImageFormat::kPNG, 100) in encode()
/external/skia/tests/
DCodecAnimTest.cpp29 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp156 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
/external/skia/src/svg/
DSkSVGDevice.cpp673 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
/external/skia/bench/
Dnanobench.cpp306 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
/external/skia/src/xps/
DSkXPSDevice.cpp631 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()