HomeSort by relevance Sort by last modified time
    Searched defs:palette (Results 26 - 50 of 106) sorted by null

12 3 4 5

  /external/quake/quake/src/WinQuake/
vid_svgalib.cpp 239 unsigned char palette[768]; local
254 palette[i] = inf;
257 VID_SetPalette (palette);
447 void VID_SetPalette(byte *palette)
457 memcpy(vid_current_palette, palette, sizeof(vid_current_palette));
464 *(tp++) = *(palette++) >> 2;
472 int VID_SetMode (int modenum, unsigned char *palette)
538 VID_SetPalette(palette);
555 void VID_Init(unsigned char *palette)
603 VID_SetMode(current_mode, palette);
    [all...]
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...]
gl_vidlinuxglx.cpp 487 void VID_SetPalette (unsigned char *palette)
503 pal = palette;
695 unsigned char palette[768]; local
715 palette[i] = inf;
718 memcpy (pal, palette, sizeof(palette));
721 void VID_Init(unsigned char *palette)
900 VID_SetPalette(palette);
gl_warp.cpp 412 unsigned char palette[48]; member in struct:__anon11930
431 byte palette[768]; local
455 // seek to palette
457 fread (palette, 1, 768, f);
481 pix[0] = palette[dataByte*3];
482 pix[1] = palette[dataByte*3+1];
483 pix[2] = palette[dataByte*3+2];
  /external/webkit/Source/WebKit/qt/declarative/
qdeclarativewebview.cpp 993 return d->view->palette().base().color();
998 QPalette palette = d->view->palette(); local
999 if (palette.base().color() == color)
1001 palette.setBrush(QPalette::Base, color);
1002 d->view->setPalette(palette);
    [all...]
  /frameworks/native/opengl/libagl/
texture.cpp 439 size_t size = (1 << indexBits) * entrySize; // palette size
496 uint8_t const* const palette = (uint8_t*)data; local
502 *p++ = palette[index + 0];
503 *p++ = palette[index + 1];
509 *p++ = palette[index + 0];
510 *p++ = palette[index + 1];
513 *p++ = palette[index + 0];
514 *p++ = palette[index + 1];
520 uint8_t const* const palette = (uint8_t*)data; local
526 *p++ = palette[index + 0]
547 uint8_t const* const palette = (uint8_t*)data; local
    [all...]
  /gdk/samples/bitmap-plasma-llvm/jni/
plasmaLLVM.cpp 132 /* Color palette used for rendering the plasma */
140 static uint16_t palette[PALETTE_SIZE]; variable
155 palette[nn] = make565(255, jj, 255-jj);
160 palette[nn] = make565(255-jj, 255, jj);
165 palette[nn] = make565(0, 255-jj, 255);
170 palette[nn] = make565(jj, 0, 255);
179 return palette[idx & (PALETTE_SIZE-1)];
442 native_function(info.width, info.height, info.stride, time_ms, palette, pixels, angle_sin_tab);
  /external/freetype/include/freetype/
ftimage.h 221 /* An enumeration type to describe the format of a bitmap palette, */
225 /* ft_palette_mode_rgb :: The palette is an array of 3-byte RGB */
228 /* ft_palette_mode_rgba :: The palette is an array of 4-byte RGBA */
298 /* it indicates how the palette is stored. Not */
301 /* palette :: A typeless pointer to the bitmap palette; this */
319 void* palette; member in struct:FT_Bitmap_
    [all...]
  /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...]
pngtest.c 989 png_colorp palette; local
992 if (png_get_PLTE(read_ptr, read_info_ptr, &palette, &num_palette))
993 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette);
    [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.12/include/
SDL_video.h 63 SDL_Palette *palette; member in struct:SDL_PixelFormat
123 #define SDL_HWPALETTE 0x20000000 /* Surface has exclusive palette */
312 * at the video surface structure to determine the actual palette.
413 * it will return 0, and you should look at the surface palette to
414 * determine the actual color palette.
419 * will always return 1, and the palette is guaranteed to be set the way
429 * SDL_LOGPAL -- set logical palette, which controls how blits are mapped
431 * SDL_PHYSPAL -- set physical palette, which controls how pixels look on
474 * If the depth is 4 or 8 bits, an empty palette is allocated for the surface.
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windib/
SDL_dibvideo.c 270 moved palette creation here from "DIB_VideoInit" */
272 LOGPALETTE *palette; local
277 palette = (LOGPALETTE *)SDL_malloc(sizeof(*palette)+
279 palette->palVersion = 0x300;
280 palette->palNumEntries = ncolors;
282 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry);
284 screen_pal = CreatePalette(palette);
285 screen_logpal = palette;
375 /* Grab an identity palette if we are in a palettized mode *
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
SDL_dx5video.c 764 error = "No palette attached";
767 error = "No palette hardware";
2465 SDL_Palette *palette; local
    [all...]
  /external/quake/quake/src/QW/client/
gl_warp.c 363 unsigned char palette[48]; member in struct:__anon11569
382 byte palette[768]; local
406 // seek to palette
408 fread (palette, 1, 768, f);
432 pix[0] = palette[dataByte*3];
433 pix[1] = palette[dataByte*3+1];
434 pix[2] = palette[dataByte*3+2];
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 164 // call only if color_type is PALETTE. Returns true if the ctable has alpha
341 /* Optional call to gamma correct and add the background to the palette
343 * update the palette for you (ie you selected such a transform above).
369 upscale png's palette to a direct model
563 png_colorp palette; local
569 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette);
599 *colorPtr++ = SkPreMultiplyARGB(*trans++, palette->red, palette->green, palette->blue);
600 palette++
    [all...]
  /gdk/samples/quake/jni/
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...]
gl_warp.cpp 412 unsigned char palette[48]; member in struct:__anon17587
431 byte palette[768]; local
455 // seek to palette
457 fread (palette, 1, 768, f);
481 pix[0] = palette[dataByte*3];
482 pix[1] = palette[dataByte*3+1];
483 pix[2] = palette[dataByte*3+2];