MCPcopy Index your code
hub / github.com/google/brotli / setQuality

Method setQuality

java/org/brotli/wrapper/enc/Encoder.java:73–79  ·  view source on GitHub ↗

Setup encoder quality. @param quality compression quality, or -1 for default

(int quality)

Source from the content-addressed store, hash-verified

71 * @param quality compression quality, or -1 for default
72 */
73 public Parameters setQuality(int quality) {
74 if (quality < -1 || quality > 11) {
75 throw new IllegalArgumentException("quality should be in range [0, 11], or -1");
76 }
77 this.quality = quality;
78 return this;
79 }
80
81 /**
82 * Setup encoder window size.

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 2

runMethod · 0.64
runMethod · 0.64