Home
last modified time | relevance | path

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

/external/skqp/include/core/
DSkImageEncoder.h35 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
41 inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage() function
43 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
/external/skia/include/core/
DSkImageEncoder.h35 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
41 inline bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage() function
43 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
/external/skqp/src/images/
DSkImageEncoder.cpp31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
85 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
/external/skia/src/images/
DSkImageEncoder.cpp31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
85 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
/external/skia/tests/
DCodecRecommendedTypeTest.cpp30 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST()
DCodecPriv.h39 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
/external/skqp/tests/
DCodecRecommendedTypeTest.cpp30 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST()
DCodecPriv.h39 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
/external/skqp/tools/
Dsk_tool_utils.h242 return file.isValid() && SkEncodeImage(&file, src, f, q); in EncodeImageToFile()
248 return SkEncodeImage(&buf, src , f, q) ? buf.detachAsData() : nullptr; in EncodeImageToData()
/external/skia/tools/
Dsk_tool_utils.h237 return file.isValid() && SkEncodeImage(&file, src, f, q); in EncodeImageToFile()
243 return SkEncodeImage(&buf, src , f, q) ? buf.detachAsData() : nullptr; in EncodeImageToData()
/external/skia/src/gpu/text/
DGrAtlasManager.cpp164 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
/external/skqp/src/gpu/text/
DGrAtlasGlyphCache.cpp168 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
/external/skqp/src/svg/
DSkSVGDevice.cpp688 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
/external/skia/src/svg/
DSkSVGDevice.cpp715 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
/external/skia/bench/
Dnanobench.cpp314 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
/external/skqp/bench/
Dnanobench.cpp314 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
/external/skia/src/xps/
DSkXPSDevice.cpp630 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()
/external/skqp/src/xps/
DSkXPSDevice.cpp630 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()