/external/quake/quake/src/QW/client/ |
H A D | vid.h | 62 void VID_SetPalette (unsigned char *palette);
65 void VID_ShiftPalette (unsigned char *palette);
68 void VID_Init (unsigned char *palette);
70 // the palette data will go away after the call, so it must be copied off if
79 int VID_SetMode (int modenum, unsigned char *palette);
|
H A D | vid_null.c | 18 void VID_SetPalette (unsigned char *palette) argument 22 void VID_ShiftPalette (unsigned char *palette) argument 26 void VID_Init (unsigned char *palette) argument
|
H A D | gl_vidlinux_svga.c | 143 unsigned char palette[768]; local 158 palette[i] = inf; 161 VID_SetPalette (palette); 242 void VID_SetPalette (unsigned char *palette) argument 259 pal = palette; 593 void VID_Init(unsigned char *palette) argument 675 VID_SetPalette(palette);
|
H A D | vid_svgalib.c | 240 unsigned char palette[768]; local 255 palette[i] = inf; 258 VID_SetPalette (palette); 448 void VID_SetPalette(byte *palette) argument 458 memcpy(vid_current_palette, palette, sizeof(vid_current_palette)); 465 *(tp++) = *(palette++) >> 2; 473 int VID_SetMode (int modenum, unsigned char *palette) argument 539 VID_SetPalette(palette); 556 void VID_Init(unsigned char *palette) argument 606 VID_SetMode(current_mode, palette); [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | vid.h | 62 void VID_SetPalette (unsigned char *palette);
65 void VID_ShiftPalette (unsigned char *palette);
68 void VID_Init (unsigned char *palette);
70 // the palette data will go away after the call, so it must be copied off if
79 int VID_SetMode (int modenum, unsigned char *palette);
|
H A D | vid_null.cpp | 37 void VID_SetPalette (unsigned char *palette)
argument 41 void VID_ShiftPalette (unsigned char *palette)
argument 45 void VID_Init (unsigned char *palette)
argument
|
H A D | gl_vidandroid.cpp | 81 void VID_SetPalette (unsigned char *palette) argument 101 pal = palette; 130 PMPBEGIN(("Creating 15to8 palette")); 154 PMPEND(("Creating 15to8 palette")); 274 unsigned char palette[768]; local 292 palette[i] = (unsigned char) inf; 296 memcpy (pal, palette, sizeof(palette)); 299 void VID_Init(unsigned char *palette) argument 334 Check_Gamma(palette); [all...] |
H A D | vid_dos.cpp | 90 void VID_Init (unsigned char *palette)
argument 123 VID_SetMode (vid_modenum, palette);
198 int VID_SetMode (int modenum, unsigned char *palette)
argument 243 if (!VID_SetMode (vid_modenum, palette)) // restore prior mode
265 (*pcurrentmode->setpalette) (&vid, pcurrentmode, palette);
285 void VID_SetPalette (unsigned char *palette)
argument 287 if (palette != vid_current_palette)
288 Q_memcpy(vid_current_palette, palette, 768);
298 void VID_ShiftPalette (unsigned char *palette)
argument 301 VID_SetPalette (palette);
[all...] |
/external/opencv/otherlibs/highgui/ |
H A D | utils.cpp | 341 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries ) argument 346 icvCvt_BGR2Gray_8u_C3C1R( (uchar*)(palette + i), 0, grayPalette + i, 0, cvSize(1,1) ); 351 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative ) argument 359 palette[i].b = palette[i].g = palette[i].r = (uchar)val; 360 palette[i].a = 0; 365 bool IsColorPalette( PaletteEntry* palette, int bpp ) argument 371 if( palette[i].b != palette[ [all...] |
H A D | utils.h | 96 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative = false ); 97 bool IsColorPalette( PaletteEntry* palette, int bpp ); 98 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries ); 104 uchar* FillColorRow8( uchar* data, uchar* indices, int len, PaletteEntry* palette ); 105 uchar* FillGrayRow8( uchar* data, uchar* indices, int len, uchar* palette ); 106 uchar* FillColorRow4( uchar* data, uchar* indices, int len, PaletteEntry* palette ); 107 uchar* FillGrayRow4( uchar* data, uchar* indices, int len, uchar* palette ); 108 uchar* FillColorRow1( uchar* data, uchar* indices, int len, PaletteEntry* palette ); 109 uchar* FillGrayRow1( uchar* data, uchar* indices, int len, uchar* palette );
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_pixels.c | 56 format->palette = NULL; 126 format->palette = (SDL_Palette *)SDL_malloc(sizeof(SDL_Palette)); 127 if ( format->palette == NULL ) { 132 (format->palette)->ncolors = ncolors; 133 (format->palette)->colors = (SDL_Color *)SDL_malloc( 134 (format->palette)->ncolors*sizeof(SDL_Color)); 135 if ( (format->palette)->colors == NULL ) { 141 /* create palette according to masks */ 190 format->palette->colors[i].r=r; 194 format->palette [all...] |
H A D | SDL_bmp.c | 58 SDL_Palette *palette; local 231 /* Load the palette, if any */ 232 palette = (surface->format)->palette; 233 if ( palette ) { 239 SDL_RWread(src, &palette->colors[i].b, 1, 1); 240 SDL_RWread(src, &palette->colors[i].g, 1, 1); 241 SDL_RWread(src, &palette->colors[i].r, 1, 1); 242 palette->colors[i].unused = 0; 246 SDL_RWread(src, &palette [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
H A D | FullScreenVideoWidget.cpp | 44 QPalette palette(this->palette()); 45 palette.setColor(QPalette::Base, Qt::black); 46 palette.setColor(QPalette::Background, Qt::black); 47 setPalette(palette);
|
H A D | QtFallbackWebPopup.cpp | 130 QPalette palette = m_combo->palette(); 132 palette.setColor(QPalette::Background, backgroundColor); 134 palette.setColor(QPalette::Foreground, foregroundColor); 135 m_combo->setPalette(palette);
|
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/ |
H A D | SDL_aavideo.h | 42 aa_palette palette; member in struct:SDL_PrivateVideoData 54 #define AA_palette (this->hidden->palette)
|
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | threadwin.c | 46 if ( icon->format->palette == NULL ) { 47 fprintf(stderr, "Icon must have a palette!\n"); 58 icon->format->palette->colors[*pixels].r, 59 icon->format->palette->colors[*pixels].g, 60 icon->format->palette->colors[*pixels].b); 230 SDL_Color palette[256]; local 304 palette[i].r = 255-i; 305 palette[i].g = 255-i; 306 palette[i].b = 255-i; 308 SDL_SetColors(screen, palette, [all...] |
H A D | testbitmap.c | 65 SDL_Color palette[256]; local 108 palette[i].r = 255-i; 109 palette[i].g = 255-i; 110 palette[i].b = 255-i; 112 SDL_SetColors(screen, palette, 0, 256);
|
H A D | testwm.c | 28 SDL_Color palette[256]; local 41 palette[i].r = 255-i; 42 palette[i].g = 255-i; 43 palette[i].b = 255-i; 45 SDL_SetColors(screen, palette, 0, 256); 88 if ( icon->format->palette == NULL ) { 89 fprintf(stderr, "Icon must have a palette!\n"); 100 icon->format->palette->colors[*pixels].r, 101 icon->format->palette->colors[*pixels].g, 102 icon->format->palette [all...] |
H A D | testpalette.c | 4 * A simple test of runtime palette modification for animation 79 /* set the palette to the logical screen palette so that blits 81 SDL_SetColors(bg, screen->format->palette->colors, 0, 256); 112 /* copy palette */ 113 SDL_SetColors(z, s->format->palette->colors, 114 0, s->format->palette->ncolors); 169 /* Ask explicitly for 8bpp and a hardware palette */ 183 boatcols = boat[0]->format->palette->ncolors; 189 * First set the physical screen palette t [all...] |
H A D | graywin.c | 109 SDL_Color palette[NUM_COLORS]; local 124 palette[i].r = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 125 palette[i].g = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 126 palette[i].b = (NUM_COLORS-1)-i * (256 / NUM_COLORS); 128 SDL_SetColors(screen, palette, 0, NUM_COLORS);
|
/external/libpng/ |
H A D | pngrtran.c | 145 /* Dither file to 8 bit. Supply a palette, the current number 146 * of elements in the palette, the maximum number of elements 148 * of colors is greater then the maximum number, the palette will be 164 png_set_dither(png_structp png_ptr, png_colorp palette, argument 202 /* Find the least used palette entries by starting a 232 /* Swap the palette around, and set up a table, if necessary */ 247 palette[i] = palette[j]; 269 tmp_color = palette[j]; 270 palette[ 938 png_colorp palette = png_ptr->palette; local 1107 png_colorp palette = png_ptr->palette; local 1134 png_colorp palette = png_ptr->palette; local 2569 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument 2621 png_correct_palette(png_structp png_ptr, png_colorp palette, int num_palette) argument 3694 png_do_expand_palette(png_row_infop row_info, png_bytep row, png_colorp palette, png_bytep trans, int num_trans) argument [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
H A D | pngrtran.c | 122 /* Dither file to 8 bit. Supply a palette, the current number 123 * of elements in the palette, the maximum number of elements 125 * of colors is greater then the maximum number, the palette will be 141 png_set_dither(png_structp png_ptr, png_colorp palette, argument 176 /* Find the least used palette entries by starting a 205 /* swap the palette around, and set up a table, if necessary */ 219 palette[i] = palette[j]; 240 tmp_color = palette[j]; 241 palette[ 875 png_colorp palette = png_ptr->palette; local 1031 png_colorp palette = png_ptr->palette; local 1055 png_colorp palette = png_ptr->palette; local 2462 png_build_grayscale_palette(int bit_depth, png_colorp palette) argument 2508 png_correct_palette(png_structp png_ptr, png_colorp palette, int num_palette) argument 3564 png_do_expand_palette(png_row_infop row_info, png_bytep row, png_colorp palette, png_bytep trans, int num_trans) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/caca/ |
H A D | SDL_cacavideo.h | 63 #define Caca_palette (this->hidden->palette)
|
/external/webkit/Tools/QtTestBrowser/ |
H A D | locationedit.cpp | 102 QColor backgroundColor = QApplication::palette().color(QPalette::Base); 104 QPalette p = palette();
|
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/ |
H A D | SDL_DirectFB_video.c | 215 IDirectFBPalette *palette; member in struct:private_hwdata 293 SDL_Palette *palette; local 296 palette = SDL_calloc (1, sizeof(SDL_Palette)); 297 if (!palette) 310 palette->ncolors = size; 311 palette->colors = colors; 313 return palette; 354 if (!format->palette) 355 format->palette = AllocatePalette(256); 608 /* And its palette i 1056 IDirectFBPalette *palette = this->screen->hwdata->palette; local 1093 IDirectFBPalette *palette = this->screen->hwdata->palette; local [all...] |