Searched refs:RGBTOGRAY (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/ |
H A D | img_util.h | 106 #define RGBTOGRAY(r, g, b) ((int) (.299 * r + .587 * g + .114 * b)) macro
|
H A D | img_ordgray.h | 82 green = RGBTOGRAY(red, green, blue); \
|
H A D | img_fsgray.h | 102 e2 = RGBTOGRAY(red, green, blue); \
|
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | X11Color.c | 67 #define RGBTOGRAY(r, g, b) ((int) (.299 * r + .587 * g + .114 * b + 0.5)) macro 197 return awt_data->color_data->img_grays[RGBTOGRAY(r, g, b)];
|
Completed in 58 milliseconds