[babl] fast-float: tweak lut generation
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] fast-float: tweak lut generation
- Date: Wed, 16 Nov 2016 18:33:28 +0000 (UTC)
commit 2707e591bbe123bb9c5cbe918044af0695706a2f
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Nov 16 17:12:50 2016 +0100
fast-float: tweak lut generation
extensions/fast-float.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/fast-float.c b/extensions/fast-float.c
index 8148de0..9103bc9 100644
--- a/extensions/fast-float.c
+++ b/extensions/fast-float.c
@@ -449,7 +449,7 @@ init (void)
fast_pow = babl_lookup_new (core_lookup, NULL, 0.0, 1.0, 0.0001);
fast_rpow = babl_lookup_new (core_rlookup, NULL, 0.0, 1.0, 0.0001);
- for (f = 0.0; f < 1.0; f+= 0.00001)
+ for (f = 0.0; f < 1.0; f+= 0.000012)
{
a = linear_to_gamma_2_2_lut (f);
a = gamma_2_2_to_linear_lut (f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]