Files
weston/tests
Pekka Paalanen 9026293bff tests: change rgb_diff_stat printing
Seems it will be common to print all four min/max/avg sets of errors, so
move the printing code into a shared place.

While 0.0-1.0 is the natural range for color values, people are often
accustomed to working with 8-bit or even 10-bit pixel values. An error
of +/- 1 in 8-bit is more intuitive than +/- 0.004 in floating-point.
Hence 'scaling_bits' is added so the caller can determine the value
scaling. This will scale both the reported error numbers, and the
recorded error positions (rgb-tuples), so they are all comparable.

I'm happy to get rid of those two macros as well.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-06-30 09:08:32 +00:00
..
2022-02-12 23:19:02 -05:00
2021-06-16 14:41:08 +00:00
2022-06-03 10:22:25 +00:00
2022-06-03 10:22:25 +00:00
2022-05-31 12:26:09 +00:00
2021-06-15 07:43:00 +00:00
2021-07-23 17:26:02 +01:00
2022-06-29 14:33:21 +01:00
2017-01-23 14:12:06 +02:00
2021-06-28 14:21:27 +03:00