Commit 60c2b8d5 authored by Øyvind Kolås's avatar Øyvind Kolås

added comment about section that can be moved from the sampler function to

* 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.

svn path=/trunk/; revision=2490
parent efb9d100
2008-06-20 Øyvind Kolås <pippin@gimp.org>
* 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.
2008-06-20 Øyvind Kolås <pippin@gimp.org>
* gegl/buffer/gegl-sampler.[ch]: (gegl_sampler_get_ptr): added a
......
......@@ -155,6 +155,9 @@ gegl_sampler_lanczos_get (GeglSampler *self,
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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment