/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | pgm2.cpp | 53 palette_offset += palette_inc; in draw_sprite_chunk() 54 palette_offset &= m_sprites_colour.mask(); in draw_sprite_chunk() 60 palette_offset += palette_inc; in draw_sprite_chunk() 61 palette_offset &= m_sprites_colour.mask(); in draw_sprite_chunk() 96 palette_offset += bits; in skip_sprite_chunk() 100 palette_offset -= bits; in skip_sprite_chunk() 103 palette_offset &= m_sprites_colour.mask(); in skip_sprite_chunk() 201 u32 palette_offset = (m_sp_videoram[i + 3]); in draw_sprites() local 218 palette_offset &= m_sprites_colour.mask(); in draw_sprites() 238 palette_offset = pre_palette_offset; in draw_sprites() [all …]
|
H A D | channelf.cpp | 60 …int const palette_offset = recalc_palette_offset(m_p_videoram[y*128+125]&3, m_p_videoram[y*128+126… in screen_update_channelf() local 64 uint8_t const col = palette_offset+(m_p_videoram[x|(y<<7)]&3); in screen_update_channelf()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | pgm2.cpp | 53 palette_offset += palette_inc; in draw_sprite_chunk() 54 palette_offset &= m_sprites_colour.mask(); in draw_sprite_chunk() 60 palette_offset += palette_inc; in draw_sprite_chunk() 61 palette_offset &= m_sprites_colour.mask(); in draw_sprite_chunk() 96 palette_offset += bits; in skip_sprite_chunk() 100 palette_offset -= bits; in skip_sprite_chunk() 103 palette_offset &= m_sprites_colour.mask(); in skip_sprite_chunk() 201 u32 palette_offset = (m_sp_videoram[i + 3]); in draw_sprites() local 218 palette_offset &= m_sprites_colour.mask(); in draw_sprites() 238 palette_offset = pre_palette_offset; in draw_sprites() [all …]
|
H A D | channelf.cpp | 60 …int const palette_offset = recalc_palette_offset(m_p_videoram[y*128+125]&3, m_p_videoram[y*128+126… in screen_update_channelf() local 64 uint8_t const col = palette_offset+(m_p_videoram[x|(y<<7)]&3); in screen_update_channelf()
|
/dports/emulators/mess/mame-mame0226/src/devices/machine/ |
H A D | spg_renderer.cpp | 129 uint32_t pal = palette_offset + (bits >> 16); in draw_tilestrip() 514 uint32_t palette_offset; in draw_page() local 586 palette_offset = (tileattr & 0x0f00) >> 4; in draw_page() 590 palette_offset |= 0x200; in draw_page() 592 palette_offset >>= nc_bpp; in draw_page() 593 palette_offset <<= nc_bpp; in draw_page() 697 uint32_t palette_offset = (attr & 0x0f00) >> 4; in draw_sprite() local 703 palette_offset |= 0x100; in draw_sprite() 707 palette_offset |= 0x200; in draw_sprite() 711 palette_offset >>= nc_bpp; in draw_sprite() [all …]
|
H A D | spg110_video.cpp | 49 uint32_t palette_offset = pal; in draw() local 51 palette_offset <<= nc; in draw() 84 uint32_t pal = palette_offset + (bits >> 16); in draw() 246 const uint32_t palette_offset = (attr2 & 0x0f00) >> 8; in draw_sprite() local 251 …draw<FlipXOn>(cliprect, tile_line, x, y, 0, bitmap_addr, tile, yflipmask, palette_offset, h, w, bp… in draw_sprite() 253 …draw<FlipXOff>(cliprect, tile_line, x, y, 0, bitmap_addr, tile, yflipmask, palette_offset, h, w, b… in draw_sprite()
|
/dports/emulators/mame/mame-mame0226/src/devices/machine/ |
H A D | spg_renderer.cpp | 129 uint32_t pal = palette_offset + (bits >> 16); in draw_tilestrip() 514 uint32_t palette_offset; in draw_page() local 586 palette_offset = (tileattr & 0x0f00) >> 4; in draw_page() 590 palette_offset |= 0x200; in draw_page() 592 palette_offset >>= nc_bpp; in draw_page() 593 palette_offset <<= nc_bpp; in draw_page() 697 uint32_t palette_offset = (attr & 0x0f00) >> 4; in draw_sprite() local 703 palette_offset |= 0x100; in draw_sprite() 707 palette_offset |= 0x200; in draw_sprite() 711 palette_offset >>= nc_bpp; in draw_sprite() [all …]
|
H A D | spg110_video.cpp | 49 uint32_t palette_offset = pal; in draw() local 51 palette_offset <<= nc; in draw() 84 uint32_t pal = palette_offset + (bits >> 16); in draw() 246 const uint32_t palette_offset = (attr2 & 0x0f00) >> 8; in draw_sprite() local 251 …draw<FlipXOn>(cliprect, tile_line, x, y, 0, bitmap_addr, tile, yflipmask, palette_offset, h, w, bp… in draw_sprite() 253 …draw<FlipXOff>(cliprect, tile_line, x, y, 0, bitmap_addr, tile, yflipmask, palette_offset, h, w, b… in draw_sprite()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | holeland_vidhrdw.c | 12 static int palette_offset; variable 34 palette_offset + ((attr >> 4) & 0x0f), in holeland_get_tile_info() 46 palette_offset + ((attr >> 4) & 0x0f), in crzrally_get_tile_info() 102 palette_offset = (po[0] + (po[1] << 1)) << 4; in WRITE_HANDLER() 131 color = palette_offset + (spriteram[offs+3] >> 4); in holeland_draw_sprites()
|
H A D | policetr_vidhrdw.c | 20 static data32_t palette_offset; variable 331 palette_offset = (data >> 16) & 0xff; in WRITE32_HANDLER() 344 palette_set_color(palette_offset, palette_data[0], palette_data[1], palette_data[2]); in WRITE32_HANDLER()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | holeland_vidhrdw.c | 12 static int palette_offset; variable 34 palette_offset + ((attr >> 4) & 0x0f), in holeland_get_tile_info() 46 palette_offset + ((attr >> 4) & 0x0f), in crzrally_get_tile_info() 102 palette_offset = (po[0] + (po[1] << 1)) << 4; in WRITE_HANDLER() 131 color = palette_offset + (spriteram[offs+3] >> 4); in holeland_draw_sprites()
|
H A D | policetr_vidhrdw.c | 20 static data32_t palette_offset; variable 331 palette_offset = (data >> 16) & 0xff; in WRITE32_HANDLER() 344 palette_set_color(palette_offset, palette_data[0], palette_data[1], palette_data[2]); in WRITE32_HANDLER()
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pre90s/ |
H A D | d_holeland.cpp | 29 static UINT8 palette_offset; variable 290 palette_offset = (palette_offset & 2) | (data & 1); in STDDIPINFO() 295 palette_offset = (palette_offset & 1) | ((data & 1) << 1); in STDDIPINFO() 375 TILE_SET_INFO(0, code, (palette_offset << 4) | (attr >> 4), TILE_FLIPYX(attr >> 2)); in tilemap_callback() 399 palette_offset = 0; in DrvDoReset() 645 INT32 color = (palette_offset << 4) | (DrvSprRAM[offs + 3] >> 4); in holeland_draw_sprites() 806 SCAN_VAR(palette_offset); in DrvScan()
|
H A D | d_mainsnk.cpp | 36 static INT32 palette_offset; variable 248 palette_offset = ((data & 0x07) << 4); in STDDIPINFO() 328 palette_offset = 0; in DrvDoReset() 555 Render8x8Tile_Clip(pTransDraw, code, sx, sy, 0, 4, palette_offset+0x100, DrvGfxROM0); in draw_layer_tx() 557 Render8x8Tile_Mask_Clip(pTransDraw, code, sx, sy, 0, 4, 0xf, palette_offset+0x100, DrvGfxROM0); in draw_layer_tx() 572 Render8x8Tile_Clip(pTransDraw, code, sx, sy, 0, 4, palette_offset+0x100, DrvGfxROM0); in draw_layer_bg() 692 SCAN_VAR(palette_offset); in DrvScan()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/ |
H A D | d_holeland.cpp | 29 static UINT8 palette_offset; variable 290 palette_offset = (palette_offset & 2) | (data & 1); in STDDIPINFO() 295 palette_offset = (palette_offset & 1) | ((data & 1) << 1); in STDDIPINFO() 375 TILE_SET_INFO(0, code, (palette_offset << 4) | (attr >> 4), TILE_FLIPYX(attr >> 2)); in tilemap_callback() 399 palette_offset = 0; in DrvDoReset() 647 INT32 color = (palette_offset << 4) | (DrvSprRAM[offs + 3] >> 4); in holeland_draw_sprites() 818 SCAN_VAR(palette_offset); in DrvScan()
|
H A D | d_mainsnk.cpp | 36 static INT32 palette_offset; variable 248 palette_offset = ((data & 0x07) << 4); in STDDIPINFO() 328 palette_offset = 0; in DrvDoReset() 559 Render8x8Tile_Clip(pTransDraw, code, sx, sy, 0, 4, palette_offset+0x100, DrvGfxROM0); in draw_layer_tx() 561 Render8x8Tile_Mask_Clip(pTransDraw, code, sx, sy, 0, 4, 0xf, palette_offset+0x100, DrvGfxROM0); in draw_layer_tx() 576 Render8x8Tile_Clip(pTransDraw, code, sx, sy, 0, 4, palette_offset+0x100, DrvGfxROM0); in draw_layer_bg() 704 SCAN_VAR(palette_offset); in DrvScan()
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/pygimp/plug-ins/ |
H A D | palette-offset.py | 20 def palette_offset(palette, amount): function 56 palette_offset,
|
/dports/emulators/mednafen/mednafen/src/pcfx/ |
H A D | king.cpp | 115 uint16 palette_offset[4]; // member 160 uint16 palette_offset[4]; member 351 dest->palette_offset[i] = source->palette_offset[i]; in DoHBlankVCECaching() 3759 fx_vce.palette_offset[0] = value; in FXVCE_SetRegister() 3761 fx_vce.palette_offset[1] = value; in FXVCE_SetRegister() 3887 uint32 palette_offset = fx_vce.palette_offset[0] >> (((GfxDecode_Layer - 4) & 1) * 8); in DoGfxDecode() local 3888 palette_offset <<= 1; in DoGfxDecode() 3889 palette_offset &= 0x1FF; in DoGfxDecode() 3921 uint32 palette_offset = fx_vce.palette_offset[1 + (n >> 1)] >> ((n & 1) ? 8 : 0); in DoGfxDecode() local 3922 palette_offset <<= 1; in DoGfxDecode() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/includes/ |
H A D | pgm2.h | 132 void skip_sprite_chunk(u32 &palette_offset, u32 maskdata, bool reverse); 133 …void draw_sprite_pixel(const rectangle &cliprect, u32 palette_offset, s16 realx, s16 realy, u16 pa… 134 void draw_sprite_chunk(const rectangle &cliprect, u32 &palette_offset, s16 x, s16 realy, 136 …void draw_sprite_line(const rectangle &cliprect, u32 &mask_offset, u32 &palette_offset, s16 x, s16…
|
/dports/emulators/mame/mame-mame0226/src/mame/includes/ |
H A D | pgm2.h | 132 void skip_sprite_chunk(u32 &palette_offset, u32 maskdata, bool reverse); 133 …void draw_sprite_pixel(const rectangle &cliprect, u32 palette_offset, s16 realx, s16 realy, u16 pa… 134 void draw_sprite_chunk(const rectangle &cliprect, u32 &palette_offset, s16 x, s16 realy, 136 …void draw_sprite_line(const rectangle &cliprect, u32 &mask_offset, u32 &palette_offset, s16 x, s16…
|
/dports/emulators/x16-emulator/x16-emulator-r38/ |
H A D | video.c | 386 uint16_t palette_offset; member 420 props->palette_offset = (sprite_data[sprite][7] & 0x0f) << 4; in refresh_sprite_properties() 536 sprite_line_col[line_x] = col_index + props->palette_offset; in render_sprite_line() 659 uint8_t palette_offset; in render_layer_line_tile() local 680 palette_offset = byte1 & 0xf0; in render_layer_line_tile() 720 palette_offset = byte1 & 0xf0; in render_layer_line_tile() 749 if (palette_offset && col_index > 0 && col_index < 16) { in render_layer_line_tile() 750 col_index += palette_offset; in render_layer_line_tile() 771 uint8_t palette_offset = reg_layer[layer][4] & 0xf; in render_layer_line_bitmap() local 782 if (palette_offset && col_index > 0 && col_index < 16) { in render_layer_line_bitmap() [all …]
|
/dports/emulators/mess/mame-mame0226/src/devices/video/ |
H A D | 315_5124.h | 91 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… in DECLARE_DEVICE_TYPE() 222 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… 246 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… 268 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma…
|
/dports/emulators/mame/mame-mame0226/src/devices/video/ |
H A D | 315_5124.h | 91 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… in DECLARE_DEVICE_TYPE() 222 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… 246 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma… 268 … type, const char *tag, device_t *owner, u32 clock, u8 cram_size, u8 palette_offset, u8 reg_num_ma…
|
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/mednafen/pcfx/ |
H A D | king.cpp | 119 uint16 palette_offset[4]; // member 164 uint16 palette_offset[4]; member 355 dest->palette_offset[i] = source->palette_offset[i]; in DoHBlankVCECaching() 585 case 0x05: return(fx_vce.palette_offset[1]); in FXVCE_Read16() 586 case 0x06: return(fx_vce.palette_offset[2]); in FXVCE_Read16() 587 case 0x07: return(fx_vce.palette_offset[3]); in FXVCE_Read16() 634 case 0x04: fx_vce.palette_offset[0] = V; break; in FXVCE_Write16() 635 case 0x05: fx_vce.palette_offset[1] = V; break; in FXVCE_Write16() 636 case 0x06: fx_vce.palette_offset[2] = V; break; in FXVCE_Write16() 1806 …const uint32 palette_offset = ((fx_vce.palette_offset[1 + (n >> 1)] >> ((n & 1) ? 8 : 0)) << 1) & … in DrawBG() local [all …]
|
/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/ |
H A D | Nes_Ppu_Impl.h | 82 unsigned long palette_offset; 214 palette_offset = palette_begin * 0x01010101; in begin_frame()
|