Lines Matching refs:distortion
135 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument
142 result == NULL || distortion == NULL) { in WebPPlaneDistortion()
165 *distortion = (float)metric(src, width, ref, width, width, height); in WebPPlaneDistortion()
168 *result = (type == 1) ? (float)GetLogSSIM(*distortion, (double)width * height) in WebPPlaneDistortion()
169 : (float)GetPSNR(*distortion, (double)width * height); in WebPPlaneDistortion()
202 float distortion; in WebPPictureDistortion() local
209 w, h, 4, type, &distortion, results + c)) { in WebPPictureDistortion()
212 total_distortion += distortion; in WebPPictureDistortion()
232 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument
241 if (distortion == NULL || result == NULL) return 0; in WebPPlaneDistortion()
242 *distortion = 0.f; in WebPPlaneDistortion()