gegl r2358 - in trunk: . operations/common
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2358 - in trunk: . operations/common
- Date: Tue, 27 May 2008 23:27:09 +0000 (UTC)
Author: ok
Date: Tue May 27 23:27:09 2008
New Revision: 2358
URL: http://svn.gnome.org/viewvc/gegl?rev=2358&view=rev
Log:
* operations/common/mblur.c: (process), (gegl_chant_class_init): fixed
initialization of private data.
Modified:
trunk/ChangeLog
trunk/operations/common/mblur.c
Modified: trunk/operations/common/mblur.c
==============================================================================
--- trunk/operations/common/mblur.c (original)
+++ trunk/operations/common/mblur.c Tue May 27 23:27:09 2008
@@ -17,7 +17,7 @@
*/
#ifdef GEGL_CHANT_PROPERTIES
-gegl_chant_double (dampness, "Dampness", 0.0, 1.0, 0.95, "dampening, 0.0 is no dampening 1.0 is no change.")
+gegl_chant_double (dampness, "Dampness", 0.0, 1.0, 0.95, "The value represents the contribution of the past to the new frame.")
#else
@@ -33,9 +33,8 @@
static void
-init (GeglChantO *operation)
+init (GeglChantO *o)
{
- GeglChantO *o = GEGL_CHANT_PROPERTIES (operation);
Priv *priv = (Priv*)o->chant_data;
GeglRectangle extent = {0,0,1024,1024};
@@ -67,6 +66,7 @@
p = (Priv*)o->chant_data;
if (p == NULL)
init (o);
+ p = (Priv*)o->chant_data;
{
GeglBuffer *temp_in;
@@ -134,7 +134,7 @@
operation_class->prepare = prepare;
operation_class->name = "mblur";
- operation_class->categories = "blur:misc";
+ operation_class->categories = "blur:video";
operation_class->description = "Accumulating motion blur";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]