niepce r12 - in trunk: . src/ncr



Author: hub
Date: Thu Jan 29 01:01:10 2009
New Revision: 12
URL: http://svn.gnome.org/viewvc/niepce?rev=12&view=rev

Log:
geglmm 0.0.22

Modified:
   trunk/configure.ac
   trunk/src/ncr/image.cpp

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Thu Jan 29 01:01:10 2009
@@ -26,8 +26,8 @@
 LIBGOOCANVASMM_VERSION=0.6.0
 EXEMPI_VERSION=2.0.0
 SQLITE_VERSION=3.0
-GEGL_VERSION=0.0.20
-GEGLMM_VERSION=0.0.17.1
+GEGL_VERSION=0.0.22
+GEGLMM_VERSION=0.0.22
 LIBOPENRAW_VERSION=0.0.5
 dnl need at least 2.5.0 because of xmlTextReader
 LIBXML2_VERSION=2.5.0

Modified: trunk/src/ncr/image.cpp
==============================================================================
--- trunk/src/ncr/image.cpp	(original)
+++ trunk/src/ncr/image.cpp	Thu Jan 29 01:01:10 2009
@@ -69,7 +69,7 @@
     priv->m_node->set("format", babl_format("RGB u16"));
 
     if(!is_raw) {
-        load_file = priv->m_node->new_child("operation", "load");
+        load_file = priv->m_node->new_child("operation", "gegl:load");
         load_file->set("path", p.string());
         priv->m_rgb = load_file;
     }
@@ -78,16 +78,16 @@
         or_get_extract_rawdata(p.string().c_str(), 0, &rawdata);
         Glib::RefPtr<Gegl::Buffer> buffer = ncr::load_rawdata(rawdata);
         // @todo can return a NULL buffer if load failed. Deal with that.
-        load_file = priv->m_node->new_child("operation", "load-buffer");
+        load_file = priv->m_node->new_child("operation", "gegl:load-buffer");
         load_file->set("buffer", buffer);
         or_cfa_pattern pattern = or_rawdata_get_cfa_pattern(rawdata);
         or_rawdata_release(rawdata);
 
         Glib::RefPtr<Gegl::Node> stretch = priv->m_node->new_child(
-            "operation", "stretch-contrast");
+            "operation", "gegl:stretch-contrast");
         
         Glib::RefPtr<Gegl::Node> demosaic = priv->m_node->new_child(
-            "operation", "demosaic-bimedian");
+            "operation", "gegl:demosaic-bimedian");
         // @todo refactor somewhere.
         int npattern = 0;
         switch(pattern) {
@@ -147,18 +147,18 @@
     Glib::RefPtr<Gegl::Node> rotate;
     if(flip) {
         // @todo find a test case.
-        rotate =  priv->m_node->new_child("operation", "reflect");
+        rotate =  priv->m_node->new_child("operation", "gegl:reflect");
         rotate->set("x", -1.0);
         current = priv->m_rgb->link(rotate);
     }
     else {
         current = priv->m_rgb;
     }
-    rotate = priv->m_node->new_child("operation", "rotate");
+    rotate = priv->m_node->new_child("operation", "gegl:rotate");
     rotate->set("degrees", degrees);
     current = current->link(rotate);
 
-    priv->m_scale = priv->m_node->new_child("operation", "scale");
+    priv->m_scale = priv->m_node->new_child("operation", "gegl:scale");
     set_scale(0.25);
     current->link(priv->m_scale);
     priv->m_output = priv->m_scale;



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