#include #include #include #include #include #include "../floatimg.h" /* -------------------------------------------------------------------- */ int fimg_lissage_2x2(FloatImg *img) { int x, y, offset; #if DEBUG_LEVEL fprintf(stderr, ">>> %s ( %p )\n", __func__, img); fprintf(stderr," type %s size %dx%d\n", img->type, img->width, img->height); #endif for (y=1; yheight; y++) { for (x=1; xwidth; x++) { offset = x + (y * img->width); } } return -1; } /* -------------------------------------------------------------------- */