Home
last modified time | relevance | path

Searched refs:gx_color_value_bits (Results 1 – 25 of 193) sorted by relevance

12345678

/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgxcvalue.h28 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
29 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
35 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
80 do { COLROUND_M = (((1<<TO)-1)<<(gx_color_value_bits-TO))+1; \
81 COLROUND_S = (gx_color_value_bits*2-TO); \
92 COLDUP_S = (FROM-(gx_color_value_bits % FROM)) % FROM; \
H A Dgdevmswn.c127 return (((unsigned long)b >> (gx_color_value_bits - 8)) << 16) + in win_map_rgb_color()
128 (((unsigned long)g >> (gx_color_value_bits - 8)) << 8) + in win_map_rgb_color()
129 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
133 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
144 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
170 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
171 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
172 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
175 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
176 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgdevm16.c44 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
45 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
46 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
57 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
60 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
63 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgxcvalue.h28 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
29 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
35 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
80 do { COLROUND_M = (((1<<TO)-1)<<(gx_color_value_bits-TO))+1; \
81 COLROUND_S = (gx_color_value_bits*2-TO); \
92 COLDUP_S = (FROM-(gx_color_value_bits % FROM)) % FROM; \
H A Dgdevmswn.c127 return (((unsigned long)b >> (gx_color_value_bits - 8)) << 16) + in win_map_rgb_color()
128 (((unsigned long)g >> (gx_color_value_bits - 8)) << 8) + in win_map_rgb_color()
129 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
133 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
144 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
170 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
171 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
172 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
175 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
176 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgdevm16.c44 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
45 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
46 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
57 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
60 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
63 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgxcvalue.h27 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
28 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
34 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
83 do { COLROUND_M = (((1<<TO)-1)<<(gx_color_value_bits-TO))+1; \
84 COLROUND_S = (gx_color_value_bits*2-TO); \
95 COLDUP_S = (FROM-(gx_color_value_bits % FROM)) % FROM; \
H A Dgdevm16.c44 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
45 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
46 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
57 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
60 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
63 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgxcvalue.h27 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
28 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
34 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
83 do { COLROUND_M = (((1<<TO)-1)<<(gx_color_value_bits-TO))+1; \
84 COLROUND_S = (gx_color_value_bits*2-TO); \
95 COLDUP_S = (FROM-(gx_color_value_bits % FROM)) % FROM; \
H A Dgdevm16.c44 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
45 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
46 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
57 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
60 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
63 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevmswn.c129 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
132 ((g >> (gx_color_value_bits - 6)) << 5) + in win_map_rgb_color()
133 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
143 ((g >> (gx_color_value_bits - 5)) << 5) + in win_map_rgb_color()
144 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
170 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
171 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
172 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
175 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
176 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgxcvalue.h31 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
32 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
34 ((cv) >> (gx_color_value_bits - 8))
36 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
H A Dgdevdsp.c337 ((g >> (gx_color_value_bits - 2)) << 2) + in display_map_rgb_color_device8()
338 ((b >> (gx_color_value_bits - 2))); in display_map_rgb_color_device8()
377 ((g >> (gx_color_value_bits - 5)) << 5) + in display_map_rgb_color_device16()
378 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
382 ((g >> (gx_color_value_bits - 6)) << 5) + in display_map_rgb_color_device16()
383 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
391 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
397 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
416 (value >> 4)) >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
431 >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
[all …]
H A Dgdevm16.c49 return ((r >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
50 ((g >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
51 (b >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
62 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
65 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
68 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevmswn.c127 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
130 ((g >> (gx_color_value_bits - 6)) << 5) + in win_map_rgb_color()
131 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
141 ((g >> (gx_color_value_bits - 5)) << 5) + in win_map_rgb_color()
142 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
168 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
169 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
170 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
173 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
174 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgxcvalue.h26 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
27 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
29 ((cv) >> (gx_color_value_bits - 8))
31 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
H A Dgdevm16.c42 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
43 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
44 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
55 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
58 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
61 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevmswn.c129 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
132 ((g >> (gx_color_value_bits - 6)) << 5) + in win_map_rgb_color()
133 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
143 ((g >> (gx_color_value_bits - 5)) << 5) + in win_map_rgb_color()
144 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
170 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
171 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
172 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
175 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
176 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgxcvalue.h31 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
32 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
34 ((cv) >> (gx_color_value_bits - 8))
36 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
H A Dgdevdsp.c337 ((g >> (gx_color_value_bits - 2)) << 2) + in display_map_rgb_color_device8()
338 ((b >> (gx_color_value_bits - 2))); in display_map_rgb_color_device8()
377 ((g >> (gx_color_value_bits - 5)) << 5) + in display_map_rgb_color_device16()
378 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
382 ((g >> (gx_color_value_bits - 6)) << 5) + in display_map_rgb_color_device16()
383 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
391 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
397 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
416 (value >> 4)) >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
431 >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
[all …]
H A Dgdevm16.c49 return ((r >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
50 ((g >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
51 (b >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
62 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
65 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
68 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevmswn.c127 (((unsigned long)r >> (gx_color_value_bits - 8))); in win_map_rgb_color()
130 ((g >> (gx_color_value_bits - 6)) << 5) + in win_map_rgb_color()
131 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
141 ((g >> (gx_color_value_bits - 5)) << 5) + in win_map_rgb_color()
142 (b >> (gx_color_value_bits - 5)); in win_map_rgb_color()
168 if (pal64[r >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
169 pal64[g >> (gx_color_value_bits - 5)] && in win_map_rgb_color()
170 pal64[b >> (gx_color_value_bits - 5)] in win_map_rgb_color()
173 ((r >> (gx_color_value_bits - 2)) << 4) + in win_map_rgb_color()
174 ((g >> (gx_color_value_bits - 2)) << 2) + in win_map_rgb_color()
[all …]
H A Dgxcvalue.h26 #define gx_color_value_bits (sizeof(gx_color_value) * 8) macro
27 #define gx_max_color_value ((gx_color_value)((1L << gx_color_value_bits) - 1))
29 ((cv) >> (gx_color_value_bits - 8))
31 (((cb) << (gx_color_value_bits - 8)) + ((cb) >> (16 - gx_color_value_bits)))
H A Dgdevm16.c42 return ((cv[0] >> (gx_color_value_bits - 5)) << 11) + in mem_true16_map_rgb_color()
43 ((cv[1] >> (gx_color_value_bits - 6)) << 5) + in mem_true16_map_rgb_color()
44 (cv[2] >> (gx_color_value_bits - 5)); in mem_true16_map_rgb_color()
55 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
58 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
61 >> (16 - gx_color_value_bits); in mem_true16_map_color_rgb()
H A Dgdevdsp.c456 ((g >> (gx_color_value_bits - 5)) << 5) + in display_map_rgb_color_device16()
457 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
461 ((g >> (gx_color_value_bits - 6)) << 5) + in display_map_rgb_color_device16()
462 (b >> (gx_color_value_bits - 5)); in display_map_rgb_color_device16()
470 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
476 ((b >> (gx_color_value_bits - 5)) << 8); in display_map_rgb_color_device16()
509 (value >> 4)) >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
513 >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
517 (value >> 4)) >> (16 - gx_color_value_bits); in display_map_color_rgb_device16()
547 >> (16 - gx_color_value_bits)); in display_map_color_rgb_device16()
[all …]

12345678