the great code shaking party
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
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é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;
|
||||
}
|
||||
/*::------------------------------------------------------------------::*/
|
||||
|
||||
/*::------------------------------------------------------------------::*/
|
||||
Reference in New Issue
Block a user