gegl r2490 - in trunk: . gegl/buffer



Author: ok
Date: Fri Jun 20 01:17:26 2008
New Revision: 2490
URL: http://svn.gnome.org/viewvc/gegl?rev=2490&view=rev

Log:
* gegl/buffer/gegl-sampler-lanczos.c: (gegl_sampler_lanczos_get):
added comment about section that can be moved from the sampler
function to prepare to avoid per sampling overhead.


Modified:
   trunk/ChangeLog
   trunk/gegl/buffer/gegl-sampler-lanczos.c

Modified: trunk/gegl/buffer/gegl-sampler-lanczos.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-lanczos.c	(original)
+++ trunk/gegl/buffer/gegl-sampler-lanczos.c	Fri Jun 20 01:17:26 2008
@@ -155,6 +155,9 @@
   gint                     dx,dy;
   gint                     u,v;
 
+  /* FIXME: move the initialization of these arrays into the _prepare function
+   * to speed up actual resampling
+   */
   gfloat                   x_kernel[width2], /* 1-D kernels of Lanczos window coeffs */
                            y_kernel[width2];
 



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