Commit e3604a7
authored
avifrgbtoyuvtest: Do not compute diff_sum
The sum of pixel sample differences is not a good measure of distortion
because it does not satisfy all intuitive properties of the length of a
vector (the mathematical term is the norm of a vector). Do not compute
diff_sum.
Rename max_abs_average_diff to max_average_abs_diff and use it as the
maximum of the average absolute value of pixel sample difference.1 parent 46813fe commit e3604a7
1 file changed
+58
-66
lines changed
0 commit comments