Home
last modified time | relevance | path

Searched refs:SkEncodeImage (Results 1 – 19 of 19) 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/src/images/
DSkImageEncoder.cpp32 bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q) { in SkEncodeImage() function
34 return src.peekPixels(&pixmap) && SkEncodeImage(dst, pixmap, f, q); in SkEncodeImage()
37 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
107 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
/external/skia/include/core/
DSkImageEncoder.h41 SK_API bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
47 SK_API bool SkEncodeImage(SkWStream* dst, const SkBitmap& src, SkEncodedImageFormat f, int q);
/external/skqp/src/images/
DSkImageEncoder.cpp31 bool SkEncodeImage(SkWStream* dst, const SkPixmap& src, in SkEncodeImage() function
82 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
/external/skqp/tests/
DCodecRecommendedTypeTest.cpp33 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/skia/tests/
DCodecRecommendedTypeTest.cpp33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST()
DCodecPriv.h42 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in write_bm()
/external/skqp/src/gpu/text/
DGrAtlasManager.cpp134 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
/external/skqp/tools/
Dsk_tool_utils.h233 return file.isValid() && SkEncodeImage(&file, src, f, q); in EncodeImageToFile()
/external/skia/tools/
DToolUtils.h254 return file.isValid() && SkEncodeImage(&file, src, f, q); in EncodeImageToFile()
/external/skia/src/gpu/text/
DGrAtlasManager.cpp260 if (!SkEncodeImage(&file, bm, SkEncodedImageFormat::kPNG, 100)) { in save_pixels()
/external/skqp/src/svg/
DSkSVGDevice.cpp776 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
/external/skia/src/svg/
DSkSVGDevice.cpp924 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
/external/skqp/bench/
Dnanobench.cpp315 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
/external/skia/bench/
Dnanobench.cpp375 if (!SkEncodeImage(&stream, bmp, SkEncodedImageFormat::kPNG, 100)) { in write_canvas_png()
/external/skia/src/xps/
DSkXPSDevice.cpp632 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()
/external/skqp/src/xps/
DSkXPSDevice.cpp633 if (!SkEncodeImage(&write, bitmap, SkEncodedImageFormat::kPNG, 100)) { in createXpsImageBrush()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp134 if (!SkEncodeImage(&file, bits, SkEncodedImageFormat::kPNG, 100)) { in ~TestCanvas()