[gegl] transform-core.c: tweaks



commit 8a30763a035694fe8e52cdeec88da8cf69f56085
Author: Nicolas Robidoux <nrobidoux git gnome org>
Date:   Sun Nov 25 12:32:28 2012 -0500

    transform-core.c: tweaks

 operations/transform/transform-core.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/operations/transform/transform-core.c b/operations/transform/transform-core.c
index 95e7475..a4c449f 100644
--- a/operations/transform/transform-core.c
+++ b/operations/transform/transform-core.c
@@ -730,7 +730,13 @@ transform_affine (GeglBuffer  *dest,
    */
   /*
    * Nicolas Robidoux and Massimo Valentini are of the opinion that
-   * fast paths should only be used if necessary.
+   * fast paths should only be used if absolutely necessary.
+   */
+  /*
+   * It is assumed that the affine transformation has been normalized,
+   * so that inverse.coeff[0][2] = inverse.coeff[1][2] = 0 and
+   * inverse.coeff[2][2] = 1 (roughly within
+   * GEGL_TRANSFORM_CORE_EPSILON).
    */
 
   g_object_get (dest, "pixels", &dest_pixels, NULL);



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