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