Blender V2.61 - r43446
|
Go to the source code of this file.
Functions | |
void | makeGammaTables (float gamma) |
float | gammaCorrect (float col) |
float | invGammaCorrect (float col) |
Definition in file gammaCorrectionTables.h.
float gammaCorrect | ( | float | col | ) |
Apply gamma correction on col
Definition at line 65 of file gammaCorrectionTables.c.
References abs(), color_domain_table, gamfactor_table, gamma_range_table, i, inv_color_step, pow(), RE_GAMMA_TABLE_SIZE, and valid_gamma.
float invGammaCorrect | ( | float | col | ) |
Apply inverse gamma correction on col
Definition at line 85 of file gammaCorrectionTables.c.
References abs(), color_domain_table, i, inv_color_step, inv_gamfactor_table, inv_gamma_range_table, pow(), RE_GAMMA_TABLE_SIZE, and valid_inv_gamma.
void makeGammaTables | ( | float | gamma | ) |
Initialise the gamma lookup tables
Definition at line 103 of file gammaCorrectionTables.c.
References color_domain_table, color_step, gamfactor_table, gamma_range_table, i, inv_color_step, inv_gamfactor_table, inv_gamma_range_table, pow(), RE_GAMMA_TABLE_SIZE, valid_gamma, and valid_inv_gamma.