Lines Matching defs:depth
101 unsigned int width, height, depth, dimension;
113 depth = SGI_GRAYSCALE;
117 depth = SGI_RGB;
121 depth = SGI_RGBA;
129 depth = SGI_GRAYSCALE;
137 depth = SGI_RGB;
145 depth = SGI_RGBA;
151 tablesize = depth * height * 4;
154 length += depth * height * width;
156 length += tablesize * 2 + depth * height * (2 * width + 1);
170 bytestream2_put_be16(&pbc, depth);
202 for (z = 0; z < depth; z++) {
210 encode_buf[x] = in_buf[depth * x];
212 encode_buf[x + 1] = in_buf[depth * x];
213 encode_buf[x] = in_buf[depth * x + 1];
215 encode_buf[x] = in_buf[depth * x];
216 encode_buf[x + 1] = in_buf[depth * x + 1];
233 for (z = 0; z < depth; z++) {
237 for (x = 0; x < width * depth; x += depth)