Lines Matching defs:depth
238 depth,
315 sun_info.depth=ReadBlobMSBLong(image);
328 if ((sun_info.depth != 1) && (sun_info.depth != 8) &&
329 (sun_info.depth != 24) && (sun_info.depth != 32))
336 image->depth=sun_info.depth <= 8 ? sun_info.depth :
338 if (sun_info.depth < 24)
346 image->colors=one << sun_info.depth;
410 image->alpha_trait=sun_info.depth == 32 ? BlendPixelTrait :
426 ((number_pixels*sun_info.depth) > (8UL*sun_info.length)))
428 if (HeapOverflowSanityCheck(sun_info.width,sun_info.depth) != MagickFalse)
430 bytes_per_line=sun_info.width*sun_info.depth;
442 if ((height == 0) || (sun_info.width == 0) || (sun_info.depth == 0) ||
443 ((bytes_per_line/sun_info.depth) != sun_info.width))
450 if ((bytes_per_line >> 1) != (sun_info.width*sun_info.depth+15))
491 if (sun_info.depth == 1)
759 depth,
827 sun_info.depth=(unsigned int) image->alpha_trait != UndefinedPixelTrait ?
840 sun_info.depth=1;
851 sun_info.depth=8;
864 (void) WriteBlobMSBLong(image,sun_info.depth);