#include <gamma.h>
Public Member Functions | |
Gamma (float x=1) | |
void | set_gamma (float x) |
void | set_gamma_r (float x) |
void | set_gamma_g (float x) |
void | set_gamma_b (float x) |
void | set_black_level (float x) |
void | set_red_blue_level (float x) |
void | set_all (float r, float g, float b, float black, float red_blue=1.0f) |
float | get_gamma () const |
float | get_gamma_r () const |
float | get_gamma_g () const |
float | get_gamma_b () const |
float | get_black_level () const |
float | get_red_blue_level () const |
void | refresh_gamma_r () |
void | refresh_gamma_g () |
void | refresh_gamma_b () |
const unsigned char & | r_U16_to_U8 (int i) const |
const unsigned char & | g_U16_to_U8 (int i) const |
const unsigned char & | b_U16_to_U8 (int i) const |
const unsigned char & | r_F32_to_U8 (float x) const |
const unsigned char & | g_F32_to_U8 (float x) const |
const unsigned char & | b_F32_to_U8 (float x) const |
unsigned short | r_F32_to_U16 (float x) const |
unsigned short | g_F32_to_U16 (float x) const |
unsigned short | b_F32_to_U16 (float x) const |
const float & | r_U8_to_F32 (int i) const |
const float & | g_U8_to_F32 (int i) const |
const float & | b_U8_to_F32 (int i) const |
float | r_F32_to_F32 (float x) const |
float | g_F32_to_F32 (float x) const |
float | b_F32_to_F32 (float x) const |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|