Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_gamma_correct_single ( unsigned char *  table,
unsigned char *  data,
unsigned int  size 

Gamma correction.

Corrects size pixels within the table with a given Gamma correction table.

table the gamma correction table as generated by gp_gamma_fill_table()
data the data do process, both input and output
size in number of pixels (RGB byte pairs)
a gphoto error code

Definition at line 61 of file gamma.c.

      return (gp_gamma_correct_triple (table, table, table, data, size));

Generated by  Doxygen 1.6.0   Back to index