HomeSort by relevance Sort by last modified time
    Searched defs:palette (Results 51 - 75 of 174) sorted by null

1 23 4 5 6 7

  /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/src/images/
SkImageDecoder_libpng.cpp 199 // call only if color_type is PALETTE. Returns true if the ctable has alpha
367 /* Optional call to gamma correct and add the background to the palette
369 * update the palette for you (ie you selected such a transform above).
409 upscale png's palette to a direct model
656 png_colorp palette; local
660 png_get_PLTE(png_ptr, info_ptr, &palette, &numPalette);
697 *colorPtr++ = proc(*trans++, palette->red, palette->green, palette->blue);
698 palette++
    [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 */
pngrtran.c 362 /* Dither file to 8-bit. Supply a palette, the current number
363 * of elements in the palette, the maximum number of elements
365 * of colors is greater then the maximum number, the palette will be
381 png_set_quantize(png_structp png_ptr, png_colorp palette,
420 /* Find the least used palette entries by starting a
451 /* Swap the palette around, and set up a table, if necessary */
467 palette[i] = palette[j];
489 tmp_color = palette[j];
490 palette[j] = palette[i]
1553 png_colorp palette = png_ptr->palette; local
1769 png_colorp palette = png_ptr->palette; local
1800 png_colorp palette = png_ptr->palette; local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/dvb/
video.h 186 typedef struct video_spu_palette { /* SPU Palette information */
188 __u8 *palette; member in struct:video_spu_palette
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/dvb/
video.h 186 typedef struct video_spu_palette { /* SPU Palette information */
188 __u8 *palette; member in struct:video_spu_palette
  /prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/dvb/
video.h 154 __u8 __user *palette; member in struct:video_spu_palette
  /prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/dvb/
video.h 154 __u8 __user *palette; member in struct:video_spu_palette
  /prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/dvb/
video.h 154 __u8 __user *palette; member in struct:video_spu_palette
  /prebuilts/tools/darwin-x86/sdl/include/SDL/
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...]
  /prebuilts/tools/linux-x86/sdl/include/SDL/
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...]
  /prebuilts/tools/windows/sdl/include/SDL/
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...]
  /development/ndk/platforms/android-3/include/linux/
videodev.h 73 __u16 palette; member in struct:video_picture
  /external/chromium_org/third_party/libpng/
pngrutil.c 513 /* Read and check the palette */
517 png_color palette[PNG_MAX_PALETTE_LENGTH]; local
559 png_warning(png_ptr, "Invalid palette chunk");
566 png_error(png_ptr, "Invalid palette chunk");
573 for (i = 0, pal_ptr = palette; i < num; i++, pal_ptr++)
589 palette[i].red = buf[0];
590 palette[i].green = buf[1];
591 palette[i].blue = buf[2];
633 png_set_PLTE(png_ptr, info_ptr, palette, num);
    [all...]
  /external/chromium_org/third_party/libwebp/enc/
vp8l.c 33 // Palette
43 // creates a palette and returns true, else returns false.
45 uint32_t palette[MAX_PALETTE_SIZE],
91 palette[num_colors] = colors[i];
96 qsort(palette, num_colors, sizeof(*palette), CompareColors);
175 // palette-friendly input typically uses less literals
878 const uint32_t* palette, int palette_size,
883 if ((palette[i] & 0xffff00ffu) != 0) {
892 const int color = (palette[i] >> 8) & 0xff
941 uint32_t* const palette = enc->palette_; local
    [all...]
  /external/chromium_org/tools/telemetry/third_party/png/
png.py 40 # 2009-02-26 David: Palette support (writing).
272 def check_palette(palette):
273 """Check a palette argument (to the :class:`Writer` class) for validity.
274 Returns the palette as a list if okay; raises an exception otherwise.
278 if palette is None:
281 p = list(palette)
283 raise ValueError("a palette must have between 1 and 256 entries")
288 "palette entry %d: entries must be 3- or 4-tuples." % i)
293 "palette entry %d: all 4-tuples must precede all 3-tuples" % i)
297 "palette entry %d: values must be integer: 0 <= x <= 255" % i
1957 def palette(self, alpha='natural'): member in class:Reader
    [all...]
  /external/libpng/
pngrutil.c 892 /* Read and check the palette */
896 png_color palette[PNG_MAX_PALETTE_LENGTH]; local
959 for (i = 0, pal_ptr = palette; i < num; i++, pal_ptr++)
975 palette[i].red = buf[0];
976 palette[i].green = buf[1];
977 palette[i].blue = buf[2];
1020 /* TODO: png_set_PLTE has the side effect of setting png_ptr->palette to it
    [all...]
pngstruct.h 285 png_colorp palette; /* palette from the input file */ member in struct:png_struct_def
286 png_uint_16 num_palette; /* number of color entries in palette */
290 int num_palette_max; /* maximum palette index found in IDAT */
379 int cur_palette; /* current push library palette index */
394 png_bytep quantize_index; /* index translation for palette files */
475 in the palette */
477 palette color */
pngtest.c 1149 png_colorp palette; local
    [all...]
  /external/qemu/distrib/libpng-1.2.46/
pngrutil.c 529 /* Read and check the palette */
533 png_color palette[PNG_MAX_PALETTE_LENGTH]; local
575 png_warning(png_ptr, "Invalid palette chunk");
582 png_error(png_ptr, "Invalid palette chunk");
589 for (i = 0, pal_ptr = palette; i < num; i++, pal_ptr++)
605 palette[i].red = buf[0];
606 palette[i].green = buf[1];
607 palette[i].blue = buf[2];
649 png_set_PLTE(png_ptr, info_ptr, palette, num);
    [all...]
  /external/qemu-pc-bios/vgabios/
vgabios.c 831 Bit8u line,mmask,*palette,vpti; local
872 // if palette loading (bit 3 of modeset ctl = 0)
880 // From which palette
883 palette=&palette0;
886 palette=&palette1;
889 palette=&palette2;
892 palette=&palette3;
898 {outb(VGAREG_DAC_DATA,palette[(i*3)+0]);
899 outb(VGAREG_DAC_DATA,palette[(i*3)+1]);
900 outb(VGAREG_DAC_DATA,palette[(i*3)+2])
    [all...]
  /external/webp/src/enc/
vp8l.c 33 // Palette
43 // creates a palette and returns true, else returns false.
45 uint32_t palette[MAX_PALETTE_SIZE],
91 palette[num_colors] = colors[i];
96 qsort(palette, num_colors, sizeof(*palette), CompareColors);
175 // palette-friendly input typically uses less literals
878 const uint32_t* palette, int palette_size,
883 if ((palette[i] & 0xffff00ffu) != 0) {
892 const int color = (palette[i] >> 8) & 0xff
941 uint32_t* const palette = enc->palette_; local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/
videodev.h 92 __u16 palette; /* Palette in use */ member in struct:video_picture

Completed in 3612 milliseconds

1 23 4 5 6 7