Lines Matching full:distortion
10 // WebPPicture tools for measuring distortion
29 // local-min distortion
116 // Distortion
134 int type, float* distortion, float* result) {
141 result == NULL || distortion == NULL) {
164 *distortion = (float)metric(src, width, ref, width, width, height);
167 *result = (type == 1) ? (float)GetLogSSIM(*distortion, (double)width * height)
168 : (float)GetPSNR(*distortion, (double)width * height);
191 // We always measure distortion in ARGB space.
195 float distortion;
200 w, h, 4, type, &distortion, results + c)) {
203 total_distortion += distortion;
221 int type, float* distortion, float* result) {
230 if (distortion == NULL || result == NULL) return 0;
231 *distortion = 0.f;