Lines Matching refs:quality
38 SkEncodedImageFormat format, int quality) { in SkEncodeImage() argument
40 (void)quality; in SkEncodeImage()
43 return SkEncodeImageWithWIC(dst, src, format, quality); in SkEncodeImage()
45 return SkEncodeImageWithNDK(dst, src, format, quality); in SkEncodeImage()
50 opts.fQuality = quality; in SkEncodeImage()
59 if (quality == 100) { in SkEncodeImage()
76 opts.fQuality = quality; in SkEncodeImage()
105 sk_sp<SkData> SkEncodePixmap(const SkPixmap& src, SkEncodedImageFormat format, int quality) { in SkEncodePixmap() argument
107 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
110 sk_sp<SkData> SkEncodeBitmap(const SkBitmap& src, SkEncodedImageFormat format, int quality) { in SkEncodeBitmap() argument
112 return src.peekPixels(&pixmap) ? SkEncodePixmap(pixmap, format, quality) : nullptr; in SkEncodeBitmap()