![]() |
Public API Reference |
#include <stdio.h>
#include "cstypes.h"
Go to the source code of this file.
Compounds | |
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 | R_COEF 173 |
Red component sensivity. More... | |
#define | G_COEF 242 |
Green component sensivity. More... | |
#define | B_COEF 107 |
Blue component sensivity. More... | |
Eye sensivity to different color components, squared | |
#define | R_COEF_SQ 299 |
Red component sensivity, squared. More... | |
#define | G_COEF_SQ 587 |
Green component sensivity, squared. More... | |
#define | B_COEF_SQ 114 |
Blue component sensivity, squared. More... |
Definition in file rgbpixel.h.