/dports/games/libretro-prboom/libretro-prboom-cc80175/data/ |
H A D | rd_palette.c | 15 #define PAL_SIZE 256 macro 20 } hash[PAL_SIZE]; 35 for (i = PAL_SIZE, rgb = &palette_data[3*i]; rgb -= 3, --i >= 0; ) in make_hash() 38 hash[i].next = hash[i].first = PAL_SIZE; in make_hash() 41 for (i = PAL_SIZE, rgb = &palette_data[3*i]; rgb -= 3, --i >= 0; ) in make_hash() 43 int h = HASH(rgb) % PAL_SIZE; in make_hash() 58 if (size != 3*PAL_SIZE) in loadpal() 85 i = hash[HASH(rgb) % PAL_SIZE].first; in palette_getindex() 87 while (i < PAL_SIZE && memcmp(hash[i].rgb, rgb, 3) != 0) in palette_getindex() 90 return i < PAL_SIZE ? i : -1; in palette_getindex()
|
/dports/devel/allegro/allegro-4.4.3.1/src/misc/ |
H A D | colconv.c | 150 indexed_palette_size = PAL_SIZE*2; in create_indexed_palette() 154 indexed_palette_size = PAL_SIZE*4; in create_indexed_palette() 158 indexed_palette_size = PAL_SIZE; in create_indexed_palette() 188 _colorconv_indexed_palette[PAL_SIZE+n] = color<<16; in _set_colorconv_palette() 192 _colorconv_indexed_palette[PAL_SIZE+n] = (color>>8)+((color&0xff)<<24); in _set_colorconv_palette() 193 _colorconv_indexed_palette[PAL_SIZE*2+n] = (color>>16)+((color&0xffff)<<16); in _set_colorconv_palette() 194 _colorconv_indexed_palette[PAL_SIZE*3+n] = color<<8; in _set_colorconv_palette()
|
/dports/devel/allegro/allegro-4.4.3.1/src/ |
H A D | gfx.c | 231 ASSERT(to >= 0 && to < PAL_SIZE) in set_palette_range() 269 for (c=0; c<PAL_SIZE; c++) { in select_palette() 275 for (c=0; c<PAL_SIZE; c++) { in select_palette() 295 for (c=0; c<PAL_SIZE; c++) in unselect_palette() 299 for (c=0; c<PAL_SIZE; c++) in unselect_palette() 328 for (c=0; c<PAL_SIZE; c++) { in palette_expansion_table() 356 for (c=0; c<PAL_SIZE; c++) { in generate_332_palette() 401 ASSERT(to >= 0 && to < PAL_SIZE); in get_palette_range() 424 ASSERT(to >= 0 && to < PAL_SIZE); in fade_interpolate() 447 ASSERT(to >= 0 && to < PAL_SIZE); in fade_from_range() [all …]
|
H A D | color.c | 309 while (i<PAL_SIZE) { in bestfit_color() 568 for (i=1; i<PAL_SIZE; i++) { in create_rgb_table() 695 for (y=0; y<PAL_SIZE; y++) { in create_light_table() 715 for (y=0; y<PAL_SIZE; y++) { in create_light_table() 728 for (y=0; y<PAL_SIZE; y++) in create_light_table() 778 for (x=1; x<PAL_SIZE; x++) { in create_trans_table() 787 for (y=0; y<PAL_SIZE; y++) { in create_trans_table() 795 for (y=0; y<PAL_SIZE; y++) { in create_trans_table() 807 for (y=0; y<PAL_SIZE; y++) { in create_trans_table() 832 for (x=0; x<PAL_SIZE; x++) { in create_color_table() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/ |
H A D | capbowl.c | 27 #define PAL_SIZE 0x20 macro 68 max_col_offset = (max_col + 1) / 2 + PAL_SIZE; in capbowl_vh_start() 152 if (col >= PAL_SIZE) in capbowl_tms34061_setpixel() 251 int row1 = (row << 8 | PAL_SIZE); in capbowl_vh_screenrefresh() 256 for (col = PAL_SIZE; col < max_col_offset; col++) in capbowl_vh_screenrefresh()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/lib/allegro/ |
H A D | color.cpp | 201 assert(to >= 0 && to < PAL_SIZE); in fade_interpolate() 213 for (c = 0; c < PAL_SIZE; c++) { in select_palette() 224 for (c = 0; c < PAL_SIZE; c++) in unselect_palette() 481 while (i < PAL_SIZE) { in bestfit_color() 731 for (i = 1; i < PAL_SIZE; i++) { in create_rgb_table() 857 for (y = 0; y < PAL_SIZE; y++) { in create_light_table() 876 for (y = 0; y < PAL_SIZE; y++) { in create_light_table() 889 for (y = 0; y < PAL_SIZE; y++) in create_light_table() 938 for (x = 1; x < PAL_SIZE; x++) { in create_trans_table() 947 for (y = 0; y < PAL_SIZE; y++) { in create_trans_table() [all …]
|
H A D | color.h | 33 #define PAL_SIZE 256 macro 62 typedef RGB PALETTE[PAL_SIZE]; 71 byte data[PAL_SIZE][PAL_SIZE];
|
/dports/devel/allegro/allegro-4.4.3.1/include/allegro/ |
H A D | palette.h | 32 #define PAL_SIZE 256 macro 34 typedef RGB PALETTE[PAL_SIZE];
|
/dports/devel/allegro/allegro-4.4.3.1/tools/ |
H A D | colormap.c | 99 for (i=0; i<PAL_SIZE; i++) in modifier() 104 for (i=0; i<PAL_SIZE; i++) in modifier() 111 for (i=0; i<PAL_SIZE; i++) in modifier() 116 for (i=0; i<PAL_SIZE; i++) in modifier()
|
/dports/games/gtkradiant/GPL/GtkRadiant/contrib/gtkgensurf/ |
H A D | heretic.cpp | 33 #define PAL_SIZE 256 macro 43 palette_t palette[PAL_SIZE];
|
/dports/games/netradiant/netradiant-20150621-src/contrib/gtkgensurf/ |
H A D | heretic.cpp | 33 #define PAL_SIZE 256 macro 43 palette_t palette[PAL_SIZE];
|
/dports/devel/allegro/allegro-4.4.3.1/tools/plugins/ |
H A D | datpal.c | 46 for (c=0; c<PAL_SIZE; c++) { in compare_palettes() 66 for (c=0; c<PAL_SIZE; c++) in plot_palette() 83 for (c=0; c<PAL_SIZE; c++) in plot_palette()
|
/dports/devel/allegro/allegro-4.4.3.1/src/win/ |
H A D | wddmode.c | 116 PALETTEENTRY system_palette[PAL_SIZE]; in build_desktop_rgb_map() 122 GetSystemPaletteEntries(dc, 0, PAL_SIZE, system_palette); in build_desktop_rgb_map() 125 for (i=0; i<PAL_SIZE; i++) { in build_desktop_rgb_map()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/ |
H A D | decompressor.cpp | 346 #define PAL_SIZE 1284 macro 444 if (view_start != PAL_SIZE + 2) { /* +2 for the opcode */ in reorderPic() 445 memcpy(writer, seeker, view_start-PAL_SIZE-2); in reorderPic() 446 seeker += view_start - PAL_SIZE - 2; in reorderPic() 447 writer += view_start - PAL_SIZE - 2; in reorderPic()
|
/dports/games/scummvm/scummvm-2.5.1/engines/sci/resource/ |
H A D | decompressor.cpp | 351 #define PAL_SIZE 1284 macro 451 if (view_start != PAL_SIZE + 2) { /* +2 for the opcode */ in reorderPic() 452 memcpy(writer, seeker, view_start-PAL_SIZE-2); in reorderPic() 453 seeker += view_start - PAL_SIZE - 2; in reorderPic() 454 writer += view_start - PAL_SIZE - 2; in reorderPic()
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/qdata_heretic2/qcommon/ |
H A D | qfiles.h | 295 #define PAL_SIZE 256 macro 305 palette_t palette[PAL_SIZE];
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/common/ |
H A D | qfiles.h | 239 #define PAL_SIZE 256 macro 249 palette_t palette[PAL_SIZE];
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/qdata_heretic2/qcommon/ |
H A D | qfiles.h | 295 #define PAL_SIZE 256 macro 305 palette_t palette[PAL_SIZE];
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/common/ |
H A D | qfiles.h | 239 #define PAL_SIZE 256 macro 249 palette_t palette[PAL_SIZE];
|
/dports/games/scummvm/scummvm-2.5.1/engines/ags/ |
H A D | globals.cpp | 110 Common::fill((byte *)&_black_palette, (byte *)&_black_palette + PAL_SIZE, 0); in Globals() 111 Common::fill((byte *)&_current_palette, (byte *)&_current_palette + PAL_SIZE, 0); in Globals() 112 Common::fill((byte *)&_prev_current_palette, (byte *)&_prev_current_palette + PAL_SIZE, 0); in Globals()
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/qdata_heretic2/common/ |
H A D | qfiles.h | 258 #define PAL_SIZE 256 macro 268 palette_t palette[PAL_SIZE];
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/qdata_heretic2/common/ |
H A D | qfiles.h | 258 #define PAL_SIZE 256 macro 268 palette_t palette[PAL_SIZE];
|
/dports/multimedia/libdv/libdv-24218c36bed3b0a3bd5a57d5790ac12ade44e88d/encodedv/ |
H A D | dvavi.c | 134 #define PAL_SIZE 144000 macro 135 #define NODE_SIZE PAL_SIZE 444 isPAL = (len == PAL_SIZE); in read_avi()
|
/dports/devel/allegro/allegro-4.4.3.1/src/linux/ |
H A D | svgalib.c | 94 static int saved_palette[PAL_SIZE * 3]; 596 vga_getpalvec(0, PAL_SIZE, saved_palette); in svga_save() 609 vga_setpalvec(0, PAL_SIZE, saved_palette); in svga_restore()
|
/dports/graphics/alpng/alpng-1.3_4/src/ |
H A D | alpng_save.c | 245 MPUTL(PAL_SIZE * 3) in save_png_pf() 247 for (i = 0; i < PAL_SIZE; i++) { in save_png_pf()
|