GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
A correction tables for all pixel channels. More...
#include <gp_gamma_correction.h>
Data Fields | |
gp_pixel_type | pixel_type |
Pixel type the table could be used for. | |
unsigned int | ref_count |
Reference counter. | |
gp_gamma_table * | lin [4] |
Tables to linearize channel values. | |
gp_gamma_table * | enc [4] |
Tables to encode the values back. | |
A correction tables for all pixel channels.
Contains pointers to lookup tables for each pixel channel for linearization and inverse transformation. Linearization produces a values with a few more bits, e.g. for 8bit value you end up with at least 10bits to correctly encode the linearized values.
Definition at line 153 of file gp_gamma_correction.h.