[gegl] ops: add hashes of reference composition for some ops



commit 6063f01c96385bf1532e21c479b3a84b767448a2
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Mar 9 14:53:03 2017 +0100

    ops: add hashes of reference composition for some ops
    
    This is start of work integrate testing with the automatic operation gallery,
    making it less neccesary to deal with automake and GEGL XML for having
    regression tests in place. Using nice and short MD5 hashes since we're using it
    as a checksum not to cryptographicly verify code or something we need to trust.

 operations/common/c2g.c                 |    1 +
 operations/common/cubism.c              |    1 +
 operations/common/gaussian-blur.c       |    5 +++--
 operations/common/noise-reduction.c     |    1 +
 operations/common/noise-slur.c          |    1 +
 operations/common/panorama-projection.c |    1 +
 operations/common/polar-coordinates.c   |    1 +
 7 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/c2g.c b/operations/common/c2g.c
index 73b647f..ca8787c 100644
--- a/operations/common/c2g.c
+++ b/operations/common/c2g.c
@@ -392,6 +392,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "categories",  "grayscale:color",
     "title",       "Color to Grayscale",
     "reference-composition", composition,
+    "reference-hash", "53ed68bbe4922488e335b360336b5a31",
     "description",
     _("Color to grayscale conversion, uses envelopes formed with the STRESS approach "
       "to perform local color-difference preserving grayscale generation."),
diff --git a/operations/common/cubism.c b/operations/common/cubism.c
index 6bfa8a8..007f0a2 100644
--- a/operations/common/cubism.c
+++ b/operations/common/cubism.c
@@ -613,6 +613,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "title",       _("Cubism"),
     "name",        "gegl:cubism",
     "categories",  "artistic:scramble",
+    "reference-hash", "8f08b416faae26a54751628aaa2a0470",
     "license",     "GPL3+",
     "description", _("Convert the image into randomly rotated square blobs, somehow resembling a cubist 
painting style"),
     NULL);
diff --git a/operations/common/gaussian-blur.c b/operations/common/gaussian-blur.c
index 5f459c4..73aa02c 100644
--- a/operations/common/gaussian-blur.c
+++ b/operations/common/gaussian-blur.c
@@ -114,8 +114,9 @@ gegl_op_class_init (GeglOpClass *klass)
   operation_class->threaded = FALSE;
 
   gegl_operation_class_set_keys (operation_class,
-    "name",        "gegl:gaussian-blur",
-    "categories",  "blur",
+    "name",           "gegl:gaussian-blur",
+    "categories",     "blur",
+    "reference-hash", "f7fb46b81a80ac64186327e8fe1a4804",
     "description", _("Performs an averaging of neighboring pixels with the "
                      "normal distribution as weighting"),
                                  NULL);
diff --git a/operations/common/noise-reduction.c b/operations/common/noise-reduction.c
index a501fb1..1d8c976 100644
--- a/operations/common/noise-reduction.c
+++ b/operations/common/noise-reduction.c
@@ -452,6 +452,7 @@ gegl_op_class_init (GeglOpClass *klass)
   gegl_operation_class_set_keys (operation_class,
     "title",       _("Noise Reduction"),
     "name"       , "gegl:noise-reduction",
+    "reference-hash", "881bcb59a6ddba1cb711edd24116db41",
     "categories" , "enhance:noise-reduction",
     "description", _("Anisotropic smoothing operation"),
     NULL);
diff --git a/operations/common/noise-slur.c b/operations/common/noise-slur.c
index b45fe7a..9495c03 100644
--- a/operations/common/noise-slur.c
+++ b/operations/common/noise-slur.c
@@ -153,6 +153,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "name",        "gegl:noise-slur",
     "title",       _("Noise Slur"),
     "categories",  "noise",
+    "reference-hash", "513f96bea7ec5268e571e5587e212533",
     "license",     "GPL3+",
     "description", _("Randomly slide some pixels downward (similar to melting)"),
     NULL);
diff --git a/operations/common/panorama-projection.c b/operations/common/panorama-projection.c
index 4cf06dd..e75a903 100644
--- a/operations/common/panorama-projection.c
+++ b/operations/common/panorama-projection.c
@@ -538,6 +538,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "name",                  "gegl:panorama-projection",
     "title",                 _("Panorama Projection"),
     "reference-composition", composition,
+    "reference-hash",        "216b28fc8471fb8a741d9b42ac328d37",
     "position-dependent",    "true",
     "categories" ,           "map",
     "description", _("Perform an equilinear/gnomonic or little planet/stereographic projection of an 
equirectangular input image."),
diff --git a/operations/common/polar-coordinates.c b/operations/common/polar-coordinates.c
index f6fdaa8..3cb9d31 100644
--- a/operations/common/polar-coordinates.c
+++ b/operations/common/polar-coordinates.c
@@ -426,6 +426,7 @@ gegl_op_class_init (GeglOpClass *klass)
     "title",              _("Polar Coordinates"),
     "categories",         "transform:map",
     "position-dependent", "true",
+    "reference-hash",     "88178136ea77391e8e74ceadb35f79f2",
     "license",            "GPL3+",
     "description", _("Convert image to or from polar coordinates"),
     NULL);


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