Lines Matching defs:width
22 printf("MacOS X system CLUT. The first %d bytes must be the width, height, and depth\n", 3 * sizeof(short));
36 short width = 0, height = 0, depth = 0;
63 else if (strcmp(argv[next], "-w") == 0) // image width (pixels)
64 width = strtoul(argv[++next], &ptr, 0);
66 width = strtoul(argv[++next], &ptr, 0);
100 fread((void *) &width, sizeof(short), 1, stream);
101 printf("got width: %d\n", width);
107 if (!(width && height && depth)) {
108 printf("Invalid image file header (width, height, or depth is 0)\n");
112 pixels = width * height;
169 fprintf( out_stream, "\t%d, ", width); /* panic dialog x */
213 int width[17] = {9,7,8,6,9,7,8,7,8,7,10,7,9,10,7,6,4};
225 printf("got width: %d\n", totalwidth);
231 if (!(width && height && depth)) {
232 printf("Invalid numbers file header (width, height, or depth is 0)\n");
236 // allocate array to hold each number's RLE encoding (20 = 2xwidest width[i] value, 17 = num chars)
239 pixmap[item] = (int *) malloc( 2*width[item]*height*sizeof(int) );
250 for( col=0; col < width[item]; col++) {
300 fprintf( out_stream, "/* w */ %d,\n", width[item]);
312 if( line >= width[item]) {