| synfig-core
    1.0.3
    | 
This class performs color correction on Color classes. More...
#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 | 
| 
 | inline | 
References set_gamma().
| void Gamma::set_gamma | ( | float | x | ) | 
References f.
Referenced by exr_trgt::exr_trgt(), Gamma(), synfig::Layer_ColorCorrect::set_param(), and synfig::Svg_parser::Svg_parser().
| void Gamma::set_gamma_r | ( | float | x | ) | 
| void Gamma::set_gamma_g | ( | float | x | ) | 
| void Gamma::set_gamma_b | ( | float | x | ) | 
| void Gamma::set_black_level | ( | float | x | ) | 
| void Gamma::set_red_blue_level | ( | float | x | ) | 
| void Gamma::set_all | ( | float | r, | 
| float | g, | ||
| float | b, | ||
| float | black, | ||
| float | red_blue = 1.0f | ||
| ) | 
| 
 | inline | 
Referenced by synfig::Layer_ColorCorrect::get_param().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| void Gamma::refresh_gamma_r | ( | ) | 
References f.
| void Gamma::refresh_gamma_g | ( | ) | 
References f.
| void Gamma::refresh_gamma_b | ( | ) | 
References f.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
References f.
Referenced by synfig::Color2PixelFormat().
| 
 | inline | 
References f.
Referenced by synfig::Color2PixelFormat().
| 
 | inline | 
References f.
Referenced by synfig::Color2PixelFormat().
| 
 | inline | 
References f.
| 
 | inline | 
References f.
| 
 | inline | 
References f.
| 
 | inline | 
Referenced by imagemagick_mptr::get_frame(), png_mptr::png_mptr(), and png_trgt_spritesheet::read_png_file().
| 
 | inline | 
| 
 | inline | 
Referenced by imagemagick_mptr::get_frame(), png_mptr::png_mptr(), and png_trgt_spritesheet::read_png_file().
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
 1.8.1.2
 1.8.1.2