Lines Matching refs:compact_pixels
406 const unsigned char *compact_pixels,const ssize_t depth, in DecodePSDPixels() argument
436 length=(size_t) (*compact_pixels++); in DecodePSDPixels()
443 pixel=(*compact_pixels++); in DecodePSDPixels()
496 *pixels++=(*compact_pixels >> 7) & 0x01 ? 0U : 255U; in DecodePSDPixels()
497 *pixels++=(*compact_pixels >> 6) & 0x01 ? 0U : 255U; in DecodePSDPixels()
498 *pixels++=(*compact_pixels >> 5) & 0x01 ? 0U : 255U; in DecodePSDPixels()
499 *pixels++=(*compact_pixels >> 4) & 0x01 ? 0U : 255U; in DecodePSDPixels()
500 *pixels++=(*compact_pixels >> 3) & 0x01 ? 0U : 255U; in DecodePSDPixels()
501 *pixels++=(*compact_pixels >> 2) & 0x01 ? 0U : 255U; in DecodePSDPixels()
502 *pixels++=(*compact_pixels >> 1) & 0x01 ? 0U : 255U; in DecodePSDPixels()
503 *pixels++=(*compact_pixels >> 0) & 0x01 ? 0U : 255U; in DecodePSDPixels()
509 *pixels++=(*compact_pixels >> 6) & 0x03; in DecodePSDPixels()
510 *pixels++=(*compact_pixels >> 4) & 0x03; in DecodePSDPixels()
511 *pixels++=(*compact_pixels >> 2) & 0x03; in DecodePSDPixels()
512 *pixels++=(*compact_pixels & 0x03) & 0x03; in DecodePSDPixels()
518 *pixels++=(*compact_pixels >> 4) & 0xff; in DecodePSDPixels()
519 *pixels++=(*compact_pixels & 0x0f) & 0xff; in DecodePSDPixels()
525 *pixels++=(*compact_pixels); in DecodePSDPixels()
529 compact_pixels++; in DecodePSDPixels()
980 *compact_pixels, in ReadPSDChannelRLE() local
1005 compact_pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels)); in ReadPSDChannelRLE()
1006 if (compact_pixels == (unsigned char *) NULL) in ReadPSDChannelRLE()
1013 (void) ResetMagickMemory(compact_pixels,0,length*sizeof(*compact_pixels)); in ReadPSDChannelRLE()
1020 count=ReadBlob(image,(size_t) offsets[y],compact_pixels); in ReadPSDChannelRLE()
1024 count=DecodePSDPixels((size_t) offsets[y],compact_pixels, in ReadPSDChannelRLE()
1035 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelRLE()
1061 *compact_pixels, in ReadPSDChannelZip() local
1071 compact_pixels=(unsigned char *) AcquireQuantumMemory(compact_size, in ReadPSDChannelZip()
1072 sizeof(*compact_pixels)); in ReadPSDChannelZip()
1073 if (compact_pixels == (unsigned char *) NULL) in ReadPSDChannelZip()
1084 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelZip()
1091 (void) ReadBlob(image,compact_size,compact_pixels); in ReadPSDChannelZip()
1093 stream.next_in=(Bytef *)compact_pixels; in ReadPSDChannelZip()
1108 compact_pixels=(unsigned char *) RelinquishMagickMemory( in ReadPSDChannelZip()
1109 compact_pixels); in ReadPSDChannelZip()
1149 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelZip()
2144 const unsigned char *pixels,unsigned char *compact_pixels, in PSDPackbitsEncodeImage() argument
2172 q=compact_pixels; in PSDPackbitsEncodeImage()
2250 return((size_t) (q-compact_pixels)); in PSDPackbitsEncodeImage()
2255 unsigned char *compact_pixels,const QuantumType quantum_type, in WritePackbitsLength() argument
2287 length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels, in WritePackbitsLength()
2295 Image *image,Image *next_image,unsigned char *compact_pixels, in WriteOneChannel() argument
2347 length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels, in WriteOneChannel()
2349 (void) WriteBlob(image,length,compact_pixels); in WriteOneChannel()
2364 *compact_pixels; in WriteImageChannels() local
2371 compact_pixels=(unsigned char *) NULL; in WriteImageChannels()
2374 compact_pixels=(unsigned char *) AcquireQuantumMemory((9*channels* in WriteImageChannels()
2375 next_image->columns)+1,packet_size*sizeof(*compact_pixels)); in WriteImageChannels()
2376 if (compact_pixels == (unsigned char *) NULL) in WriteImageChannels()
2388 compact_pixels,GrayQuantum,exception); in WriteImageChannels()
2391 compact_pixels,AlphaQuantum,exception); in WriteImageChannels()
2393 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2396 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2410 compact_pixels,IndexQuantum,exception); in WriteImageChannels()
2413 compact_pixels,AlphaQuantum,exception); in WriteImageChannels()
2415 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2418 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2433 compact_pixels,RedQuantum,exception); in WriteImageChannels()
2435 compact_pixels,GreenQuantum,exception); in WriteImageChannels()
2437 compact_pixels,BlueQuantum,exception); in WriteImageChannels()
2440 compact_pixels,BlackQuantum,exception); in WriteImageChannels()
2443 compact_pixels,AlphaQuantum,exception); in WriteImageChannels()
2446 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2449 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2452 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2456 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2460 WriteOneChannel(psd_info,image_info,image,next_image,compact_pixels, in WriteImageChannels()
2467 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in WriteImageChannels()