Home
last modified time | relevance | path

Searched refs:color_offs (Results 1 – 22 of 22) sorted by relevance

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz4.6/
H A Dtcm.h13 UCHAR color_offs; member
36 (((1U << (TCM).color_bits) - 1U) << (TCM).color_offs)
41 ((ID) << (TCM).color_offs | ((TCM).n_tones - 1) | (TCM).offset_mask)
50 ((int)(((INDEX) >> (TCM).color_offs) & ((1U << (TCM).color_bits) - 1U)))
56 ((TCM).n_colors - 1) << (TCM).color_offs | (TCM).n_tones - 1) + \
H A Ds.rop.c13162 ramp_index = color_index << info.color_offs |
13166 color_index << info.color_offs | pencil_index << info.pencil_offs;
13274 color_index << info.color_offs | pencil_index << info.pencil_offs;
13540 color_index << info.color_offs | pencil_index << info.pencil_offs;
13644 color_index << info.color_offs | pencil_index << info.pencil_offs;
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/image/tzp/
H A Dtcm.h13 UCHAR color_offs; member
33 (((1U << (TCM).color_bits) - 1U) << (TCM).color_offs)
38 ((ID) << (TCM).color_offs | ((TCM).n_tones - 1) | (TCM).offset_mask)
47 ((int)(((INDEX) >> (TCM).color_offs) & ((1U << (TCM).color_bits) - 1U)))
53 ((TCM).n_colors - 1) << (TCM).color_offs | (TCM).n_tones - 1) + \
H A Dfiletzup.cpp75 UCHAR color_offs; member
95 (((1U << (TCM).color_bits) - 1U) << (TCM).color_offs)
100 ((ID) << (TCM).color_offs | ((TCM).n_tones - 1) | (TCM).offset_mask)
109 ((int)(((INDEX) >> (TCM).color_offs) & ((1U << (TCM).color_bits) - 1U)))
115 ((TCM).n_colors - 1) << (TCM).color_offs | (TCM).n_tones - 1) + \
412 palette[5] = tcm->color_offs; in img_write_tzup()
1298 image->cmap.info.color_offs = (UCHAR)palette[5]; in img_read_region_tzup()
1497 image->cmap.info.color_offs = (UCHAR)palette[5]; in img_read_tzup_info()
1600 image->cmap.info.color_offs = palette[5]; in img_read_tzup_icon()
H A Dfileplt.c73 palette[5] = image->cmap.info.color_offs; in img_write_plt()
281 image->cmap.info.color_offs = palette[5]; in img_read_plt()
493 image->cmap.info.color_offs = palette[5]; in img_read_plt_info()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dmouser_vidhrdw.c88 int color_offs; in VIDEO_UPDATE() local
114 color_offs = offs%32 + ((256 + 8*(offs/32) - spriteram[offs%32])%256)/8*32; in VIDEO_UPDATE()
117 videoram[offs] | (colorram[color_offs]>>5)*256 | ((colorram[color_offs]>>4)&1)*512, in VIDEO_UPDATE()
118 colorram[color_offs]%16, in VIDEO_UPDATE()
H A Dgotcha_vidhrdw.c22 static INLINE void get_tile_info(int tile_index,data16_t *vram,int color_offs) in get_tile_info() argument
27 SET_TILE_INFO(0,code,(data >> 12) + color_offs,0) in get_tile_info()
H A Dpsychic5_vidhrdw.c57 void psychic5_paletteram_w(int color_offs, int offset, int data) in psychic5_paletteram_w() argument
88 palette_set_color((offset / 2)-color_offs,r,g,b); in psychic5_paletteram_w()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dmouser_vidhrdw.c88 int color_offs; in VIDEO_UPDATE() local
114 color_offs = offs%32 + ((256 + 8*(offs/32) - spriteram[offs%32])%256)/8*32; in VIDEO_UPDATE()
117 videoram[offs] | (colorram[color_offs]>>5)*256 | ((colorram[color_offs]>>4)&1)*512, in VIDEO_UPDATE()
118 colorram[color_offs]%16, in VIDEO_UPDATE()
H A Dgotcha_vidhrdw.c22 static INLINE void get_tile_info(int tile_index,data16_t *vram,int color_offs) in get_tile_info() argument
27 SET_TILE_INFO(0,code,(data >> 12) + color_offs,0) in get_tile_info()
H A Dpsychic5_vidhrdw.c57 void psychic5_paletteram_w(int color_offs, int offset, int data) in psychic5_paletteram_w() argument
88 palette_set_color((offset / 2)-color_offs,r,g,b); in psychic5_paletteram_w()
/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dmouser.cpp82 …int const color_offs = offs % 32 + ((256 + 8 * (offs / 32) - spriteram[offs % 32] )% 256) / 8 * 32; in screen_update_mouser() local
85 …m_videoram[offs] | (m_colorram[color_offs] >> 5) * 256 | ((m_colorram[color_offs] >> 4) & 1) * 512, in screen_update_mouser()
86 m_colorram[color_offs]%16, in screen_update_mouser()
H A Dgotcha.cpp18 …d gotcha_state::get_tile_info( tile_data &tileinfo, int tile_index ,uint16_t *vram, int color_offs) in get_tile_info() argument
23 tileinfo.set(0, code, (data >> 12) + color_offs, 0); in get_tile_info()
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dmouser.cpp82 …int const color_offs = offs % 32 + ((256 + 8 * (offs / 32) - spriteram[offs % 32] )% 256) / 8 * 32; in screen_update_mouser() local
85 …m_videoram[offs] | (m_colorram[color_offs] >> 5) * 256 | ((m_colorram[color_offs] >> 4) & 1) * 512, in screen_update_mouser()
86 m_colorram[color_offs]%16, in screen_update_mouser()
H A Dgotcha.cpp18 …d gotcha_state::get_tile_info( tile_data &tileinfo, int tile_index ,uint16_t *vram, int color_offs) in get_tile_info() argument
23 tileinfo.set(0, code, (data >> 12) + color_offs, 0); in get_tile_info()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pre90s/
H A Dd_mouser.cpp175 INT32 color_offs = offs % 32 + ((256 + 8 * (offs / 32) - DrvSprRAM[offs % 32] )% 256) / 8 * 32; in DrvDraw() local
176 …INT32 code = DrvVidRAM[offs] | (DrvColRAM[color_offs] >> 5) * 256 | ((DrvColRAM[color_offs] >> 4)… in DrvDraw()
177 INT32 color = DrvColRAM[color_offs]%16; in DrvDraw()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/
H A Dd_mouser.cpp175 INT32 color_offs = offs % 32 + ((256 + 8 * (offs / 32) - DrvSprRAM[offs % 32] )% 256) / 8 * 32; in DrvDraw() local
176 …INT32 code = DrvVidRAM[offs] | (DrvColRAM[color_offs] >> 5) * 256 | ((DrvColRAM[color_offs] >> 4)… in DrvDraw()
177 INT32 color = DrvColRAM[color_offs]%16; in DrvDraw()
/dports/emulators/mess/mame-mame0226/src/mame/includes/
H A Dgotcha.h56 inline void get_tile_info( tile_data &tileinfo, int tile_index ,uint16_t *vram, int color_offs);
/dports/emulators/mame/mame-mame0226/src/mame/includes/
H A Dgotcha.h56 inline void get_tile_info( tile_data &tileinfo, int tile_index ,uint16_t *vram, int color_offs);
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/
H A Dpsychic5.c57 void psychic5_paletteram_w(int color_offs, int offset, int data) in psychic5_paletteram_w() argument
88 palette_change_color((offset / 2)-color_offs,r,g,b); in psychic5_paletteram_w()
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dcoolridr.cpp950 const uint16_t rledata = rearranged_16bit_gfx[color_offs + ((compdata & 0x1c0) >> 6)]; \
967 const uint16_t rledata = rearranged_16bit_gfx[color_offs + ((compdata & 0x0fc) >> 2) + 8]; \
983 …tempshape[data_written^writeaddrxor] = rearranged_16bit_gfx[color_offs + (rawdat )+0x48]; /* +0x48…
1910 int color_offs = (object->colbase + (b1colorNumber & 0x7ff))*0x40 * 5; /* yes, * 5 */ \ in draw_object_threaded() local
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dcoolridr.cpp950 const uint16_t rledata = rearranged_16bit_gfx[color_offs + ((compdata & 0x1c0) >> 6)]; \
967 const uint16_t rledata = rearranged_16bit_gfx[color_offs + ((compdata & 0x0fc) >> 2) + 8]; \
983 …tempshape[data_written^writeaddrxor] = rearranged_16bit_gfx[color_offs + (rawdat )+0x48]; /* +0x48…
1910 int color_offs = (object->colbase + (b1colorNumber & 0x7ff))*0x40 * 5; /* yes, * 5 */ \ in draw_object_threaded() local