gegl r2401 - in trunk: . operations/common operations/core



Author: ok
Date: Mon Jun  9 20:54:43 2008
New Revision: 2401
URL: http://svn.gnome.org/viewvc/gegl?rev=2401&view=rev

Log:
* operations/common/opacity.c: (process):
* operations/common/threshold.c: (process):
* operations/core/convert-format.c: (process): added 'const' to the
GeglRectangle *roi argument in process().


Modified:
   trunk/ChangeLog
   trunk/operations/common/opacity.c
   trunk/operations/common/threshold.c
   trunk/operations/core/convert-format.c

Modified: trunk/operations/common/opacity.c
==============================================================================
--- trunk/operations/common/opacity.c	(original)
+++ trunk/operations/common/opacity.c	Mon Jun  9 20:54:43 2008
@@ -36,11 +36,12 @@
 }
 
 static gboolean
-process (GeglOperation *op,
-         void          *in_buf,
-         void          *aux_buf,
-         void          *out_buf,
-         glong          n_pixels)
+process (GeglOperation       *op,
+         void                *in_buf,
+         void                *aux_buf,
+         void                *out_buf,
+         const glong          n_pixels,
+         const GeglRectangle *roi)
 {
   gfloat *in = in_buf;
   gfloat *out = out_buf;

Modified: trunk/operations/common/threshold.c
==============================================================================
--- trunk/operations/common/threshold.c	(original)
+++ trunk/operations/common/threshold.c	Mon Jun  9 20:54:43 2008
@@ -35,11 +35,12 @@
 }
 
 static gboolean
-process (GeglOperation *op,
-         void          *in_buf,
-         void          *aux_buf,
-         void          *out_buf,
-         glong          n_pixels)
+process (GeglOperation       *op,
+         void                *in_buf,
+         void                *aux_buf,
+         void                *out_buf,
+         glong                n_pixels,
+         const GeglRectangle *roi)
 {
   gfloat *in = in_buf;
   gfloat *out = out_buf;

Modified: trunk/operations/core/convert-format.c
==============================================================================
--- trunk/operations/core/convert-format.c	(original)
+++ trunk/operations/core/convert-format.c	Mon Jun  9 20:54:43 2008
@@ -45,11 +45,11 @@
 }
 
 static gboolean
-process (GeglOperation *op,
-         void          *in_buf,
-         void          *out_buf,
-         glong          samples,
-         GeglRectangle *roi)
+process (GeglOperation       *op,
+         void                *in_buf,
+         void                *out_buf,
+         glong                samples,
+         const GeglRectangle *roi)
 {
   return TRUE;
 }



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