Searched defs:ncolors (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/libjpeg_turbo/
H A Drdcolmap.c51 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;
/external/jpeg/
H A Drdcolmap.c51 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;
/external/qemu/distrib/jpeg-6b/
H A Drdcolmap.c51 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;
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/
H A DGifHeaderParser.java218 * @param ncolors int number of colors to read
221 protected int[] readColorTable(int ncolors) { argument
222 int nbytes = 3 * ncolors;
232 while (i < ncolors) {
/external/qemu/distrib/sdl-1.2.15/src/video/dummy/
H A DSDL_nullvideo.c55 static int DUMMY_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
223 int DUMMY_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestwin.c27 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...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_bmp.c252 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 ) {
H A DSDL_pixels.c122 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;
423 SDL_ApplyGamma(Uint16 *gamma, SDL_Color *colors, SDL_Color *output, int ncolors) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c47 static int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
352 int AA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
356 for ( i=0; i < ncolors; i++ ) {
/external/qemu/distrib/sdl-1.2.15/src/video/dc/
H A DSDL_dcvideo.c42 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
309 static int DC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/
H A DSDL_ggivideo.c55 static int GGI_SetColors(_THIS, int firstcolor, int ncolors,
355 int GGI_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
361 for (i = 0; i < ncolors; i++)
368 ggiSetPalette(VIS, firstcolor, ncolors, pal);
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c45 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) argument
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/nds/
H A DSDL_ndsvideo.c44 static int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
472 int NDS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
483 int i,j=firstcolor+ncolors;
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_video.c47 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) argument
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);
/external/qemu/distrib/sdl-1.2.15/src/video/picogui/
H A DSDL_pgvideo.c42 static int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
316 int PG_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_sysvideo.cc58 static int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
367 int QT_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/
H A DSDL_wimpvideo.c48 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
355 int WIMP_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
362 for (j = 0; j < ncolors; j++)
H A DSDL_riscosFullScreenVideo.c65 static int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
533 int FULLSCREEN_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
545 while(ncolors--)
/external/qemu/distrib/sdl-1.2.15/src/video/svga/
H A DSDL_svgavideo.c57 static int SVGA_SetColors(_THIS, int firstcolor, int ncolors,
538 int SVGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
542 for(i = 0; i < ncolors; i++) {
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
H A DSDL_epocvideo.cpp118 static int EPOC_SetColors(_THIS, int firstcolor, int ncolors,
290 int EPOC_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
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/vgl/
H A DSDL_vglvideo.c51 static int VGL_SetColors(_THIS, int firstcolor, int ncolors,
438 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
442 for(i = 0; i < ncolors; i++) {
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysvideo.cc50 static int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
788 int BE_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/macrom/
H A DSDL_romvideo.c59 static int ROM_SetColors(_THIS, int firstcolor, int ncolors,
671 static int ROM_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
684 if ( (firstcolor+ncolors) > ((**cTab).ctSize+1) ) {
689 for ( i=0; i< ncolors; ++i ) {
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsvideo.c48 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
661 static int GS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsvideo.c56 static int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors);
572 int WSCONS_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors) argument

Completed in 268 milliseconds

12