HomeSort by relevance Sort by last modified time
    Searched full:ncolors (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/qemu/distrib/sdl-1.2.15/test/
testwin.c 27 int ncolors; local
44 ncolors = picture->format->palette->ncolors;
45 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
46 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
48 ncolors*sizeof(SDL_Color));
53 ncolors = 256;
54 colors = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
55 cmap = (SDL_Color *)malloc(ncolors*sizeof(SDL_Color));
70 if ( ! SDL_SetColors(screen, colors, 0, ncolors) &
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xcms.h 205 unsigned int /* ncolors */,
216 unsigned int /* ncolors */,
269 unsigned int /* ncolors */,
277 unsigned int /* ncolors */
371 unsigned int /* ncolors */,
379 unsigned int /* ncolors */,
387 unsigned int /* ncolors */,
423 unsigned int /* ncolors */
432 unsigned int /* ncolors */,
439 unsigned int /* ncolors */,
    [all...]
XWDFile.h 87 CARD32 ncolors B32; /* Number of XWDColor structures */
98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xcms.h 205 unsigned int /* ncolors */,
216 unsigned int /* ncolors */,
269 unsigned int /* ncolors */,
277 unsigned int /* ncolors */
371 unsigned int /* ncolors */,
379 unsigned int /* ncolors */,
387 unsigned int /* ncolors */,
423 unsigned int /* ncolors */
432 unsigned int /* ncolors */,
439 unsigned int /* ncolors */,
    [all...]
XWDFile.h 87 CARD32 ncolors B32; /* Number of XWDColor structures */
98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xcms.h 205 unsigned int /* ncolors */,
216 unsigned int /* ncolors */,
269 unsigned int /* ncolors */,
277 unsigned int /* ncolors */
371 unsigned int /* ncolors */,
379 unsigned int /* ncolors */,
387 unsigned int /* ncolors */,
423 unsigned int /* ncolors */
432 unsigned int /* ncolors */,
439 unsigned int /* ncolors */,
    [all...]
XWDFile.h 87 CARD32 ncolors B32; /* Number of XWDColor structures */
98 * the file. XWDFileHeader.ncolors tells how many XWDColor structures
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_Palette.3 8 int ncolors;
SDL_SetColors.3 8 \fBint \fBSDL_SetColors\fP\fR(\fBSDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors\fR);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
Xcup.h 54 int* /* ncolors */
61 int /* ncolors */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
Xcup.h 54 int* /* ncolors */
61 int /* ncolors */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/
Xcup.h 54 int* /* ncolors */
61 int /* ncolors */
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_pixels.c 122 int ncolors = 1<<bpp; local
124 fprintf(stderr,"bpp=%d ncolors=%d\n",bpp,ncolors);
132 (format->palette)->ncolors = ncolors;
134 (format->palette)->ncolors*sizeof(SDL_Color));
186 for(i=0; i < ncolors; ++i) {
208 } else if ( ncolors == 2 ) {
219 (format->palette)->ncolors*sizeof(SDL_Color));
323 for ( i=0; i<pal->ncolors; ++i )
    [all...]
SDL_pixels_c.h 46 extern void SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors);
SDL_bmp.c 252 palette->ncolors = biClrUsed;
467 biClrUsed = surface->format->palette->ncolors;
489 int ncolors; local
492 ncolors = surface->format->palette->ncolors;
493 for ( i=0; i<ncolors; ++i ) {
  /external/jpeg/
jquant1.c 28 * image. We use a map consisting of all combinations of Ncolors[i] color
29 * values for the i'th component. The Ncolors[] values are chosen so that
156 int Ncolors[MAX_Q_COMPS]; /* # of values alloced to each component */
186 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
188 /* and fill in Ncolors[] array to indicate choice. */
189 /* Return value is total number of colors (product of Ncolors[] values). */
216 Ncolors[i] = iroot;
229 /* calculate new total_colors if Ncolors[j] is incremented */
230 temp = total_colors / Ncolors[j];
231 temp *= Ncolors[j]+1; /* done in long arith to avoid oflo *
    [all...]
rdcolmap.c 51 int ncolors = cinfo->actual_number_of_colors; local
55 for (index = 0; index < ncolors; index++) {
63 if (ncolors >= (MAXJSAMPLE+1))
67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
rdrle.c 124 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
166 (JDIMENSION) (width * source->header.ncolors),
296 for (channel = 0; channel < source->header.ncolors; channel++) {
  /external/qemu/distrib/jpeg-6b/
jquant1.c 28 * image. We use a map consisting of all combinations of Ncolors[i] color
29 * values for the i'th component. The Ncolors[] values are chosen so that
156 int Ncolors[MAX_Q_COMPS]; /* # of values alloced to each component */
186 select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
188 /* and fill in Ncolors[] array to indicate choice. */
189 /* Return value is total number of colors (product of Ncolors[] values). */
216 Ncolors[i] = iroot;
229 /* calculate new total_colors if Ncolors[j] is incremented */
230 temp = total_colors / Ncolors[j];
231 temp *= Ncolors[j]+1; /* done in long arith to avoid oflo *
    [all...]
rdcolmap.c 51 int ncolors = cinfo->actual_number_of_colors; local
55 for (index = 0; index < ncolors; index++) {
63 if (ncolors >= (MAXJSAMPLE+1))
67 colormap0[ncolors] = (JSAMPLE) R;
68 colormap1[ncolors] = (JSAMPLE) G;
69 colormap2[ncolors] = (JSAMPLE) B;
rdrle.c 124 if (source->header.ncolors == 1 && source->header.ncmap == 0) {
127 } else if (source->header.ncolors == 1 && source->header.ncmap == 1) {
131 } else if (source->header.ncolors == 1 && source->header.ncmap == 3) {
135 } else if (source->header.ncolors == 3 && source->header.ncmap == 3) {
139 } else if (source->header.ncolors == 3 && source->header.ncmap == 0) {
166 (JDIMENSION) (width * source->header.ncolors),
296 for (channel = 0; channel < source->header.ncolors; channel++) {
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11video.c 66 static int X11_SetColors(_THIS, int firstcolor, int ncolors,
987 int ncolors; local
990 ncolors = SDL_Visual->map_entries;
991 SDL_XPixels = SDL_malloc(ncolors * sizeof(int));
996 SDL_memset(SDL_XPixels, 0, ncolors * sizeof(*SDL_XPixels));
1469 int i, ncolors; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
SDL_epocvideo.cpp 118 static int EPOC_SetColors(_THIS, int firstcolor, int ncolors,
290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
292 if ((firstcolor+ncolors) > 256)
299 for(int i = firstcolor; i < ncolors; i++)
310 for(int i = firstcolor; i < ncolors; i++)
323 for(int i = firstcolor; i < ncolors; i++)
337 if(EpocSdlEnv::SetPalette(firstcolor, ncolors, palette) == KErrNone)
  /external/qemu/distrib/sdl-1.2.15/src/video/nanox/
SDL_nxvideo.c 45 static int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors) ;
397 // ncolors <= 256
398 int NX_SetColors (_THIS, int firstcolor, int ncolors, SDL_Color * colors)
405 if (ncolors > 256) return 0 ;
407 pal.count = ncolors ;
408 for (i = 0; i < ncolors; ++ i) {
  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_ph_video.c 47 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
594 static int ph_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
608 for (i=firstcolor; i<firstcolor+ncolors; i++)
622 for (i=firstcolor; i<firstcolor+ncolors; i++)
630 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0);
637 PgSetPalette(&syspalph[firstcolor], 0, firstcolor, ncolors, Pg_PALSET_GLOBAL, 0);

Completed in 1097 milliseconds

1 2 3 4