Home
last modified time | relevance | path

Searched refs:combine_3_weights (Results 1 – 25 of 40) sorted by relevance

12

/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/irem/
H A Dd_m52.cpp447 #define combine_3_weights(w, b0, b1, b2) ((((b0 * w[2]) + (b1 * w[1]) + (b2 * w[0])) * 255) / (w[0]… in DrvPaletteInit() macro
458 INT32 r = combine_3_weights(resistances_3, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
459 INT32 g = combine_3_weights(resistances_3, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
468 INT32 r = combine_3_weights(resistances_3, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
469 INT32 g = combine_3_weights(resistances_3, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
476 g = combine_3_weights(resistances_3, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
477 b = combine_3_weights(resistances_3, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
H A Dd_m58.cpp422 #define combine_3_weights(w, b0, b1, b2) ((((b0 * w[2]) + (b1 * w[1]) + (b2 * w[0])) * 255) / (w[0]… in DrvPaletteInit() macro
433 INT32 g = combine_3_weights(weights_gb, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
434 INT32 b = combine_3_weights(weights_gb, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
443 INT32 g = combine_3_weights(weights_gb, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
444 INT32 b = combine_3_weights(weights_gb, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dbagman_vidhrdw.c78 r = combine_3_weights(weights_r, bit0, bit1, bit2); in PALETTE_INIT()
83 g = combine_3_weights(weights_g, bit0, bit1, bit2); in PALETTE_INIT()
H A Dtimelimt_vidhrdw.c51 r = combine_3_weights(weights_r, bit0, bit1, bit2); in PALETTE_INIT()
57 g = combine_3_weights(weights_g, bit0, bit1, bit2); in PALETTE_INIT()
H A Dtubep_vidhrdw.c67 r = combine_3_weights(weights_rg, bit0, bit1, bit2); in PALETTE_INIT()
72 g = combine_3_weights(weights_rg, bit0, bit1, bit2); in PALETTE_INIT()
259 r = combine_3_weights(weights_txt_rg, bit0, bit1, bit2); in PALETTE_INIT()
264 g = combine_3_weights(weights_txt_rg, bit0, bit1, bit2); in PALETTE_INIT()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dbagman_vidhrdw.c78 r = combine_3_weights(weights_r, bit0, bit1, bit2); in PALETTE_INIT()
83 g = combine_3_weights(weights_g, bit0, bit1, bit2); in PALETTE_INIT()
H A Dtubep_vidhrdw.c67 r = combine_3_weights(weights_rg, bit0, bit1, bit2); in PALETTE_INIT()
72 g = combine_3_weights(weights_rg, bit0, bit1, bit2); in PALETTE_INIT()
259 r = combine_3_weights(weights_txt_rg, bit0, bit1, bit2); in PALETTE_INIT()
264 g = combine_3_weights(weights_txt_rg, bit0, bit1, bit2); in PALETTE_INIT()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/irem/
H A Dd_m52.cpp578 INT32 r = combine_3_weights(weights_r, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
579 INT32 g = combine_3_weights(weights_g, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
589 INT32 r = combine_3_weights(weights_r, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
590 INT32 g = combine_3_weights(weights_g, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
607 INT32 g = combine_3_weights(weights_g, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
608 INT32 b = combine_3_weights(weights_b, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
H A Dd_m58.cpp423 #define combine_3_weights(w, b0, b1, b2) ((((b0 * w[2]) + (b1 * w[1]) + (b2 * w[0])) * 255) / (w[0]… in DrvPaletteInit() macro
434 INT32 g = combine_3_weights(weights_gb, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
435 INT32 b = combine_3_weights(weights_gb, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
444 INT32 g = combine_3_weights(weights_gb, BIT(promval,3), BIT(promval,4), BIT(promval,5)); in DrvPaletteInit()
445 INT32 b = combine_3_weights(weights_gb, BIT(promval,0), BIT(promval,1), BIT(promval,2)); in DrvPaletteInit()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/galaxian/
H A Dgal_gfx.cpp316 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in GalaxianCalcPalette()
321 g = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in GalaxianCalcPalette()
366 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in RockclimCalcPalette()
371 g = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in RockclimCalcPalette()
460 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in DarkplntCalcPalette()
506 b = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in DambustrCalcPalette()
511 r = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in DambustrCalcPalette()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/drivers/
H A Dshougi.c142 r = combine_3_weights(weights_r, bit0, bit1, bit2); in PALETTE_INIT()
148 g = combine_3_weights(weights_g, bit0, bit1, bit2); in PALETTE_INIT()
H A Dmazerbla.c587 g = combine_3_weights(weights_g, bit0, bit1, bit2); in WRITE_HANDLER()
593 b = combine_3_weights(weights_b, bit0, bit1, bit2); in WRITE_HANDLER()
976 g = combine_3_weights(weights_g, bit0, bit1, bit2); in READ_HANDLER()
982 b = combine_3_weights(weights_b, bit0, bit1, bit2); in READ_HANDLER()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/galaxian/
H A Dgal_gfx.cpp364 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in GalaxianCalcPalette()
369 g = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in GalaxianCalcPalette()
414 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in RockclimCalcPalette()
419 g = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in RockclimCalcPalette()
508 r = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in DarkplntCalcPalette()
554 b = combine_3_weights(rWeights, Bit0, Bit1, Bit2); in DambustrCalcPalette()
559 r = combine_3_weights(gWeights, Bit0, Bit1, Bit2); in DambustrCalcPalette()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/drivers/
H A Dshougi.c142 r = combine_3_weights(weights_r, bit0, bit1, bit2); in PALETTE_INIT()
148 g = combine_3_weights(weights_g, bit0, bit1, bit2); in PALETTE_INIT()
H A Dmazerbla.c587 g = combine_3_weights(weights_g, bit0, bit1, bit2); in WRITE_HANDLER()
593 b = combine_3_weights(weights_b, bit0, bit1, bit2); in WRITE_HANDLER()
976 g = combine_3_weights(weights_g, bit0, bit1, bit2); in READ_HANDLER()
982 b = combine_3_weights(weights_b, bit0, bit1, bit2); in READ_HANDLER()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pre90s/
H A Dd_spacefb.cpp381 UINT8 r = combine_3_weights(color_weights_rg, 0, rb, ra); in get_starfield_pens()
382 UINT8 g = combine_3_weights(color_weights_rg, 0, gb, ga); in get_starfield_pens()
408 UINT8 r = combine_3_weights(color_weights_rg, r0, r1, r2); in get_sprite_pens()
409 UINT8 g = combine_3_weights(color_weights_rg, g0, g1, g2); in get_sprite_pens()
H A Dd_cloak.cpp470 INT32 r = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
475 INT32 g = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
480 INT32 b = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
H A Dd_wiping.cpp414 INT32 r = combine_3_weights(rweights, bit0, bit1, bit2); in DrvPaletteInit()
419 INT32 g = combine_3_weights(gweights, bit0, bit1, bit2); in DrvPaletteInit()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/
H A Dd_spacefb.cpp381 UINT8 r = combine_3_weights(color_weights_rg, 0, rb, ra); in get_starfield_pens()
382 UINT8 g = combine_3_weights(color_weights_rg, 0, gb, ga); in get_starfield_pens()
408 UINT8 r = combine_3_weights(color_weights_rg, r0, r1, r2); in get_sprite_pens()
409 UINT8 g = combine_3_weights(color_weights_rg, g0, g1, g2); in get_sprite_pens()
H A Dd_cloak.cpp475 INT32 r = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
480 INT32 g = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
485 INT32 b = combine_3_weights(weights_rgb, bit0, bit1, bit2); in palette_update()
H A Dd_wiping.cpp414 INT32 r = combine_3_weights(rweights, bit0, bit1, bit2); in DrvPaletteInit()
419 INT32 g = combine_3_weights(gweights, bit0, bit1, bit2); in DrvPaletteInit()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/
H A Dresnet.h165 #define combine_3_weights(tab,w0,w1,w2) ((int)(((tab)[0]*(w0) + (tab)[1]*(w1) + (ta… macro
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/
H A Dresnet.h165 #define combine_3_weights(tab,w0,w1,w2) ((int)(((tab)[0]*(w0) + (tab)[1]*(w1) + (ta… macro
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/konami/
H A Dd_pooyan.cpp232 r = combine_3_weights(rweights, bit0, bit1, bit2); in DrvPaletteInit()
237 g = combine_3_weights(gweights, bit0, bit1, bit2); in DrvPaletteInit()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/konami/
H A Dd_pooyan.cpp232 r = combine_3_weights(rweights, bit0, bit1, bit2); in DrvPaletteInit()
237 g = combine_3_weights(gweights, bit0, bit1, bit2); in DrvPaletteInit()

12