| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| texcompress_cpal.c | 64 * Get a color/entry from the palette. 67 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, 70 memcpy(pixel, palette + info->size * index, info->size); 79 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, 92 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 93 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); 96 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 103 pix += get_palette_entry(info, palette, ind[i], pix); 145 * compressed palette format into a regular GLubyte/RGBA glTexImage2D() call. 151 GLsizei imageSize, const void *palette) [all...] |
| texcompress_cpal.h | 35 GLsizei imageSize, const void *palette);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| texcompress_cpal.c | 64 * Get a color/entry from the palette. 67 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, 70 memcpy(pixel, palette + info->size * index, info->size); 79 paletted_to_color(const struct cpal_format_info *info, const GLubyte *palette, 92 pix += get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 93 pix += get_palette_entry(info, palette, ind[i] & 0xf, pix); 96 get_palette_entry(info, palette, (ind[i] >> 4) & 0xf, pix); 103 pix += get_palette_entry(info, palette, ind[i], pix); 145 * compressed palette format into a regular GLubyte/RGBA glTexImage2D() call. 151 GLsizei imageSize, const void *palette) [all...] |
| texcompress_cpal.h | 35 GLsizei imageSize, const void *palette);
|
| /xsrc/external/mit/mesa-demos/dist/src/egl/opengles1/ |
| torus.c | 187 GLubyte palette[256 * 4 + SZ * SZ]; local 195 /* init palette */ 200 palette[0] = 255; 201 palette[1] = 255; 202 palette[2] = 255; 204 palette[3] = 127; 205 palette[4] = 127; 206 palette[5] = 127; 211 palette[0] = 255; 212 palette[1] = 255 [all...] |
| /xsrc/external/mit/xf86-video-sunffb/dist/src/ |
| ffb_wid.c | 119 if (wid->palette != -1) 121 ((wid->palette << 4) & FFBDAC_PAC2_WLUT_PTBL); 140 table->wid_pool[i].palette = -1; 237 int i, depth, direct, static_greyscale, palette, channel; local 264 palette = -1; 269 palette = 0; 272 palette = 0; 274 palette = 1; 276 palette = 2; 283 table->wid_pool[i].palette == palette & [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/xvmc/ |
| i915_xvmc.h | 74 unsigned char palette[3][16]; member in struct:_i915XvMCSubpicture
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/xvmc/ |
| i915_xvmc.h | 74 unsigned char palette[3][16]; member in struct:_i915XvMCSubpicture
|
| /xsrc/external/mit/xf86-video-intel-old/dist/src/xvmc/ |
| i915_xvmc.h | 88 unsigned char palette[3][16]; member in struct:_i915XvMCSubpicture
|
| /xsrc/external/mit/xf86-video-geode/dist/src/cim/ |
| cim_rtns.h | 211 unsigned long palette); 212 int vg_set_display_palette(unsigned long *palette); 243 int vg_get_display_palette(unsigned long *palette); 266 int df_set_video_palette(unsigned long *palette); 267 int df_set_video_palette_entry(unsigned long index, unsigned long palette); 303 int df_get_video_palette_entry(unsigned long index, unsigned long *palette); 304 int df_get_video_palette(unsigned long *palette);
|
| /xsrc/external/mit/xf86-video-nsc/dist/src/gfx/ |
| vid_5530.c | 205 int cs5530_set_video_palette(unsigned long *palette); 274 unsigned long *palette); 883 * This routine loads the video hardware palette. If a NULL pointer is 884 * specified, the palette is bypassed (for CS5530, this means loading the 885 * palette with identity values). 890 cs5530_set_video_palette(unsigned long *palette) 893 gfx_set_video_palette(unsigned long *palette) 898 /* LOAD CS5530 VIDEO PALETTE */ 902 if (palette) 903 entry = palette[i] [all...] |
| disp_gu1.c | 155 int gu1_set_display_palette_entry(unsigned long index, unsigned long palette); 156 int gu1_set_display_palette(unsigned long *palette); 227 unsigned long *palette); 228 void gu1_get_display_palette(unsigned long *palette); 1091 * This routine sets an palette entry in the display controller. 1097 gu1_set_display_palette_entry(unsigned long index, unsigned long palette) 1100 gfx_set_display_palette_entry(unsigned long index, unsigned long palette) 1109 data = ((palette >> 2) & 0x0003F) | 1110 ((palette >> 4) & 0x00FC0) | ((palette >> 6) & 0x3F000) [all...] |
| disp_gu2.c | 151 int gu2_set_display_palette_entry(unsigned long index, unsigned long palette); 152 int gu2_set_display_palette(unsigned long *palette); 223 unsigned long *palette); 224 void gu2_get_display_palette(unsigned long *palette); 549 /* ENABLE TIMING GENERATOR, TIM. REG. UPDATES, PALETTE BYPASS */ 938 * This routine sets an palette entry in the display controller. 944 gu2_set_display_palette_entry(unsigned long index, unsigned long palette) 947 gfx_set_display_palette_entry(unsigned long index, unsigned long palette) 954 WRITE_REG32(MDC_PAL_DATA, palette); 962 * This routine sets the entire palette in the display controller [all...] |
| vid_1400.c | 507 * This routine loads the video hardware palette. If a NULL pointer is 508 * specified, the palette is bypassed (for SC1400, this means loading the 509 * palette with identity values). 514 sc1400_set_video_palette(unsigned long *palette) 517 gfx_set_video_palette(unsigned long *palette) 522 /* LOAD SC1400 VIDEO PALETTE */ 526 if (palette) 527 entry = palette[i];
|
| gfx_vid.c | 766 gfx_set_video_palette(unsigned long *palette) 772 status = cs5530_set_video_palette(palette); 776 status = sc1200_set_video_palette(palette); 780 status = redcloud_set_video_palette(palette); 790 gfx_set_video_palette_entry(unsigned long index, unsigned long palette) 796 status = cs5530_set_video_palette_entry(index, palette); 800 status = sc1200_set_video_palette_entry(index, palette); 804 status = redcloud_set_video_palette_entry(index, palette); 1307 gfx_get_video_palette_entry(unsigned long index, unsigned long *palette) 1313 status = cs5530_get_video_palette_entry(index, palette); [all...] |
| /xsrc/external/mit/xf86-video-geode/dist/src/gfx/ |
| gfx_priv.h | 145 int gu1_set_display_palette_entry(unsigned long index, unsigned long palette); 146 int gu1_set_display_palette(unsigned long *palette); 200 int gu1_get_display_palette_entry(unsigned long index, unsigned long *palette); 201 void gu1_get_display_palette(unsigned long *palette); 286 int gu2_set_display_palette_entry(unsigned long index, unsigned long palette); 287 int gu2_set_display_palette(unsigned long *palette); 351 int gu2_get_display_palette_entry(unsigned long index, unsigned long *palette); 352 void gu2_get_display_palette(unsigned long *palette); 571 int cs5530_set_video_palette(unsigned long *palette); 591 int cs5530_get_video_palette_entry(unsigned long index, unsigned long *palette); [all...] |
| gfx_vid.c | 671 gfx_set_video_palette(unsigned long *palette) 677 status = cs5530_set_video_palette(palette); 681 status = sc1200_set_video_palette(palette); 685 status = redcloud_set_video_palette(palette); 695 gfx_set_graphics_palette(unsigned long *palette) 701 status = redcloud_set_graphics_palette(palette); 712 gfx_set_video_palette_entry(unsigned long index, unsigned long palette) 718 status = cs5530_set_video_palette_entry(index, palette); 722 status = sc1200_set_video_palette_entry(index, palette); 726 status = redcloud_set_video_palette_entry(index, palette); [all...] |
| vid_5530.c | 687 * This routine loads the video hardware palette. If a NULL pointer is 688 * specified, the palette is bypassed (for CS5530, this means loading the 689 * palette with identity values). 694 cs5530_set_video_palette(unsigned long *palette) 697 gfx_set_video_palette(unsigned long *palette) 702 /* LOAD CS5530 VIDEO PALETTE */ 706 if (palette) 707 entry = palette[i]; 718 * This routine loads a single entry of the video hardware palette. 723 cs5530_set_video_palette_entry(unsigned long index, unsigned long palette) [all...] |
| disp_gu1.c | 819 * This routine sets an palette entry in the display controller. 825 gu1_set_display_palette_entry(unsigned long index, unsigned long palette) 828 gfx_set_display_palette_entry(unsigned long index, unsigned long palette) 837 data = ((palette >> 2) & 0x0003F) | 838 ((palette >> 4) & 0x00FC0) | ((palette >> 6) & 0x3F000); 847 * This routine sets the entire palette in the display controller. 858 gu1_set_display_palette(unsigned long *palette) 861 gfx_set_display_palette(unsigned long *palette) 867 if (palette) { [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_x11.c | 44 HPALETTE palette; local 60 /* allocate a bunch of memory for the logical palette (assume 256 61 colors in a Win32 palette */ 66 /* set the entries in the logical palette */ 70 /* start with a copy of the current system palette */ 79 /* fill in an RGBA color palette */ 91 palette = CreatePalette(logical); 94 SelectPalette(XHDC, palette, FALSE); 97 return palette; 111 /* KLUDGE: set XHDC to 0 if the palette should NOT be realized afte [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/ |
| xvmc_private.h | 90 /* optional palette for this subpicture */ 91 struct pipe_sampler_view *palette; member in struct:__anon2214
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/ |
| xvmc_private.h | 90 /* optional palette for this subpicture */ 91 struct pipe_sampler_view *palette; member in struct:__anon4591
|
| /xsrc/external/mit/freetype/dist/src/base/ |
| ftcolor.c | 85 *apalette = ttface->palette;
|
| /xsrc/external/mit/xf86-video-geode/dist/src/ |
| gx_vga.c | 56 static unsigned int palette[256]; variable 267 /* SAVE PALETTE DATA */ 270 palette[i] = gfx_inb(0x3C9); 430 /* RESTORE PALETTE DATA */ 433 gfx_outb(0x3C9, palette[i]);
|
| /xsrc/external/mit/xf86-video-nsc/dist/src/ |
| nsc_gx2_vga.c | 156 static unsigned int palette[256]; variable 366 /* SAVE PALETTE DATA */ 370 palette[i] = gfx_inb(0x3C9); 541 /* RESTORE PALETTE DATA */ 545 gfx_outb(0x3C9, palette[i]);
|