/dports/japanese/timidity++-slang/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/ocp/ocp-0.2.90/playgmi/timidity-git/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-gtk/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-slang/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-emacs/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-xaw/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-xskin/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/audio/timidity++-motif/TiMidity++-2.15.0/interface/ |
H A D | w32g_dib.c | 69 void dib_set_pal1 ( w32g_dib_t *dib, int pal_index, RGBQUAD rq ) in dib_set_pal1() argument 73 if ( pal_index >= dib->pals_max ) in dib_set_pal1() 75 if ( memcmp ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ) == 0 ) in dib_set_pal1() 77 memcpy ( &dib->pals[pal_index], &rq, sizeof (RGBQUAD) ); in dib_set_pal1() 82 SetDIBColorTable ( hmdc, pal_index, 1, &dib->pals[pal_index] ); in dib_set_pal1()
|
/dports/graphics/grafx2/grafx2/src/ |
H A D | miscfileformats.c | 1179 int pal_index; in Test_KCF() local 1186 for (pal_index=0;pal_index<10 && !File_error;pal_index++) in Test_KCF() 1192 for (pal_index=0;pal_index<10;pal_index++) in Test_KCF() 1232 int pal_index; in Load_KCF() local 1245 for (pal_index=0;pal_index<10 && !File_error;pal_index++) in Load_KCF() 1259 for (pal_index=0;pal_index<10;pal_index++) in Load_KCF() 1297 for (pal_index=0;pal_index<header2.Height;pal_index++) in Load_KCF() 1352 int pal_index; in Save_KCF() local 1373 for (pal_index=0;pal_index<10;pal_index++) in Save_KCF() 1376 index=16+(pal_index*16)+color_index; in Save_KCF() [all …]
|
/dports/science/hdf/hdf-4.2.15/hdf/fortran/examples/ |
H A D | GR_read_palette.f | 29 integer file_id, gr_id, ri_id, ri_index, pal_id, pal_index 57 pal_index = 0 58 pal_id = mggltid(ri_id, pal_index)
|
/dports/science/hdf/hdf-4.2.15/mfhdf/dumper/ |
H A D | hdp_gr.c | 622 pal_index, in print_PaletteInfo() local 641 for( pal_index = 0; pal_index < num_pals; pal_index++ ) in print_PaletteInfo() 644 pal_id = GRgetlutid (ri_id, pal_index); in print_PaletteInfo() 683 pal_index, in print_Palette() local 709 for( pal_index = 0; pal_index < num_pals; pal_index++ ) in print_Palette() 712 pal_id = GRgetlutid (ri_id, pal_index); in print_Palette() 715 "print_Palette", (int)pal_index); in print_Palette() 721 "print_Palette", (int)pal_index); } in print_Palette() 728 "print_Palette", (int)pal_index); in print_Palette() 748 "print_Palette", (int)pal_index); in print_Palette() [all …]
|
/dports/graphics/imageworsener/imageworsener-1.3.4/src/ |
H A D | imagew-bmp.c | 611 int pal_index; in bmpr_convert_row_4() local 614 pal_index = (i&0x1) ? src[i/2]&0x0f : src[i/2]>>4; in bmpr_convert_row_4() 624 int pal_index; in bmpr_convert_row_2() local 627 pal_index = (src[i/4]>>(2*(3-i%4)))&0x03; in bmpr_convert_row_2() 637 int pal_index; in bmpr_convert_row_1() local 640 pal_index = (src[i/8] & (1<<(7-i%8))) ? 1 : 0; in bmpr_convert_row_1() 717 size_t pal_index; in bmpr_read_rle_internal() local 769 pal_index = (i%2) ? buf[i/2]&0x0f : buf[i/2]>>4; in bmpr_read_rle_internal() 772 pal_index = buf[i]; in bmpr_read_rle_internal() 789 pal_index = (i%2) ? buf[1]&0x0f : buf[1]>>4; in bmpr_read_rle_internal() [all …]
|
/dports/editors/hte/ht-e9e63373148da5d7df397d8075740d8c096ecb1d/ |
H A D | syntax.h | 69 virtual vcp getcolor_syntax(uint pal_index)=0; 114 virtual vcp getcolor_syntax(uint pal_index); 140 virtual vcp getcolor_syntax(uint pal_index);
|
/dports/emulators/mess/mame-mame0226/src/devices/sound/ |
H A D | vgm_visualizer.cpp | 601 int pal_index = 0; in draw_spectrogram() local 608 pal_index = 255 - level / 3; in draw_spectrogram() 616 line[(bar - 2) + x] = bar_y <= level ? pal[256 + pal_index] : pal[black_index]; in draw_spectrogram() 624 pal_index = 255 - (int)(level * 0.75f); in draw_spectrogram() 636 const uint32_t entry = pal[256 + pal_index]; in draw_spectrogram() 648 line[(bar - 2) + x] = pal[256 + pal_index]; in draw_spectrogram() 672 pal_index = 255 - level; in draw_spectrogram() 677 …bitmap.pix(SCREEN_HEIGHT - 1, (bar - 2) + x) = level > 0 ? pal[256 + pal_index] : pal[black_index]; in draw_spectrogram()
|
/dports/emulators/mame/mame-mame0226/src/devices/sound/ |
H A D | vgm_visualizer.cpp | 601 int pal_index = 0; in draw_spectrogram() local 608 pal_index = 255 - level / 3; in draw_spectrogram() 616 line[(bar - 2) + x] = bar_y <= level ? pal[256 + pal_index] : pal[black_index]; in draw_spectrogram() 624 pal_index = 255 - (int)(level * 0.75f); in draw_spectrogram() 636 const uint32_t entry = pal[256 + pal_index]; in draw_spectrogram() 648 line[(bar - 2) + x] = pal[256 + pal_index]; in draw_spectrogram() 672 pal_index = 255 - level; in draw_spectrogram() 677 …bitmap.pix(SCREEN_HEIGHT - 1, (bar - 2) + x) = level > 0 ? pal[256 + pal_index] : pal[black_index]; in draw_spectrogram()
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | gpworld.cpp | 310 int pal_index, r, g, b, a; in palette_write() local 315 pal_index = offset & 0xffe; in palette_write() 317 g = (m_palette_ram[pal_index] & 0xf0) << 0; in palette_write() 318 b = (m_palette_ram[pal_index] & 0x0f) << 4; in palette_write() 319 r = (m_palette_ram[pal_index+1] & 0x0f) << 4; in palette_write() 320 a = (m_palette_ram[pal_index+1] & 0x80) ? 0 : 255; /* guess */ in palette_write() 324 m_palette->set_pen_color((pal_index & 0xffe) >> 1, rgb_t(a, r, g, b)); in palette_write()
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | gpworld.cpp | 310 int pal_index, r, g, b, a; in palette_write() local 315 pal_index = offset & 0xffe; in palette_write() 317 g = (m_palette_ram[pal_index] & 0xf0) << 0; in palette_write() 318 b = (m_palette_ram[pal_index] & 0x0f) << 4; in palette_write() 319 r = (m_palette_ram[pal_index+1] & 0x0f) << 4; in palette_write() 320 a = (m_palette_ram[pal_index+1] & 0x80) ? 0 : 255; /* guess */ in palette_write() 324 m_palette->set_pen_color((pal_index & 0xffe) >> 1, rgb_t(a, r, g, b)); in palette_write()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | popeye_vidhrdw.c | 63 int i,pal_index; in convert_color_prom() local 67 pal_index = 16; in convert_color_prom() 93 palette_set_color(pal_index++,r,g,b); in convert_color_prom() 120 palette_set_color(pal_index++,r,g,b); in convert_color_prom()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | popeye_vidhrdw.c | 63 int i,pal_index; in convert_color_prom() local 67 pal_index = 16; in convert_color_prom() 93 palette_set_color(pal_index++,r,g,b); in convert_color_prom() 120 palette_set_color(pal_index++,r,g,b); in convert_color_prom()
|
/dports/graphics/p5-Imager/Imager-1.012/ICO/ |
H A D | imicon.c | 81 int pal_index; in read_one_icon() local 98 for (pal_index = 0; pal_index < image->palette_size; ++pal_index) { in read_one_icon() 100 c.rgba.r = image->palette[pal_index].r; in read_one_icon() 101 c.rgba.g = image->palette[pal_index].g; in read_one_icon() 102 c.rgba.b = image->palette[pal_index].b; in read_one_icon()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/gui/widgets/ |
H A D | command_bar.cpp | 240 void CommandBar::fill_square(uint8 pal_index) { in fill_square() argument 241 screen->fill(pal_index, area.left + selected_action * 18, area.top, 19, 1); // top row in fill_square() 242 screen->fill(pal_index, area.left + selected_action * 18, area.top + 18, 19, 1); // bottom row in fill_square() 243 screen->fill(pal_index, area.left + selected_action * 18, area.top + 1, 1, 17); // left side in fill_square() 244 screen->fill(pal_index, area.left + selected_action * 18 + 18, area.top + 1, 1, 17); // right side in fill_square()
|
/dports/emulators/cannonball/cannonball-0.34/src/main/engine/ |
H A D | opalette.cpp | 229 uint16_t pal_index = ++sky_palette_index; in cycle_sky_palette() local 232 if (pal_index >= 0x20) in cycle_sky_palette() 243 pal_index <<= 5; in cycle_sky_palette() 248 video.write_pal32(&pal_addr, pal_manip[i + pal_index]); in cycle_sky_palette()
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | k001006.cpp | 144 uint32_t k001006_device::fetch_texel(int page, int pal_index, int u, int v) in fetch_texel() argument 148 return m_palette[pal_index + texel]; in fetch_texel()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | k001006.cpp | 144 uint32_t k001006_device::fetch_texel(int page, int pal_index, int u, int v) in fetch_texel() argument 148 return m_palette[pal_index + texel]; in fetch_texel()
|