Home
last modified time | relevance | path

Searched refs:h_ncolors (Results 1 – 10 of 10) sorted by relevance

/dports/graphics/urt/urt-3.1b1_12/get/gmr27/
H A DXtndRunget.c137 bg_color = (unsigned char *)malloc( 1 + (setup.h_ncolors/2) * 2 );
138 bread( (char *)bg_color, 1 + (setup.h_ncolors/2) * 2, fd );
218 if ( setup.h_ncolors != 3 )
220 setup.h_ncolors);
234 for ( i = 0; i < setup.h_ncolors; i++ )
272 if ( getchan > setup.h_ncolors && setup.h_ncolors > 1 )
276 getchan, setup.h_ncolors );
293 if ( setup.h_ncolors == 1 && getchan > 0 )
333 if ( setup.h_ncolors >= 3 )
377 if (setup.h_ncolors == 1)
/dports/graphics/netpbm/netpbm-10.91.01/urt/
H A Drle_getrow.c97 the_hdr->ncolors = setup.h_ncolors; in rle_get_setup()
101 if (!(setup.h_flags & H_NO_BACKGROUND) && setup.h_ncolors > 0) { in rle_get_setup()
104 MALLOCARRAY(the_hdr->bg_color, setup.h_ncolors); in rle_get_setup()
107 setup.h_ncolors); in rle_get_setup()
108 MALLOCARRAY(bg_color, 1 + (setup.h_ncolors / 2) * 2); in rle_get_setup()
111 1+(setup.h_ncolors / 2) * 2); in rle_get_setup()
112 fread((char *)bg_color, 1, 1 + (setup.h_ncolors / 2) * 2, infile); in rle_get_setup()
113 for (i = 0; i < setup.h_ncolors; ++i) in rle_get_setup()
H A Drle_code.h56 h_ncolors, member
H A DRunput.c185 setup.h_ncolors = the_hdr->ncolors; in RunSetup()
/dports/graphics/urt/urt-3.1b1_12/lib/
H A Drle_getrow.c100 the_hdr->ncolors = setup.h_ncolors;
104 if ( !(setup.h_flags & H_NO_BACKGROUND) && setup.h_ncolors > 0 )
107 (unsigned)(sizeof(int) * setup.h_ncolors) );
109 (unsigned)(1 + (setup.h_ncolors / 2) * 2) );
112 fread( (char *)bg_color, 1, 1 + (setup.h_ncolors / 2) * 2, infile );
113 for ( i = 0; i < setup.h_ncolors; i++ )
H A DRunput.c185 setup.h_ncolors = the_hdr->ncolors;
/dports/graphics/xli/xli-2006-11-10/
H A Drlelib.c80 h_ncolors, member
629 BREAD1( setup.h_ncolors ); in rle_get_setup()
639 globals->sv_ncolors = setup.h_ncolors; in rle_get_setup()
646 (unsigned)(sizeof(int) * setup.h_ncolors) ); in rle_get_setup()
648 (unsigned)(1 + (setup.h_ncolors / 2) * 2) ); in rle_get_setup()
649 zread( infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2 ); in rle_get_setup()
650 for ( i = 0; i < setup.h_ncolors; i++ ) in rle_get_setup()
/dports/graphics/urt/urt-3.1b1_12/include/
H A Drle_code.h56 h_ncolors, member
/dports/misc/magicpoint/magicpoint-1.13a/image/
H A Drlelib.c84 h_ncolors, member
854 globals->sv_ncolors = setup.h_ncolors;
861 (unsigned)(sizeof(int) * setup.h_ncolors));
863 (unsigned)(1 + (setup.h_ncolors / 2) * 2));
864 zread(infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2);
865 for (i = 0; i < setup.h_ncolors; i++)
/dports/x11/xloadimage/xloadimage.4.1/
H A Drlelib.c82 h_ncolors, member
850 globals->sv_ncolors = setup.h_ncolors;
857 (unsigned)(sizeof(int) * setup.h_ncolors) );
859 (unsigned)(1 + (setup.h_ncolors / 2) * 2) );
860 zread( infile, (byte *)bg_color, 1 + (setup.h_ncolors / 2) * 2 );
861 for ( i = 0; i < setup.h_ncolors; i++ )