/external/quake/quake/src/QW/client/ |
gl_vidlinux_x11.c | 124 unsigned char palette[768]; local 139 palette[i] = inf; 142 VID_SetPalette (palette); 436 void VID_SetPalette (unsigned char *palette) 453 pal = palette; 638 void VID_Init(unsigned char *palette) 759 VID_SetPalette(palette);
|
vid_svgalib.c | 240 unsigned char palette[768]; local 255 palette[i] = inf; 258 VID_SetPalette (palette); 448 void VID_SetPalette(byte *palette) 458 memcpy(vid_current_palette, palette, sizeof(vid_current_palette)); 465 *(tp++) = *(palette++) >> 2; 473 int VID_SetMode (int modenum, unsigned char *palette) 539 VID_SetPalette(palette); 556 void VID_Init(unsigned char *palette) 606 VID_SetMode(current_mode, palette); [all...] |
gl_warp.c | 363 unsigned char palette[48]; member in struct:__anon14159 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/quake/quake/src/WinQuake/ |
gl_vidlinux.cpp | 214 void VID_SetPalette (unsigned char *palette) 231 pal = palette; 582 unsigned char palette[768]; local 602 palette[i] = inf; 605 memcpy (pal, palette, sizeof(palette)); 608 void VID_Init(unsigned char *palette) 688 Check_Gamma(palette); 689 VID_SetPalette(palette);
|
screen.cpp | 533 unsigned char palette[48]; member in struct:__anon14652 548 int rowbytes, byte *palette) 571 Q_memset (pcx->palette,0,sizeof(pcx->palette)); 596 // write the palette 597 *pack++ = 0x0c; // palette ID byte 599 *pack++ = *palette++; 792 cl.cshifts[0].percent = 0; // no area contents palette on next frame
|
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:__anon14520 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/skia/src/images/ |
SkImageDecoder_libpng.cpp | 165 // call only if color_type is PALETTE. Returns true if the ctable has alpha 342 /* Optional call to gamma correct and add the background to the palette 344 * update the palette for you (ie you selected such a transform above). 370 upscale png's palette to a direct model 569 png_colorp palette; local 575 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette); 605 *colorPtr++ = SkPreMultiplyARGB(*trans++, palette->red, palette->green, palette->blue); 606 palette++ [all...] |
/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...] |
/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.15/include/ |
SDL_video.h | 71 SDL_Palette *palette; member in struct:SDL_PixelFormat 139 #define SDL_HWPALETTE 0x20000000 /**< Surface has exclusive palette */ 349 * at the video surface structure to determine the actual palette. 456 * it will return 0, and you should look at the surface palette to 457 * determine the actual color palette. 462 * will always return 1, and the palette is guaranteed to be set the way 472 * SDL_LOGPAL -- set logical palette, which controls how blits are mapped 474 * SDL_PHYSPAL -- set physical palette, which controls how pixels look on 521 * If the depth is 4 or 8 bits, an empty palette is allocated for the surface. [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windib/ |
SDL_dibvideo.c | 304 moved palette creation here from "DIB_VideoInit" */ 306 LOGPALETTE *palette; local 311 palette = (LOGPALETTE *)SDL_malloc(sizeof(*palette)+ 313 palette->palVersion = 0x300; 314 palette->palNumEntries = ncolors; 316 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry); 318 screen_pal = CreatePalette(palette); 319 screen_logpal = palette; 411 /* Grab an identity palette if we are in a palettized mode * [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/ |
SDL_dx5video.c | 780 error = "No palette attached"; 783 error = "No palette hardware"; 2484 SDL_Palette *palette; local [all...] |
/external/skia/legacy/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...] |
/external/webp/src/enc/ |
vp8l.c | 35 // Palette 45 // creates a palette and returns true, else returns false. 47 uint32_t palette[MAX_PALETTE_SIZE], 93 palette[num_colors] = colors[i]; 98 qsort(palette, num_colors, sizeof(*palette), CompareColors); 847 uint32_t* const palette = enc->palette_; local 852 // Replace each input pixel by corresponding palette index. 871 if (pix == palette[i]) { 882 // Save palette to bitstream [all...] |
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pngstruct.h | 122 png_colorp palette; /* palette from the input file */ member in struct:png_struct_def 123 png_uint_16 num_palette; /* number of color entries in palette */ 127 int num_palette_max; /* maximum palette index found in IDAT */ 218 int cur_palette; /* current push library palette index */ 233 png_bytep quantize_index; /* index translation for palette files */ 312 in the palette */ 314 palette color */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/dvb/ |
video.h | 188 typedef struct video_spu_palette { /* SPU Palette information */ 190 uint8_t *palette; member in struct:video_spu_palette
|