Lines Matching defs:depth
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;
104 fread((void *) &depth, sizeof(short), 1, stream);
105 printf("got depth: %d\n", depth);
107 if (!(width && height && depth)) {
108 printf("Invalid image file header (width, height, or depth is 0)\n");
211 short height, depth, totalwidth;
228 fread((void *) &depth, sizeof(short), 1, stream);
229 printf("got depth: %d\n", depth);
231 if (!(width && height && depth)) {
232 printf("Invalid numbers file header (width, height, or depth is 0)\n");