Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkImageEncoder.h34 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/
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/images/
DSkImageEncoder.cpp31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
/external/skia/src/image/
DSkImage.cpp102 return SkEncodeImage(&buf, bm, type, quality) ? buf.detachAsData() : nullptr; in encodeToData()
122 return SkEncodeImage(&buf, pmap, SkEncodedImageFormat::kPNG, 100) in encodeToData()
/external/skia/tests/
DCodecAnimTest.cpp30 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
/external/skia/src/gpu/text/
DGrAtlasGlyphCache.cpp172 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.cpp311 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()