Lines Matching defs:width
18 int convert8bitIndexto8( unsigned char * data, int height, int width, unsigned char ** dout );
75 short width; /* how many pixels wide is this data */
111 unsigned short width = 0, height = 0;
200 width = image_header.width;
204 printf("Image info: width: %d height: %d depth: %d...\n", width, height, depth);
206 if (!(width && height && depth)) {
207 fprintf(stderr,"Err: Invalid image file header (width, height, or depth is 0)\n");
228 pixels = convert8bitIndexto8( data, height, width, &data );
285 fwrite(&width, sizeof(width), 1, ostream);
828 convert8bitIndexto8( unsigned char * data, int height, int width, unsigned char ** dout )
835 adj=(4-(width%4))%4; // adjustment needed to strip off the word alignment padding
836 size = height * width;
841 for (col=0; col<width; col++)