/dports/devel/etl/synfig-1.2.2/gtkmm-osx/jpeg-6b/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/benchmarks/glmark2/glmark2-2021.12/src/libjpeg-turbo/ |
H A D | rdcolmap.c | 52 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 56 for (index = 0; index < ncolors; index++) { in add_map_entry() 64 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 68 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 69 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 70 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/graphics/megapov/megapov-1.2.1/libraries/jpeg/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/x11-toolkits/p5-Tk/Tk-804.035/JPEG/jpeg/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/graphics/xv-m17n/xv-3.10a/jpeg/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/graphics/synfig/synfig-1.2.2/gtkmm-osx/jpeg-6b/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/graphics/synfigstudio/synfig-1.2.2/gtkmm-osx/jpeg-6b/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/libjpeg-turbo/libjpeg-turbo-2.0.6/ |
H A D | rdcolmap.c | 52 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 56 for (index = 0; index < ncolors; index++) { in add_map_entry() 64 if (ncolors >= (MAXJSAMPLE + 1)) in add_map_entry() 68 colormap0[ncolors] = (JSAMPLE)R; in add_map_entry() 69 colormap1[ncolors] = (JSAMPLE)G; in add_map_entry() 70 colormap2[ncolors] = (JSAMPLE)B; in add_map_entry()
|
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/mozjpeg-sys-1.0.1/vendor/ |
H A D | rdcolmap.c | 52 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 56 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE + 1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE)R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE)G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE)B; in add_map_entry()
|
/dports/graphics/povray36/povray-3.6.1/libraries/jpeg/ |
H A D | rdcolmap.c | 51 int ncolors = cinfo->actual_number_of_colors; in add_map_entry() local 55 for (index = 0; index < ncolors; index++) { in add_map_entry() 63 if (ncolors >= (MAXJSAMPLE+1)) in add_map_entry() 67 colormap0[ncolors] = (JSAMPLE) R; in add_map_entry() 68 colormap1[ncolors] = (JSAMPLE) G; in add_map_entry() 69 colormap2[ncolors] = (JSAMPLE) B; in add_map_entry()
|
/dports/print/gutenprint/gutenprint-5.3.3/src/main/ |
H A D | print-weave.c | 81 int ncolors; /* How many colors */ member 890 retval[i].ncolors = ncolors; in allocate_lineoff() 903 retval[i].ncolors = ncolors; in allocate_lineactive() 916 retval[i].ncolors = ncolors; in allocate_linecount() 929 retval[i].ncolors = ncolors; in allocate_linebounds() 943 retval[i].ncolors = ncolors; in allocate_linebuf() 1008 int ncolors, in stp_initialize_weave() argument 1082 if (ncolors > 1) in stp_initialize_weave() 1083 for(i = 0; i < ncolors; i++) in stp_initialize_weave() 1087 for (i = 0; i < ncolors; i++) in stp_initialize_weave() [all …]
|
/dports/print/gimp-gutenprint/gutenprint-5.3.3/src/main/ |
H A D | print-weave.c | 81 int ncolors; /* How many colors */ member 890 retval[i].ncolors = ncolors; in allocate_lineoff() 903 retval[i].ncolors = ncolors; in allocate_lineactive() 916 retval[i].ncolors = ncolors; in allocate_linecount() 929 retval[i].ncolors = ncolors; in allocate_linebounds() 943 retval[i].ncolors = ncolors; in allocate_linebuf() 1008 int ncolors, in stp_initialize_weave() argument 1082 if (ncolors > 1) in stp_initialize_weave() 1083 for(i = 0; i < ncolors; i++) in stp_initialize_weave() 1087 for (i = 0; i < ncolors; i++) in stp_initialize_weave() [all …]
|
/dports/japanese/timidity++-slang/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/audio/ocp/ocp-0.2.90/playgmi/timidity-git/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/audio/timidity++-motif/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; 216 h.ncolors = 0; 240 if ( h->ncolors == 0 ) return True; 243 for ( i=0 ; i<h->ncolors ; i++ ) { 252 for ( i=0 ; i<h->ncolors ; i++ ) { 393 if ( col >= bmp->ncolors ) col=0; 446 if ( b>=bmp->ncolors ) b=0; 485 if ( j>=bmp->ncolors ) j=0; 492 if ( j>=bmp->ncolors ) j=0; 527 if ( b>=bmp->ncolors ) b=0; [all …]
|
/dports/audio/timidity++/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/audio/timidity++-gtk/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; 216 h.ncolors = 0; 240 if ( h->ncolors == 0 ) return True; 243 for ( i=0 ; i<h->ncolors ; i++ ) { 252 for ( i=0 ; i<h->ncolors ; i++ ) { 393 if ( col >= bmp->ncolors ) col=0; 446 if ( b>=bmp->ncolors ) b=0; 485 if ( j>=bmp->ncolors ) j=0; 492 if ( j>=bmp->ncolors ) j=0; 527 if ( b>=bmp->ncolors ) b=0; [all …]
|
/dports/audio/timidity++-emacs/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; 216 h.ncolors = 0; 240 if ( h->ncolors == 0 ) return True; 243 for ( i=0 ; i<h->ncolors ; i++ ) { 252 for ( i=0 ; i<h->ncolors ; i++ ) { 393 if ( col >= bmp->ncolors ) col=0; 446 if ( b>=bmp->ncolors ) b=0; 485 if ( j>=bmp->ncolors ) j=0; 492 if ( j>=bmp->ncolors ) j=0; 527 if ( b>=bmp->ncolors ) b=0; in xskin_pipe_read() [all …]
|
/dports/audio/timidity++-xskin/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/audio/timidity++-xaw/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/audio/timidity++-slang/TiMidity++-2.15.0/interface/ |
H A D | xskin_loadBMP.c | 52 int ncolors; member 216 h.ncolors = 0; in loadBMPHeader() 240 if ( h->ncolors == 0 ) return True; in loadBMPColors() 243 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 252 for ( i=0 ; i<h->ncolors ; i++ ) { in loadBMPColors() 393 if ( col >= bmp->ncolors ) col=0; in Draw8bit() 446 if ( b>=bmp->ncolors ) b=0; in DrawCompressed4bit() 485 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 492 if ( j>=bmp->ncolors ) j=0; in DrawCompressed4bit() 527 if ( b>=bmp->ncolors ) b=0; in DrawCompressed8bit() [all …]
|
/dports/x11/xscreensaver/xscreensaver-5.44/hacks/ |
H A D | starfish.c | 52 int ncolors; member 348 if (st->colors && st->ncolors) in reset_starfish() 349 free_colors (xgwa.screen, st->cmap, st->colors, st->ncolors); in reset_starfish() 357 st->ncolors = get_integer_resource (st->dpy, "colors", "Colors"); in reset_starfish() 358 if (st->ncolors < 2) st->ncolors = 2; in reset_starfish() 359 if (st->ncolors <= 2) mono_p = True; in reset_starfish() 370 st->colors, &st->ncolors, in reset_starfish() 374 st->colors, &st->ncolors, in reset_starfish() 377 if (st->ncolors < 2) st->ncolors = 2; in reset_starfish() 378 if (st->ncolors <= 2) mono_p = True; in reset_starfish() [all …]
|
/dports/graphics/meh/meh-0.3-27-g69f653a/src/ |
H A D | bmp.c | 17 int ncolors; member 56 b->ncolors = 0; in bmp_open() 73 b->ncolors = getlong(f); in bmp_open() 76 if(!b->ncolors){ in bmp_open() 77 b->ncolors = 1 << b->bpp; in bmp_open() 90 b->colours = malloc(b->ncolors * sizeof(struct rgb_t)); in bmp_open() 92 for(i = 0; i < b->ncolors; i++){ in bmp_open()
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gdk/x11/ |
H A D | gdkcolor-x11.c | 439 gint ncolors) in gdk_colormap_change() argument 481 size = (ncolors < max_colors) ? (ncolors) : (max_colors); in gdk_colormap_change() 494 size = (ncolors < max_colors) ? (ncolors) : (max_colors); in gdk_colormap_change() 507 size = (ncolors < max_colors) ? (ncolors) : (max_colors); in gdk_colormap_change() 757 gint ncolors, in gdk_colormap_alloc_colors_writeable() argument 787 return ncolors - i; in gdk_colormap_alloc_colors_writeable() 816 gint ncolors, in gdk_colormap_alloc_colors_private() argument 832 for (i = 0; i < ncolors; i++) in gdk_colormap_alloc_colors_private() 901 gint ncolors, in gdk_colormap_alloc_colors_shared() argument 913 for (i = 0; i < ncolors; i++) in gdk_colormap_alloc_colors_shared() [all …]
|
/dports/misc/vxl/vxl-3.3.2/core/vil1/file_formats/ |
H A D | vil1_tiff.cxx | 467 cm[0] = new int[ncolors]; in read_header() 468 cm[1] = new int[ncolors]; in read_header() 469 cm[2] = new int[ncolors]; in read_header() 472 cm[0][i] = (ncolors-1)-i; in read_header() 473 cm[1][i] = (ncolors-1)-i; in read_header() 477 SetColorNum(ncolors); in read_header() 488 cm[0] = new int[ncolors]; in read_header() 489 cm[1] = new int[ncolors]; in read_header() 490 cm[2] = new int[ncolors]; in read_header() 502 SetColorNum(ncolors); in read_header() [all …]
|