--- a/src/sampler.cc Sun Apr 27 19:56:23 2008 +0200
+++ b/src/sampler.cc Sun Apr 27 22:55:17 2008 +0200
@@ -178,9 +178,9 @@
else if (phase == 2)
{
/* grid oversampling */
- static const int gridsamples[] = {1,5,9,16};
- static const Float osa5x[] = {0.0, -0.4, +0.4, +0.4, -0.4};
- static const Float osa5y[] = {0.0, -0.4, -0.4, +0.4, +0.4};
+ static const int gridsamples[] = {1,4,9,16};
+ static const Float osa4x[] = {-0.25, +0.25, +0.25, -0.25};
+ static const Float osa4y[] = {-0.25, -0.25, +0.25, +0.25};
static const Float osa9x[] = {-0.34, 0.00, +0.34,
-0.34, 0.00, +0.34, -0.34, 0.00, +0.34};
static const Float osa9y[] = {-0.34, -0.34, -0.34,
@@ -191,8 +191,8 @@
static const Float osa16y[] = {-0.375, -0.375, -0.375, -0.375,
-0.125, -0.125, -0.125, -0.125, +0.125, +0.125, +0.125, +0.125,
+0.375, +0.375, +0.375, +0.375};
- static const Float *osaSx[] = {NULL, osa5x, osa9x, osa16x};
- static const Float *osaSy[] = {NULL, osa5y, osa9y, osa16y};
+ static const Float *osaSx[] = {NULL, osa4x, osa9x, osa16x};
+ static const Float *osaSy[] = {NULL, osa4y, osa9y, osa16y};
const int samples = gridsamples[oversample];
const Float *osax = osaSx[oversample];
const Float *osay = osaSy[oversample];