Searched refs:JavaCompressFormat (Results 1 – 4 of 4) sorted by relevance
211 Bitmap::JavaCompressFormat format; in ABitmap_compress()214 format = Bitmap::JavaCompressFormat::Jpeg; in ABitmap_compress()217 format = Bitmap::JavaCompressFormat::Png; in ABitmap_compress()220 format = Bitmap::JavaCompressFormat::WebpLossy; in ABitmap_compress()223 format = Bitmap::JavaCompressFormat::WebpLossless; in ABitmap_compress()
475 bool Bitmap::compress(JavaCompressFormat format, int32_t quality, SkWStream* stream) { in compress()481 bool Bitmap::compress(const SkBitmap& bitmap, JavaCompressFormat format, in compress()493 case JavaCompressFormat::Jpeg: in compress()496 case JavaCompressFormat::Png: in compress()499 case JavaCompressFormat::Webp: in compress()502 case JavaCompressFormat::WebpLossy: in compress()503 case JavaCompressFormat::WebpLossless: { in compress()506 options.fCompression = format == JavaCompressFormat::WebpLossy ? in compress()
149 enum class JavaCompressFormat { enum157 bool compress(JavaCompressFormat format, int32_t quality, SkWStream* stream);159 static bool compress(const SkBitmap& bitmap, JavaCompressFormat format,
472 auto fm = static_cast<Bitmap::JavaCompressFormat>(format); in Bitmap_compress()