Lines Matching refs:bits_per_pixel
77 bits_per_pixel; member
319 bits_per_pixel; in ReadPCXImage() local
328 bits_per_pixel=ReadBlobByte(image); in ReadPCXImage()
329 if (bits_per_pixel == -1) in ReadPCXImage()
331 pcx_info.bits_per_pixel=(unsigned char) bits_per_pixel; in ReadPCXImage()
344 ((pcx_info.bits_per_pixel != 1) && (pcx_info.bits_per_pixel != 2) && in ReadPCXImage()
345 (pcx_info.bits_per_pixel != 4) && (pcx_info.bits_per_pixel != 8))) in ReadPCXImage()
349 image->depth=pcx_info.bits_per_pixel; in ReadPCXImage()
373 if ((pcx_info.bits_per_pixel*pcx_info.planes) >= 64) in ReadPCXImage()
376 if ((pcx_info.bits_per_pixel != 8) || (pcx_info.planes == 1)) in ReadPCXImage()
378 ((pcx_info.bits_per_pixel*pcx_info.planes) == 1)) in ReadPCXImage()
380 (pcx_info.bits_per_pixel*pcx_info.planes)),256UL); in ReadPCXImage()
383 if ((pcx_info.bits_per_pixel >= 8) && (pcx_info.planes != 1)) in ReadPCXImage()
405 if ((size_t) (pcx_info.bits_per_pixel*pcx_info.planes*image->columns) > (pcx_packets*8U)) in ReadPCXImage()
467 ((pcx_info.bits_per_pixel*pcx_info.planes) == 1)) in ReadPCXImage()
474 if ((pcx_info.bits_per_pixel*pcx_info.planes) == 1) in ReadPCXImage()
567 switch (pcx_info.bits_per_pixel) in ReadPCXImage()
941 pcx_info.bits_per_pixel=8; in WritePCXImage()
944 pcx_info.bits_per_pixel=1; in WritePCXImage()
978 length=(((size_t) image->columns*pcx_info.bits_per_pixel+7)/8); in WritePCXImage()
995 (void) WriteBlobByte(image,pcx_info.bits_per_pixel); in WritePCXImage()
1107 if (pcx_info.bits_per_pixel > 1) in WritePCXImage()