diff options
author | Øyvind Kolås <pippin@gimp.org> | 2022-01-26 03:36:35 +0100 |
---|---|---|
committer | Øyvind Kolås <pippin@gimp.org> | 2022-01-26 06:30:56 +0100 |
commit | ee0a5bb93c15d6ef975b064d65c2e0fbaae22464 (patch) | |
tree | 1f1f519863922e4c93c92e91c72c56dd9025d921 /tools | |
parent | 1773494c339e02b13ce800bcc2dcd7214181e000 (diff) |
babl: add LUT debugging configurable through BABL_LUT_INFO environment variable
It is a number ranging from 0 to 5 if with more information provided at
higher levels.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/babl-benchmark.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/babl-benchmark.c b/tools/babl-benchmark.c index 7329b4f..be3a2ff 100644 --- a/tools/babl-benchmark.c +++ b/tools/babl-benchmark.c @@ -25,7 +25,7 @@ #define random rand #endif -int ITERATIONS = 5; +int ITERATIONS = 4; #define N_PIXELS (1024*1024) // a too small batch makes the test set live // in l2 cache skewing results @@ -80,6 +80,7 @@ test (int set_no) babl_format_with_space("RGBA float", babl_space(space)), \ babl_format_with_space("RaGaBaA float", babl_space(space)), \ babl_format_with_space("R'G'B'A float", babl_space(space)), \ + babl_format_with_space("R'G'B'A float", babl_space(out_space)), \ babl_format_with_space("R'G'B'A u8", babl_space(out_space)) const Babl **formats=NULL; |