Lines Matching refs:depth

198 			if (imagespec.depth == 32)
324 imagespec.depth = buf[16];
325 if (imagespec.depth < 1 || imagespec.depth > 32)
329 imagespec.depth != 15 && imagespec.depth != 16 &&
330 imagespec.depth != 24 && imagespec.depth != 32)
334 imagespec.depth != 8)
337 imagespec.depth != 8)
350 imagespec.depth == 32 &&
356 imagespec.depth == 24 &&
361 imagespec.depth == 16 &&
366 imagespec.depth == 15 &&
386 pimagespec->depth = imagespec.depth;
399 imagespec.depth);
404 imagespec.depth);
409 imagespec.depth);
414 imagespec.depth);
419 imagespec.depth);
425 imagespec.depth);
871 uint8 tgaBytesPerPixel = (imagespec.depth / 8) +
872 ((imagespec.depth % 8) ? 1 : 0);
1089 outImagespec.depth = imagespec.depth;
1106 tgaheaders[16] = outImagespec.depth;
1219 imagespec.depth = 0;
1233 imagespec.depth = 32;
1250 imagespec.depth = 24;
1263 imagespec.depth = 24;
1273 imagespec.depth = 16;
1285 imagespec.depth = 16;
1300 imagespec.depth = 8;
1312 imagespec.depth = 8;
1404 uint16 width, uint8 depth, uint8 tgaBytesPerPixel,
1409 switch (depth) {
1545 uint8 tgaBytesPerPixel = (imagespec.depth / 8) +
1546 ((imagespec.depth % 8) ? 1 : 0);
1579 imagespec.width, imagespec.depth,
1643 uint8 tgaBytesPerPixel = (imagespec.depth / 8) +
1644 ((imagespec.depth % 8) ? 1 : 0);
1685 rlecount, imagespec.depth, 0, nalpha);
1707 rawcount, imagespec.depth, tgaBytesPerPixel, nalpha);
1739 uint16 width, uint8 depth, uint8 *pmap)
1744 switch (depth) {
1848 uint8 tgaBytesPerPixel = (imagespec.depth / 8) +
1849 ((imagespec.depth % 8) ? 1 : 0);
1948 uint8 tgaBytesPerPixel = (imagespec.depth / 8) +
1949 ((imagespec.depth % 8) ? 1 : 0);