Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
rgbpixel.h File Reference
#include "csextern.h"
Go to the source code of this file.
Classes | |
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
Definition in file rgbpixel.h.
Define Documentation
|
Blue component sensivity.
Definition at line 200 of file rgbpixel.h. |
|
Blue component sensivity, squared.
Definition at line 209 of file rgbpixel.h. |
|
Green component sensivity.
Definition at line 198 of file rgbpixel.h. |
|
Green component sensivity, squared.
Definition at line 207 of file rgbpixel.h. |
|
Red component sensivity.
Definition at line 196 of file rgbpixel.h. |
|
Red component sensivity, squared.
Definition at line 205 of file rgbpixel.h. |
Generated for Crystal Space by doxygen 1.4.4