Changeset 1937:b1cc9257d39d in roaraudio for include/libroarlight
- Timestamp:
- 06/05/09 18:03:22 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroarlight/colors.h
r1936 r1937 69 69 #define ROAR_COLORSYSTEM_CMYK (ROAR_COLOR_TYPE_C|ROAR_COLOR_TYPE_M|ROAR_COLOR_TYPE_Y|ROAR_COLOR_TYPE_K) 70 70 71 struct roar_color_gray { 72 unsigned char k; 73 }; 74 75 struct roar_color_rgb { 76 unsigned char r, g, b; 77 }; 78 79 struct roar_color_rgba { 80 unsigned char r, g, b, a; 81 }; 82 83 struct roar_color_yuv { 84 unsigned char y, u, v; 85 }; 86 87 struct roar_color_cmyk { 88 unsigned char c, m, y, k; 89 }; 90 91 struct roar_color { 92 uint32_t system; 93 union { 94 struct roar_color_gray gray; 95 struct roar_color_rgb rgb; 96 struct roar_color_rgba rgba; 97 struct roar_color_yuv yuv; 98 struct roar_color_cmyk cmyk; 99 } color; 100 }; 101 71 102 #endif 72 103
Note: See TracChangeset
for help on using the changeset viewer.