HomeSort by relevance Sort by last modified time
    Searched refs:palette (Results 1 - 25 of 212) sorted by null

1 2 3 4 5 6 7 8 9

  /external/quake/quake/src/QW/client/
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);
vid_null.c 18 void VID_SetPalette (unsigned char *palette)
22 void VID_ShiftPalette (unsigned char *palette)
26 void VID_Init (unsigned char *palette)
  /external/quake/quake/src/WinQuake/
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);
vid_null.cpp 37 void VID_SetPalette (unsigned char *palette)
41 void VID_ShiftPalette (unsigned char *palette)
45 void VID_Init (unsigned char *palette)
gl_vidandroid.cpp 81 void VID_SetPalette (unsigned char *palette)
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)
334 Check_Gamma(palette);
    [all...]
vid_dos.cpp 90 void VID_Init (unsigned char *palette)
123 VID_SetMode (vid_modenum, palette);
198 int VID_SetMode (int modenum, unsigned char *palette)
243 if (!VID_SetMode (vid_modenum, palette)) // restore prior mode
265 (*pcurrentmode->setpalette) (&vid, pcurrentmode, palette);
285 void VID_SetPalette (unsigned char *palette)
287 if (palette != vid_current_palette)
288 Q_memcpy(vid_current_palette, palette, 768);
298 void VID_ShiftPalette (unsigned char *palette)
301 VID_SetPalette (palette);
    [all...]
  /external/opencv/otherlibs/highgui/
utils.cpp 341 void CvtPaletteToGray( const PaletteEntry* palette, uchar* grayPalette, int entries )
346 icvCvt_BGR2Gray_8u_C3C1R( (uchar*)(palette + i), 0, grayPalette + i, 0, cvSize(1,1) );
351 void FillGrayPalette( PaletteEntry* palette, int bpp, bool negative )
359 palette[i].b = palette[i].g = palette[i].r = (uchar)val;
360 palette[i].a = 0;
365 bool IsColorPalette( PaletteEntry* palette, int bpp )
371 if( palette[i].b != palette[i].g |
    [all...]
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/
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->colors[i].g=g
    [all...]
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->colors[i].b, 1, 1)
    [all...]
  /external/webkit/Source/WebKit/qt/WebCoreSupport/
FullScreenVideoWidget.cpp 44 QPalette palette(this->palette());
45 palette.setColor(QPalette::Base, Qt::black);
46 palette.setColor(QPalette::Background, Qt::black);
47 setPalette(palette);
  /packages/apps/Calendar/src/com/android/calendar/event/
EventColorCache.java 85 ArrayList<Integer> palette = mColorPaletteMap.get(key); local
86 Integer[] sortedColors = new Integer[palette.size()];
87 Arrays.sort(palette.toArray(sortedColors), comparator);
88 palette.clear();
90 palette.add(color);
92 mColorPaletteMap.put(key, palette);
  /external/qemu/distrib/sdl-1.2.15/src/video/aalib/
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/
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, 0, 256)
    [all...]
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);
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->colors[*pixels].b)
    [all...]
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 to black, so the user won'
    [all...]
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/
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,
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[j] = palette[i]
938 png_colorp palette = png_ptr->palette; local
1107 png_colorp palette = png_ptr->palette; local
1134 png_colorp palette = png_ptr->palette; local
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
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,
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[j] = palette[i]
875 png_colorp palette = png_ptr->palette; local
1031 png_colorp palette = png_ptr->palette; local
1055 png_colorp palette = png_ptr->palette; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/caca/
SDL_cacavideo.h 63 #define Caca_palette (this->hidden->palette)
  /sdk/emulator/opengl/host/libs/Translator/GLcommon/
PaletteTexture.cpp 119 const unsigned char* palette = static_cast<const unsigned char *>(data); local
122 // so we jump over it to get to the colos indices in the palette
126 const unsigned char* imageIndices = palette + paletteSizeBytes;
140 int leftBytes = ((palette + imageSize) /* the end of data pointer*/
159 Color c = paletteColor(palette,paletteIndex,internalformat);
  /external/webkit/Tools/QtTestBrowser/
locationedit.cpp 102 QColor backgroundColor = QApplication::palette().color(QPalette::Base);
104 QPalette p = palette();
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
ProtoBufUtils.java 47 PaletteData palette = new PaletteData(redMask, greenMask, blueMask); local
52 palette,
  /external/qemu/distrib/sdl-1.2.15/src/video/ipod/
SDL_ipodvideo.c 366 current->format->palette->colors[i+j].r = 85 * j;
367 current->format->palette->colors[i+j].g = 85 * j;
368 current->format->palette->colors[i+j].b = 85 * j;
384 if (SDL_VideoSurface && SDL_VideoSurface->format && SDL_VideoSurface->format->palette) {
388 SDL_VideoSurface->format->palette->colors[i+j].r = 85 * j;
389 SDL_VideoSurface->format->palette->colors[i+j].g = 85 * j;
390 SDL_VideoSurface->format->palette->colors[i+j].b = 85 * j;

Completed in 804 milliseconds

1 2 3 4 5 6 7 8 9