Lines Matching full:quality
16 int quality) {
17 quality = SkMin32(100, SkMax32(0, quality));
18 return this->onEncode(stream, bm, quality);
22 int quality) {
23 quality = SkMin32(100, SkMax32(0, quality));
25 return this->onEncode(&stream, bm, quality);
28 SkData* SkImageEncoder::encodeData(const SkBitmap& bm, int quality) {
30 quality = SkMin32(100, SkMax32(0, quality));
31 if (this->onEncode(&stream, bm, quality)) {
38 int quality) {
40 return enc.get() && enc.get()->encodeFile(file, bm, quality);
44 int quality) {
46 return enc.get() && enc.get()->encodeStream(stream, bm, quality);
49 SkData* SkImageEncoder::EncodeData(const SkBitmap& bm, Type t, int quality) {
51 return enc.get() ? enc.get()->encodeData(bm, quality) : NULL;