forked from tTh/FloatImg
34 lines
553 B
C
34 lines
553 B
C
/*
|
|
* FloatImg : some dithering experiments
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <math.h>
|
|
|
|
#include "../floatimg.h"
|
|
|
|
extern int verbosity;
|
|
|
|
/* --------------------------------------------------------------------- */
|
|
int fimg_dither_0(FloatImg *psrc, FloatImg *pdst, int flags)
|
|
{
|
|
int x, y;
|
|
|
|
for (y=0; y<psrc->height; y++) {
|
|
|
|
for (x=0; x<psrc->width; x++)
|
|
{
|
|
|
|
/* PLEASE DO SOMETHING HERE */
|
|
|
|
}
|
|
}
|
|
|
|
return -1;
|
|
}
|
|
/* --------------------------------------------------------------------- */
|
|
|