libtthimage/gamma.c

37 lines
709 B
C
Raw Normal View History

2022-06-26 20:06:35 +11:00
/*
GAMMA CORRECTION
----------------
*/
#include <stdio.h>
#include <math.h>
#include "tthimage.h"
/*::------------------------------------------------------------------::*/
/*
* 4 Oct 2003: il serait _vraiment_ temps que je finisse de
* coder cette fonction. fouillage de documentation
* en vue pour la soir<EFBFBD>e...
*/
int
Image_gamma_calcul(double coef, int table[256])
{
int foo;
double a;
#if DEBUG_LEVEL
fprintf(stderr, "%s: coef = %g\n", __func__, coef);
#endif
for (foo=0; foo<256; foo++)
{
a = (double)foo;
}
return FULL_NUCKED;
}
/*::------------------------------------------------------------------::*/
/*::------------------------------------------------------------------::*/