Home
last modified time | relevance | path

Searched refs:color_bits (Results 1 – 25 of 173) sorted by relevance

1234567

/dports/graphics/urt/urt-3.1b1_12/cnv/rletogif/
H A Drletogif.c56 int i, color_bits; local
77 color_bits = in_hdr.cmaplen;
81 in_hdr.cmaplen = color_bits;
85 pix_mask = (1 << color_bits) - 1;
89 color_bits, &in_hdr.cmap[0],
138 int i, color_bits, num_colors; local
140 color_bits = 8;
145 for (color_bits = 1; num_colors >> color_bits; color_bits++);
146 if (num_colors == (1<<(color_bits-1))) color_bits--;
150 if ((color_bits < 0) || (color_bits > 8))
[all …]
/dports/emulators/mess/mame-mame0226/src/devices/video/
H A Dbt47x.cpp68 …u32 clock, unsigned const palette_colors, unsigned const overlay_colors, unsigned const color_bits) in bt47x_device_base() argument
73 , m_color_bits(color_bits) in bt47x_device_base()
77 …u32 clock, unsigned const palette_colors, unsigned const overlay_colors, unsigned const color_bits) in bt475_device_base() argument
78 : bt47x_device_base(mconfig, type, tag, owner, clock, palette_colors, overlay_colors, color_bits) in bt475_device_base()
174 m_color_ram[m_address][0] << (8 - color_bits()), in palette_w()
175 m_color_ram[m_address][1] << (8 - color_bits()), in palette_w()
176 m_color_ram[m_address][2] << (8 - color_bits()))); in palette_w()
217 m_color_ram[index][0] << (8 - color_bits()), in overlay_w()
218 m_color_ram[index][1] << (8 - color_bits()), in overlay_w()
219 m_color_ram[index][2] << (8 - color_bits()))); in overlay_w()
/dports/emulators/mame/mame-mame0226/src/devices/video/
H A Dbt47x.cpp68 …u32 clock, unsigned const palette_colors, unsigned const overlay_colors, unsigned const color_bits) in bt47x_device_base() argument
73 , m_color_bits(color_bits) in bt47x_device_base()
77 …u32 clock, unsigned const palette_colors, unsigned const overlay_colors, unsigned const color_bits) in bt475_device_base() argument
78 : bt47x_device_base(mconfig, type, tag, owner, clock, palette_colors, overlay_colors, color_bits) in bt475_device_base()
174 m_color_ram[m_address][0] << (8 - color_bits()), in palette_w()
175 m_color_ram[m_address][1] << (8 - color_bits()), in palette_w()
176 m_color_ram[m_address][2] << (8 - color_bits()))); in palette_w()
217 m_color_ram[index][0] << (8 - color_bits()), in overlay_w()
218 m_color_ram[index][1] << (8 - color_bits()), in overlay_w()
219 m_color_ram[index][2] << (8 - color_bits()))); in overlay_w()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevprn.h417 xdpi, ydpi, color_bits,\
424 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
426 lm, tm, lm, bm, rm, tm, color_bits, print_page)
432 xdpi, ydpi, color_bits,\
441 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
447 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
450 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
452 lm, tm, lm, bm, rm, tm, color_bits, print_page)
456 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
459 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevprn.h417 xdpi, ydpi, color_bits,\
424 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
426 lm, tm, lm, bm, rm, tm, color_bits, print_page)
432 xdpi, ydpi, color_bits,\
441 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
447 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
450 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
452 lm, tm, lm, bm, rm, tm, color_bits, print_page)
456 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
459 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz4.6/
H A Dtcm.h14 UCHAR color_bits; member
36 (((1U << (TCM).color_bits) - 1U) << (TCM).color_offs)
50 ((int)(((INDEX) >> (TCM).color_offs) & ((1U << (TCM).color_bits) - 1U)))
64 (1 << ((TCM).pencil_bits + (TCM).color_bits + (TCM).tone_bits))
66 #define TCM_CMAP_COLBUFFER_SIZE(TCM) (1 << ((TCM).color_bits + (TCM).tone_bits))
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/image/tzp/
H A Dtcm.h14 UCHAR color_bits; member
33 (((1U << (TCM).color_bits) - 1U) << (TCM).color_offs)
47 ((int)(((INDEX) >> (TCM).color_offs) & ((1U << (TCM).color_bits) - 1U)))
61 (1 << ((TCM).pencil_bits + (TCM).color_bits + (TCM).tone_bits))
63 #define TCM_CMAP_COLBUFFER_SIZE(TCM) (1 << ((TCM).color_bits + (TCM).tone_bits))
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgdevprn.h448 xdpi, ydpi, color_bits,\
455 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
457 lm, tm, lm, bm, rm, tm, color_bits, print_page)
463 xdpi, ydpi, color_bits,\
472 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
478 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
481 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
483 lm, tm, lm, bm, rm, tm, color_bits, print_page)
487 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
490 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h531 #define dci_std_color_depth(color_bits) \ argument
532 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
541 #define dci_std_color_num_components(color_bits) \ argument
542 ( (color_bits) <= 1 ? 1 \
543 : ((color_bits) % 3 == 0 || \
544 (color_bits) == 4 || \
552 #define dci_std_gray_bits(nc, color_bits) \ argument
553 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
565 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
576 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/base/
H A Dgdevprn.h387 xdpi, ydpi, color_bits,\
394 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
396 lm, tm, lm, bm, rm, tm, color_bits, print_page)
402 xdpi, ydpi, color_bits,\
411 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
417 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
420 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
422 lm, tm, lm, bm, rm, tm, color_bits, print_page)
426 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
429 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h520 #define dci_std_color_depth(color_bits) \ argument
521 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
530 #define dci_std_color_num_components(color_bits) \ argument
531 ( (color_bits) <= 1 ? 1 \
532 : ((color_bits) % 3 == 0 || \
533 (color_bits) == 4 || \
541 #define dci_std_gray_bits(nc, color_bits) \ argument
542 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
554 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
565 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevprn.h485 xdpi, ydpi, color_bits,\
492 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
494 lm, tm, lm, bm, rm, tm, color_bits, print_page)
500 xdpi, ydpi, color_bits,\
509 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
515 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
518 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
520 lm, tm, lm, bm, rm, tm, color_bits, print_page)
524 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
527 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h542 #define dci_std_color_depth(color_bits) \ argument
543 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
552 #define dci_std_color_num_components(color_bits) \ argument
553 ( (color_bits) <= 1 ? 1 \
554 : ((color_bits) % 3 == 0 || \
555 (color_bits) == 4 || \
563 #define dci_std_gray_bits(nc, color_bits) \ argument
564 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
576 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
587 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevprn.h485 xdpi, ydpi, color_bits,\
492 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
494 lm, tm, lm, bm, rm, tm, color_bits, print_page)
500 xdpi, ydpi, color_bits,\
509 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
515 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
518 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
520 lm, tm, lm, bm, rm, tm, color_bits, print_page)
524 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
527 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h542 #define dci_std_color_depth(color_bits) \ argument
543 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
552 #define dci_std_color_num_components(color_bits) \ argument
553 ( (color_bits) <= 1 ? 1 \
554 : ((color_bits) % 3 == 0 || \
555 (color_bits) == 4 || \
563 #define dci_std_gray_bits(nc, color_bits) \ argument
564 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
576 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
587 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/base/
H A Dgdevprn.h387 xdpi, ydpi, color_bits,\
394 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
396 lm, tm, lm, bm, rm, tm, color_bits, print_page)
402 xdpi, ydpi, color_bits,\
411 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
417 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
420 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
422 lm, tm, lm, bm, rm, tm, color_bits, print_page)
426 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
429 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h520 #define dci_std_color_depth(color_bits) \ argument
521 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
530 #define dci_std_color_num_components(color_bits) \ argument
531 ( (color_bits) <= 1 ? 1 \
532 : ((color_bits) % 3 == 0 || \
533 (color_bits) == 4 || \
541 #define dci_std_gray_bits(nc, color_bits) \ argument
542 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
554 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
565 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgdevprn.h448 xdpi, ydpi, color_bits,\
455 #define prn_device_std_body(dtype, procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, … argument
457 lm, tm, lm, bm, rm, tm, color_bits, print_page)
463 xdpi, ydpi, color_bits,\
472 lm, tm, lm, bm, rm, tm, color_bits, print_page_copies)
478 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page)\
481 #define prn_device(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_page)\ argument
483 lm, tm, lm, bm, rm, tm, color_bits, print_page)
487 w10, h10, xdpi, ydpi, lo, to, lm, bm, rm, tm, color_bits, print_page_copies)\
490 #define prn_device_copies(procs, dname, w10, h10, xdpi, ydpi, lm, bm, rm, tm, color_bits, print_pag… argument
[all …]
H A Dgxdevcli.h531 #define dci_std_color_depth(color_bits) \ argument
532 ((color_bits) == 1 ? 1 : ((color_bits) + 7) & ~7)
541 #define dci_std_color_num_components(color_bits) \ argument
542 ( (color_bits) <= 1 ? 1 \
543 : ((color_bits) % 3 == 0 || \
544 (color_bits) == 4 || \
552 #define dci_std_gray_bits(nc, color_bits) \ argument
553 ((color_bits) - ((nc) - 1) * ((color_bits) / (nc)))
565 : ((color_bits) - dci_std_gray_bits(nc, color_bits))\
576 : (1 << dci_std_gray_bits(nc, color_bits)) - 1 )
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\
/dports/print/ghostscript8-x11/ghostscript-8.71/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\
/dports/print/ghostscript9-x11/ghostscript-9.06/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\
/dports/print/ghostscript9-base/ghostscript-9.06/contrib/lips4/
H A Dgdevlprn.h93 #define lprn_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
98 xdpi, ydpi, color_bits,\
106 #define lprn_duplex_device(dtype, procs, dname, xdpi, ydpi, lm, bm, rm, tm, color_bits,\ argument
111 xdpi, ydpi, color_bits,\

1234567