[gegl] lens-distortion: Add missing struct



commit 180348f30f41506ed43674e32699295d17955315
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Aug 30 20:36:11 2011 +0530

    lens-distortion: Add missing struct

 operations/workshop/lens-distortion.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/operations/workshop/lens-distortion.c b/operations/workshop/lens-distortion.c
index bd2f1dd..9d897a8 100644
--- a/operations/workshop/lens-distortion.c
+++ b/operations/workshop/lens-distortion.c
@@ -51,6 +51,17 @@ gegl_chant_double (y_shift, _("Y shift:"), -100.0, 100.0, 0.0,
 #include "gegl-chant.h"
 #include <math.h>
 
+typedef struct
+{
+  gdouble centre_x;
+  gdouble centre_y;
+  gdouble mult_sq;
+  gdouble mult_qd;
+  gdouble rescale;
+  gdouble brighten;
+  gdouble norm;
+} OldLensDistort;
+
 static void
 lens_setup_calc (GeglChantO     *o,
                  GeglRectangle   boundary,



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