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

1 2 3

  /external/qemu/distrib/sdl-1.2.12/src/video/aalib/
SDL_aavideo.h 42 aa_palette palette; member in struct:SDL_PrivateVideoData
54 #define AA_palette (this->hidden->palette)
  /external/webkit/WebKit/qt/Api/
qwebpage_p.h 175 QPalette palette; member in class:QWebPagePrivate
qgraphicswebview.cpp 107 virtual QPalette palette() const;
274 QPalette QGraphicsWebViewPrivate::palette() const function in class:QGraphicsWebViewPrivate
276 return q->palette();
435 QPalette palette = QApplication::palette(); local
436 palette.setBrush(QPalette::Base, QColor::fromRgbF(0, 0, 0, 0));
437 page->setPalette(palette);
  /external/qemu/distrib/sdl-1.2.12/src/video/
SDL_bmp.c 58 SDL_Palette *palette; local
212 /* Load the palette, if any */
213 palette = (surface->format)->palette;
214 if ( palette ) {
220 SDL_RWread(src, &palette->colors[i].b, 1, 1);
221 SDL_RWread(src, &palette->colors[i].g, 1, 1);
222 SDL_RWread(src, &palette->colors[i].r, 1, 1);
223 palette->colors[i].unused = 0;
227 SDL_RWread(src, &palette->colors[i].b, 1, 1)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
SDL_sysvideo.cc 775 /* Is the system palette settable? */
779 SDL_Palette *palette; local
783 palette = _this->screen->format->palette;
785 palette->colors[i].r = cmap->color_list[i].red;
786 palette->colors[i].g = cmap->color_list[i].green;
787 palette->colors[i].b = cmap->color_list[i].blue;
  /external/qemu/distrib/sdl-1.2.12/src/video/photon/
SDL_ph_image.c 37 PgColor_t* palette=NULL; local
73 /* palette emulation code */
76 /* creating image palette */
77 palette=SDL_malloc(_Pg_MAX_PALETTE*sizeof(PgColor_t));
78 if (palette==NULL)
80 SDL_SetError("ph_SetupImage(): can't allocate memory for palette !\n");
83 PgGetPalette(palette);
86 if ((SDL_Image = PhCreateImage(NULL, screen->w, screen->h, type, palette, _Pg_MAX_PALETTE, 1)) == NULL)
89 SDL_free(palette);
193 /* store palette for fullscreen *
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzVideo.h 43 - SetColors sets palette correctly but clears framebuffer
88 CGDirectPaletteRef palette; /* palette of an 8-bit display */ member in struct:SDL_PrivateVideoData
134 #define palette (this->hidden->palette) macro
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscosFullScreenVideo.c 215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
536 int palette[256]; local
540 regs.r[2] = (int)palette;
547 palette[firstcolor] = ((colors->b) << 24) | ((colors->g) << 16) | ((colors->r) << 8);
554 regs.r[2] = (int)palette;
683 /* Note: Need to set ModeFlags to 128 and NColour variables to 255 get full 8 bit palette */
763 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
  /frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/
PNGImageWriter.java 73 // Each pixel is a palette index, a PLTE chunk must appear.
92 int imageHeight, int bitDepth, int colorType, int[] palette, int i, boolean b);
164 int[] palette = null; local
177 palette = new int[icm.getMapSize()];
178 icm.getRGBs(palette);
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
ScreenShotDialog.java 238 PaletteData palette = new PaletteData( local
244 mRawImage.bpp, palette, 1, mRawImage.data);
  /external/qemu/distrib/sdl-1.2.12/src/video/directfb/
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 if present *
1056 IDirectFBPalette *palette = this->screen->hwdata->palette; local
1093 IDirectFBPalette *palette = this->screen->hwdata->palette; local
    [all...]
  /external/quake/quake/src/QW/client/
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)
259 pal = palette;
593 void VID_Init(unsigned char *palette)
675 VID_SetPalette(palette);
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...]
  /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:__anon5499
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...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 126 // call only if color_type is PALETTE. Returns true if the ctable has alpha
331 png_colorp palette; local
335 png_get_PLTE(png_ptr, info_ptr, &palette, &num_palette);
365 *colorPtr++ = SkPreMultiplyARGB(*trans++, palette->red, palette->green, palette->blue);
366 palette++;
371 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue)
    [all...]
  /frameworks/base/opengl/libagl/
texture.cpp 444 size_t size = (1 << indexBits) * entrySize; // palette size
501 uint8_t const* const palette = (uint8_t*)data; local
507 *p++ = palette[index + 0];
508 *p++ = palette[index + 1];
514 *p++ = palette[index + 0];
515 *p++ = palette[index + 1];
518 *p++ = palette[index + 0];
519 *p++ = palette[index + 1];
525 uint8_t const* const palette = (uint8_t*)data; local
531 *p++ = palette[index + 0]
552 uint8_t const* const palette = (uint8_t*)data; local
    [all...]
  /ndk/samples/bitmap-plasma/jni/
plasma.c 130 /* Color palette used for rendering the plasma */
138 static uint16_t palette[PALETTE_SIZE]; variable
153 palette[nn] = make565(255, jj, 255-jj);
158 palette[nn] = make565(255-jj, 255, jj);
163 palette[nn] = make565(0, 255-jj, 255);
168 palette[nn] = make565(jj, 0, 255);
177 return palette[idx & (PALETTE_SIZE-1)];
  /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 */
286 /* it indicates how the palette is stored. Not */
289 /* palette :: A typeless pointer to the bitmap palette; this */
307 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]
927 png_colorp palette = png_ptr->palette; local
1096 png_colorp palette = png_ptr->palette; local
1123 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...]

Completed in 1158 milliseconds

1 2 3