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()
448 bool Bitmap::compress(JavaCompressFormat format, int32_t quality, SkWStream* stream) { in compress()454 bool Bitmap::compress(const SkBitmap& bitmap, JavaCompressFormat format, in compress()466 case JavaCompressFormat::Jpeg: in compress()469 case JavaCompressFormat::Png: in compress()472 case JavaCompressFormat::Webp: in compress()475 case JavaCompressFormat::WebpLossy: in compress()476 case JavaCompressFormat::WebpLossless: { in compress()479 options.fCompression = format == JavaCompressFormat::WebpLossy ? in compress()
156 enum class JavaCompressFormat { enum164 bool compress(JavaCompressFormat format, int32_t quality, SkWStream* stream);166 static bool compress(const SkBitmap& bitmap, JavaCompressFormat format,
480 auto fm = static_cast<Bitmap::JavaCompressFormat>(format); in Bitmap_compress()