csgfx/rgbpixel.h File Reference
RGB colors. More...
#include "csextern.h"
#include "csutil/comparator.h"
Go to the source code of this file.
Classes | |
class | csComparator< csRGBcolor *, csRGBcolor * > |
csComparator<> specialization for csColor*. More... | |
class | csComparator< csRGBcolor, csRGBcolor > |
csComparator<> specialization for csRGBcolor. More... | |
struct | csRGBcolor |
An RGB color. More... | |
struct | csRGBpixel |
An RGB pixel. More... | |
Eye sensivity to different color components | |
Eye sensivity to different color components, from NTSC grayscale equation. The coefficients are multiplied by 100 and rounded towards nearest integer, to facilitate integer math. The squared coefficients are also multiplied by 100 and rounded to nearest integer (thus 173 == 1.73, 242 == 2.42 etc). | |
#define | B_COEF 107 |
Blue component sensivity. | |
#define | G_COEF 242 |
Green component sensivity. | |
#define | R_COEF 173 |
Red component sensivity. | |
Eye sensivity to different color components, squared | |
#define | B_COEF_SQ 114 |
Blue component sensivity, squared. | |
#define | G_COEF_SQ 587 |
Green component sensivity, squared. | |
#define | R_COEF_SQ 299 |
Red component sensivity, squared. |
Detailed Description
RGB colors.
Definition in file rgbpixel.h.
Generated for Crystal Space by doxygen 1.4.7