[gimp] Revert "plug-ins: add support for half-floating point ICC profile conversions to lcms"



commit 1e6d984c66bd99929c6c2c85a86c8eca36e29edb
Author: Michael Natterer <mitch gimp org>
Date:   Mon Feb 25 23:25:27 2013 +0100

    Revert "plug-ins: add support for half-floating point ICC profile conversions to lcms"
    
    This reverts commit fd5a017633247243ba746ef3f4e56e7c3e48808e.
    
    We can't depend on lcms 2.4 yet.

 plug-ins/common/lcms.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/plug-ins/common/lcms.c b/plug-ins/common/lcms.c
index d0f8d22..ae689d5 100644
--- a/plug-ins/common/lcms.c
+++ b/plug-ins/common/lcms.c
@@ -1019,19 +1019,6 @@ lcms_image_transform_rgb (gint32                    image,
               iter_format = babl_format ("R'G'B' u16");
             }
         }
-      else if (type == babl_type ("half")) /* 16-bit floating point (half) */
-        {
-          if (has_alpha)
-            {
-              lcms_format = TYPE_RGBA_HALF_FLT;
-              iter_format = babl_format ("R'G'B'A half");
-            }
-          else
-            {
-              lcms_format = TYPE_RGB_HALF_FLT;
-              iter_format = babl_format ("R'G'B' half");
-            }
-        }
       else if (type == babl_type ("float"))
         {
           if (has_alpha)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]