libgphoto2 photo camera library (libgphoto2) API  2.5.10.1
gamma.h
Go to the documentation of this file.
1 
24 #ifndef __GAMMA_H__
25 #define __GAMMA_H__
26 
27 int gp_gamma_fill_table (unsigned char *table, double g);
28 int gp_gamma_correct_single (unsigned char *table, unsigned char *data,
29  unsigned int data_size);
30 
31 #endif /* __GAMMA_H__ */
int gp_gamma_correct_single(unsigned char *table, unsigned char *data, unsigned int data_size)
Gamma correction.
Definition: gamma.c:61
int gp_gamma_fill_table(unsigned char *table, double g)
Initialize a Gamma conversion table.
Definition: gamma.c:78