|
HDK
|
Include dependency graph for gamma.h:Go to the source code of this file.
Utilities to map colors between gamma spaces.
Definition in file gamma.h.
Return a new vector with each component of v raised to the power gamma
Return a new vector with each component of v raised to the power gamma
Return a new vector with the first three components of v raised to the power gamma and the fourth component unchanged.
Return a new vector with the first three components of v raised to the power gamma and the fourth component unchanged.
Return a new float raised to the power gamma.
| GF_API unsigned char GfApplyGamma | ( | const unsigned char & | v, |
| double | gamma | ||
| ) |
Return a new char raised to the power gamma.
Given a vec, v, representing an RGB(A) color in the system's display gamma space, return an energy-linear vec of the same type.
| GF_API unsigned char GfConvertDisplayToLinear | ( | const unsigned char & | v | ) |
Given a vec, v, representing an energy-linear RGB(A) color, return a vec of the same type converted to the system's display gamma.
| GF_API unsigned char GfConvertLinearToDisplay | ( | const unsigned char & | v | ) |
| GF_API double GfGetDisplayGamma | ( | ) |
Return the system display gamma.