[gegl/samplers] cosmetic
- From: Nicolas Robidoux <nrobidoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/samplers] cosmetic
- Date: Fri, 17 Jun 2011 14:03:20 +0000 (UTC)
commit 53a4ec7a94240701329b68235a26d17ed4d38a7a
Author: Nicolas Robidoux <nicolas robidoux gmail com>
Date: Fri Jun 17 10:03:15 2011 -0400
cosmetic
gegl/buffer/gegl-sampler-lohalo.c | 26 +++-----------------------
1 files changed, 3 insertions(+), 23 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 56e6e93..0caef46 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -1967,30 +1967,10 @@ gegl_sampler_lohalo_get ( GeglSampler* restrict self,
return;
// }
}
- /*
- * At this point, the code does not handle what happens if
- * we need mipmap values to get accuracy.
- */
+ /*
+ * TO DO: Use higher mipmap levels to handle larger ellipses.
+ */
}
-
- /*
- * If major_mag > 2.5, we pull data from higher level
- * mipmap.
- */
-
- /* { */
- /* const gfloat theta = (gfloat) ( 1. / ellipse_f ); */
- /* const gfloat ewa_factor = ( (gfloat) 1. - theta ) / total_weight; */
- /* newval[0] = theta * newval[0] + ewa_factor * ewa_newval[0]; */
- /* newval[1] = theta * newval[1] + ewa_factor * ewa_newval[1]; */
- /* newval[2] = theta * newval[2] + ewa_factor * ewa_newval[2]; */
- /* newval[3] = theta * newval[3] + ewa_factor * ewa_newval[3]; */
- /* } */
- /* } */
- /* /\* */
- /* * Ship out the array of new pixel values: */
- /* *\/ */
- /* babl_process (self->fish, newval, output, 1); */
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]