gegl r1919 - in trunk: . operations/blur



Author: kcozens
Date: Mon Jan 28 01:08:17 2008
New Revision: 1919
URL: http://svn.gnome.org/viewvc/gegl?rev=1919&view=rev

Log:
* operations/blur/box-blur.c (prepare):
* operations/blur/gaussian-blur.c (prepare): Set output buffer format.


Modified:
   trunk/ChangeLog
   trunk/operations/blur/box-blur.c
   trunk/operations/blur/gaussian-blur.c

Modified: trunk/operations/blur/box-blur.c
==============================================================================
--- trunk/operations/blur/box-blur.c	(original)
+++ trunk/operations/blur/box-blur.c	Mon Jan 28 01:08:17 2008
@@ -216,6 +216,9 @@
   op_area->right  =
   op_area->top    =
   op_area->bottom = ceil (o->radius);
+
+  gegl_operation_set_format (operation, "output",
+                             babl_format ("RaGaBaA float"));
 }
 
 static gboolean

Modified: trunk/operations/blur/gaussian-blur.c
==============================================================================
--- trunk/operations/blur/gaussian-blur.c	(original)
+++ trunk/operations/blur/gaussian-blur.c	Mon Jan 28 01:08:17 2008
@@ -399,6 +399,9 @@
   GeglChantO              *o    = GEGL_CHANT_PROPERTIES (operation);
   area->left = area->right = ceil (o->std_dev_x * RADIUS_SCALE);
   area->top = area->bottom = ceil (o->std_dev_y * RADIUS_SCALE);
+
+  gegl_operation_set_format (operation, "output",
+                             babl_format ("RaGaBaA float"));
 }
 
 static gboolean



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