[gegl] unpremultiply: move from workshop to common



commit 929fba9946f7b08dfcfa56287049feedac82cc9b
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Mar 29 23:22:57 2017 +0200

    unpremultiply: move from workshop to common

 operations/common/Makefile.am                      |    1 +
 .../unpremul.c => common/unpremultiply.c}          |    8 ++++----
 operations/workshop/Makefile.am                    |    1 -
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/operations/common/Makefile.am b/operations/common/Makefile.am
index 1a661b6..74e42ec 100644
--- a/operations/common/Makefile.am
+++ b/operations/common/Makefile.am
@@ -147,6 +147,7 @@ gegl_common_la_SOURCES =\
        tile-paper.c \
        tile-seamless.c \
        unsharp-mask.c \
+       unpremultiply.c \
        value-invert.c \
        value-propagate.c \
        video-degradation.c \
diff --git a/operations/workshop/unpremul.c b/operations/common/unpremultiply.c
similarity index 91%
rename from operations/workshop/unpremul.c
rename to operations/common/unpremultiply.c
index a242b9a..7170982 100644
--- a/operations/workshop/unpremul.c
+++ b/operations/common/unpremultiply.c
@@ -25,8 +25,8 @@
 #else
 
 #define GEGL_OP_POINT_FILTER
-#define GEGL_OP_NAME     unpremul
-#define GEGL_OP_C_SOURCE unpremul.c
+#define GEGL_OP_NAME     unpremultiply
+#define GEGL_OP_C_SOURCE unpremultiply.c
 #define GEGLV4
 
 #include "gegl-op.h"
@@ -73,9 +73,9 @@ gegl_op_class_init (GeglOpClass *klass)
   point_filter_class->process = process;
 
   gegl_operation_class_set_keys (operation_class,
-    "name"        , "gegl:unpremul",
+    "name"        , "gegl:unpremultiply",
     "categories"  , "color",
-    "description" , "Unpremultiplies a buffer that contains pre-multiplied colors (but is marked as not 
having it)",
+    "description" , "Unpremultiplies a buffer that contains pre-multiplied colors (but according to the babl 
format is not.)",
     NULL);
 }
 
diff --git a/operations/workshop/Makefile.am b/operations/workshop/Makefile.am
index 75f2dd1..1f1d140 100644
--- a/operations/workshop/Makefile.am
+++ b/operations/workshop/Makefile.am
@@ -28,4 +28,3 @@ op_LTLIBRARIES =    \
        segment-kmeans.la \
        shadows-highlights.la \
        shadows-highlights-correction.la \
-       unpremul.la 


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