gamma.h
Go to the documentation of this file.
#ifndef __GAMMA_H__
#define __GAMMA_H__
int gp_gamma_fill_table (unsigned char *table, double g);
int gp_gamma_correct_single (unsigned char *table, unsigned char *data,
unsigned int data_size);
#endif /* __GAMMA_H__ */
gp_gamma_correct_single
int gp_gamma_correct_single(unsigned char *table, unsigned char *data, unsigned int data_size)
Gamma correction.
Definition: gamma.c:61
gp_gamma_fill_table
int gp_gamma_fill_table(unsigned char *table, double g)
Initialize a Gamma conversion table.
Definition: gamma.c:78