• Home
  • Raw
  • Download

Lines Matching refs:bytes_per_pixel

78     bytes_per_pixel;  member
167 static MagickBooleanType SGIDecode(const size_t bytes_per_pixel, in SGIDecode() argument
183 if (bytes_per_pixel == 2) in SGIDecode()
285 bytes_per_pixel, in ReadSGIImage() local
333 iris_info.bytes_per_pixel=(unsigned char) ReadBlobByte(image); in ReadSGIImage()
334 if ((iris_info.bytes_per_pixel == 0) || (iris_info.bytes_per_pixel > 2)) in ReadSGIImage()
366 image->depth=(size_t) MagickMin((size_t) 8*iris_info.bytes_per_pixel, in ReadSGIImage()
371 image->colors=(size_t) (iris_info.bytes_per_pixel > 1 ? 65535 : 256); in ReadSGIImage()
386 bytes_per_pixel=(size_t) iris_info.bytes_per_pixel; in ReadSGIImage()
388 if ((4*bytes_per_pixel*number_pixels) != ((MagickSizeType) (size_t) in ReadSGIImage()
389 (4*bytes_per_pixel*number_pixels))) in ReadSGIImage()
392 bytes_per_pixel*sizeof(*pixels)); in ReadSGIImage()
396 for (n=0; n < (4*bytes_per_pixel*number_pixels); n++) in ReadSGIImage()
407 bytes_per_pixel*sizeof(*scanline)); in ReadSGIImage()
415 p=pixels+bytes_per_pixel*z; in ReadSGIImage()
418 count=ReadBlob(image,bytes_per_pixel*iris_info.columns,scanline); in ReadSGIImage()
419 if (count != (ssize_t) (bytes_per_pixel*iris_info.columns)) in ReadSGIImage()
421 if (bytes_per_pixel == 2) in ReadSGIImage()
523 status=SGIDecode(bytes_per_pixel,(ssize_t) in ReadSGIImage()
524 (runlength[y+z*iris_info.rows]/bytes_per_pixel),packets, in ReadSGIImage()
525 (ssize_t) iris_info.columns,p+bytes_per_pixel*z); in ReadSGIImage()
535 p+=(iris_info.columns*4*bytes_per_pixel); in ReadSGIImage()
563 status=SGIDecode(bytes_per_pixel,(ssize_t) in ReadSGIImage()
564 (runlength[y+z*iris_info.rows]/bytes_per_pixel),packets, in ReadSGIImage()
565 (ssize_t) iris_info.columns,p+bytes_per_pixel*z); in ReadSGIImage()
578 p+=(iris_info.columns*4*bytes_per_pixel); in ReadSGIImage()
594 if (bytes_per_pixel == 2) in ReadSGIImage()
670 if (bytes_per_pixel == 2) in ReadSGIImage()
982 iris_info.bytes_per_pixel=(unsigned char) (image->depth > 8 ? 2 : 1); in WriteSGIImage()
1008 (void) WriteBlobByte(image,iris_info.bytes_per_pixel); in WriteSGIImage()
1027 if ((4*iris_info.bytes_per_pixel*number_pixels) != in WriteSGIImage()
1028 ((MagickSizeType) (size_t) (4*iris_info.bytes_per_pixel*number_pixels))) in WriteSGIImage()
1031 iris_info.bytes_per_pixel*sizeof(*pixels)); in WriteSGIImage()