We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6ad714 commit 7355e05Copy full SHA for 7355e05
src/jmetrics.c
@@ -92,7 +92,7 @@ float metric_mpe(const unsigned char *original, const unsigned char *compressed,
92
{
93
for (z = 0; z < components; z++)
94
95
- delta = abs((float)original[k] - (float)compressed[k]);
+ delta = abs(original[k] - compressed[k]);
96
pmel += delta;
97
k++;
98
}
0 commit comments