Home
last modified time | relevance | path

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

12345678

/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevbmpc.c178 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
179 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
180 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
219 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
220 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
221 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c127 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
128 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
129 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
130 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
H A Dgdevdgbr.c581 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
584 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
585 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
586 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
593 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
594 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
595 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
596 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
600 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
608 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
H A Dgsalphac.c339 byte a = gx_color_value_to_byte(alpha); in dca_map_rgb_alpha_color()
359 color = gx_color_value_to_byte(lum); in dca_map_rgb_alpha_color()
365 ((uint) gx_color_value_to_byte(red) << 16) + in dca_map_rgb_alpha_color()
366 ((uint) gx_color_value_to_byte(green) << 8) + in dca_map_rgb_alpha_color()
367 gx_color_value_to_byte(blue); in dca_map_rgb_alpha_color()
474 cp.source_values[0] = gx_color_value_to_byte(rgba[0]); in dca_fill_rectangle()
475 cp.source_values[1] = gx_color_value_to_byte(rgba[1]); in dca_fill_rectangle()
476 cp.source_values[2] = gx_color_value_to_byte(rgba[2]); in dca_fill_rectangle()
477 cp.source_alpha = gx_color_value_to_byte(rgba[3]); in dca_fill_rectangle()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/
H A Dgdevbmpc.c180 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
181 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
182 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
221 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
222 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
223 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c132 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
133 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
134 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
135 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/
H A Dgdevbmpc.c180 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
181 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
182 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
221 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
222 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
223 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c132 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
133 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
134 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
135 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevbmpc.c180 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
181 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
182 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
221 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
222 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
223 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c129 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
130 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
131 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
132 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
H A Dgdevdgbr.c591 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
594 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
595 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
596 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
603 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
604 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
605 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
606 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
610 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
618 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevbmpc.c180 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
181 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
182 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
221 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
222 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
223 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c129 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
130 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
131 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
132 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
H A Dgdevdgbr.c591 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
594 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
595 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
596 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
603 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
604 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
605 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
606 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
610 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
618 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevbmpc.c178 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
179 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
180 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
219 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
220 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
221 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevjpx.c127 gx_color_value_to_byte(cv[3]) + in jpx_cmyk_map_cmyk_color()
128 ((uint)gx_color_value_to_byte(cv[2]) << 8) + in jpx_cmyk_map_cmyk_color()
129 ((uint)gx_color_value_to_byte(cv[1]) << 16) + in jpx_cmyk_map_cmyk_color()
130 ((uint)gx_color_value_to_byte(cv[0]) << 24)); in jpx_cmyk_map_cmyk_color()
H A Dgdevdgbr.c581 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
584 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
585 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
586 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
593 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
594 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
595 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
596 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
600 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
608 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevbmpc.c181 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
182 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
183 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
220 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
221 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
222 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevdgbr.c560 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
563 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
564 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
565 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
572 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
573 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
574 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
575 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
579 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
587 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
H A Dgsalphac.c334 byte a = gx_color_value_to_byte(alpha); in dca_map_rgb_alpha_color()
354 color = gx_color_value_to_byte(lum); in dca_map_rgb_alpha_color()
360 ((uint) gx_color_value_to_byte(red) << 16) + in dca_map_rgb_alpha_color()
361 ((uint) gx_color_value_to_byte(green) << 8) + in dca_map_rgb_alpha_color()
362 gx_color_value_to_byte(blue); in dca_map_rgb_alpha_color()
469 cp.source_values[0] = gx_color_value_to_byte(rgba[0]); in dca_fill_rectangle()
470 cp.source_values[1] = gx_color_value_to_byte(rgba[1]); in dca_fill_rectangle()
471 cp.source_values[2] = gx_color_value_to_byte(rgba[2]); in dca_fill_rectangle()
472 cp.source_alpha = gx_color_value_to_byte(rgba[3]); in dca_fill_rectangle()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevbmpc.c181 q.red = gx_color_value_to_byte(rgb[0]); in write_bmp_header()
182 q.green = gx_color_value_to_byte(rgb[1]); in write_bmp_header()
183 q.blue = gx_color_value_to_byte(rgb[2]); in write_bmp_header()
220 return gx_color_value_to_byte(r) + in bmp_map_16m_rgb_color()
221 ((uint) gx_color_value_to_byte(g) << 8) + in bmp_map_16m_rgb_color()
222 ((ulong) gx_color_value_to_byte(b) << 16); in bmp_map_16m_rgb_color()
H A Dgdevdgbr.c560 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
563 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
564 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
565 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
572 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
573 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
574 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
575 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
579 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
587 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgdevdgbr.c608 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
611 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
612 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
613 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
620 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
621 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
622 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
623 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
627 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
635 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
H A Dgsalphac.c342 byte a = gx_color_value_to_byte(alpha); in dca_map_rgb_alpha_color()
362 color = gx_color_value_to_byte(lum); in dca_map_rgb_alpha_color()
368 ((uint) gx_color_value_to_byte(red) << 16) + in dca_map_rgb_alpha_color()
369 ((uint) gx_color_value_to_byte(green) << 8) + in dca_map_rgb_alpha_color()
370 gx_color_value_to_byte(blue); in dca_map_rgb_alpha_color()
477 cp.source_values[0] = gx_color_value_to_byte(rgba[0]); in dca_fill_rectangle()
478 cp.source_values[1] = gx_color_value_to_byte(rgba[1]); in dca_fill_rectangle()
479 cp.source_values[2] = gx_color_value_to_byte(rgba[2]); in dca_fill_rectangle()
480 cp.source_alpha = gx_color_value_to_byte(rgba[3]); in dca_fill_rectangle()
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgdevdgbr.c608 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()
611 dest[0] = gx_color_value_to_byte(rgba[0]); in gx_get_bits_native_to_std()
612 dest[1] = gx_color_value_to_byte(rgba[1]); in gx_get_bits_native_to_std()
613 dest[2] = gx_color_value_to_byte(rgba[2]); in gx_get_bits_native_to_std()
620 dest[0] = gx_color_value_to_byte(white - rgba[0]); in gx_get_bits_native_to_std()
621 dest[1] = gx_color_value_to_byte(white - rgba[1]); in gx_get_bits_native_to_std()
622 dest[2] = gx_color_value_to_byte(white - rgba[2]); in gx_get_bits_native_to_std()
623 dest[3] = gx_color_value_to_byte(gx_max_color_value - white); in gx_get_bits_native_to_std()
627 *dest++ = gx_color_value_to_byte( in gx_get_bits_native_to_std()
635 *dest++ = gx_color_value_to_byte(rgba[3]); in gx_get_bits_native_to_std()

12345678