Lines Matching defs:width

36 					int width,
41 int width,
46 int width,
58 int width,
165 short width; /* how many pixels wide is this data */
206 unsigned short width = 0, height = 0;
336 width = image_header.width;
340 printf("Image info: width: %d height: %d depth: %d...\n", width, height, depth);
342 if (!(width && height && depth)) {
343 fprintf(stderr,"Err: Invalid image file header (width, height, or depth is 0)\n");
374 pixels = convert24to8bitIndex( data, height, width, &data );
386 pixels = convert8bitIndexto24( data, height, width, &data );
392 pixels = convert8bitIndexto8( data, height, width, &data );
427 width = image.pd_width;
431 printf("Image info: width: %d height: %d depth: %d...\n", image.pd_width, image.pd_height, image.pd_depth);
433 if (!(width && height && depth)) {
434 fprintf(stderr,"Err: Invalid image file header (width, height, or depth is 0)\n");
486 for (col=0; col < width; col++) {
528 WriteQTRawFile( ostream, data, height, width, depth, pixels );
579 fwrite(&width, sizeof(width), 1, ostream);
638 fprintf( out_stream, "%d, ", width); /* panic dialog x */
1304 convert24to8bitIndex( unsigned char * data, int height, int width, unsigned char ** dout )
1311 size = height * width;
1317 for (col=0; col<width; col++)
1338 convert8bitIndexto8( unsigned char * data, int height, int width, unsigned char ** dout )
1345 adj=(4-(width%4))%4; // adjustment needed to strip off the word alignment padding
1346 size = height * width;
1351 for (col=0; col<width; col++)
1372 convert8bitIndexto24( unsigned char * data, int height, int width, unsigned char ** dout )
1379 adj=(4-(width%4))%4; // adjustment needed to strip off the word alignment padding
1380 size = height * width;
1385 for (col=0; col<width; col++)
1468 WriteQTRawFile( FILE * ostream, unsigned char * data, int height, int width, int depth, unsigned int size )
1474 adj=(4-(width%4))%4; // adjustment needed to add the word alignment padding
1478 csize = height*depth*(width+adj);
1493 for (col=0; col<width; col++)
1515 image_header.width = width;