libgphoto2 photo camera library (libgphoto2) API: libgphoto2/gamma.h Source File

libgphoto2 photo camera library (libgphoto2) API 2.5.34

Loading...
Searching...
No Matches
gamma.h
Go to the documentation of this file.
1
23
24#ifndef LIBGPHOTO2_GAMMA_H
25#define LIBGPHOTO2_GAMMA_H
26
27int gp_gamma_fill_table (unsigned char *table, double g);
28int gp_gamma_correct_single (unsigned char *table, unsigned char *data,
29 unsigned int data_size);
30
31#endif /* !defined(LIBGPHOTO2_GAMMA_H) */
gp_gamma_fill_table
int gp_gamma_fill_table(unsigned char *table, double g)
Initialize a Gamma conversion table.
Definition gamma.c:78
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