[babl] Disable gegl-lies conversions
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] Disable gegl-lies conversions
- Date: Sat, 6 Apr 2013 03:58:42 +0000 (UTC)
commit 6c4a8181666f08f9dfa92954a1893ba3fd6a579d
Author: Daniel Sabo <DanielSabo gmail com>
Date: Fri Apr 5 20:47:56 2013 -0700
Disable gegl-lies conversions
They lazy table generation these conversions use causes
babl to overestimate their cost while also overestimating
their accuracy.
I used "#if 0" rather than disabling the library because I
want to ensure the conversion gets removed without people
needing to do rm lib/babl-0.1/*
extensions/gggl-lies.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/gggl-lies.c b/extensions/gggl-lies.c
index 47a973b..058ec8e 100644
--- a/extensions/gggl-lies.c
+++ b/extensions/gggl-lies.c
@@ -1564,6 +1564,7 @@ int init (void);
int
init (void)
{
+#if 0
const Babl *rgbaF = babl_format_new (
babl_model ("RGBA"),
babl_type ("float"),
@@ -1758,6 +1759,7 @@ init (void)
o (rgb8, rgbA8);
o (rgba8, rgb8);
o (rgbaF, rgbA8);
+#endif
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]