Lines Matching defs:WebPConfig
31 typedef struct WebPConfig WebPConfig; typedef
91 struct WebPConfig { struct
92 int lossless; // Lossless encoding (0=lossy(default), 1=lossless).
93 float quality; // between 0 (smallest file) and 100 (biggest)
94 int method; // quality/speed trade-off (0=fast, 6=slower-better)
96 WebPImageHint image_hint; // Hint for image type (lossless only for now).
99 int target_size; // if non-zero, set the desired target size in bytes.
101 float target_PSNR; // if non-zero, specifies the minimal distortion to
103 int segments; // maximum number of segments to use, in [1..4]
104 int sns_strength; // Spatial Noise Shaping. 0=off, 100=maximum.
105 int filter_strength; // range: [0 = off .. 100 = strongest]
106 int filter_sharpness; // range: [0 = off .. 7 = least sharp]
107 int filter_type; // filtering type: 0 = simple, 1 = strong (only used
109 int autofilter; // Auto adjust filter's strength [0 = off, 1 = on]
110 int alpha_compression; // Algorithm for encoding the alpha plane (0 = none,
112 int alpha_filtering; // Predictive filtering method for alpha plane.
136 // Enumerate some predefined settings for WebPConfig, depending on the type argument