Lines Matching refs:compact_pixels
550 const unsigned char *compact_pixels,const ssize_t depth, in DecodePSDPixels() argument
580 length=(size_t) (*compact_pixels++); in DecodePSDPixels()
587 pixel=(*compact_pixels++); in DecodePSDPixels()
640 *pixels++=(*compact_pixels >> 7) & 0x01 ? 0U : 255U; in DecodePSDPixels()
641 *pixels++=(*compact_pixels >> 6) & 0x01 ? 0U : 255U; in DecodePSDPixels()
642 *pixels++=(*compact_pixels >> 5) & 0x01 ? 0U : 255U; in DecodePSDPixels()
643 *pixels++=(*compact_pixels >> 4) & 0x01 ? 0U : 255U; in DecodePSDPixels()
644 *pixels++=(*compact_pixels >> 3) & 0x01 ? 0U : 255U; in DecodePSDPixels()
645 *pixels++=(*compact_pixels >> 2) & 0x01 ? 0U : 255U; in DecodePSDPixels()
646 *pixels++=(*compact_pixels >> 1) & 0x01 ? 0U : 255U; in DecodePSDPixels()
647 *pixels++=(*compact_pixels >> 0) & 0x01 ? 0U : 255U; in DecodePSDPixels()
653 *pixels++=(*compact_pixels >> 6) & 0x03; in DecodePSDPixels()
654 *pixels++=(*compact_pixels >> 4) & 0x03; in DecodePSDPixels()
655 *pixels++=(*compact_pixels >> 2) & 0x03; in DecodePSDPixels()
656 *pixels++=(*compact_pixels & 0x03) & 0x03; in DecodePSDPixels()
662 *pixels++=(*compact_pixels >> 4) & 0xff; in DecodePSDPixels()
663 *pixels++=(*compact_pixels & 0x0f) & 0xff; in DecodePSDPixels()
669 *pixels++=(*compact_pixels); in DecodePSDPixels()
673 compact_pixels++; in DecodePSDPixels()
1156 *compact_pixels, in ReadPSDChannelRLE() local
1180 compact_pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels)); in ReadPSDChannelRLE()
1181 if (compact_pixels == (unsigned char *) NULL) in ReadPSDChannelRLE()
1188 (void) memset(compact_pixels,0,length*sizeof(*compact_pixels)); in ReadPSDChannelRLE()
1195 count=ReadBlob(image,(size_t) sizes[y],compact_pixels); in ReadPSDChannelRLE()
1199 count=DecodePSDPixels((size_t) sizes[y],compact_pixels, in ReadPSDChannelRLE()
1210 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelRLE()
1335 *compact_pixels, in ReadPSDChannelZip() local
1348 compact_pixels=(unsigned char *) AcquireQuantumMemory(compact_size, in ReadPSDChannelZip()
1349 sizeof(*compact_pixels)); in ReadPSDChannelZip()
1350 if (compact_pixels == (unsigned char *) NULL) in ReadPSDChannelZip()
1361 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelZip()
1365 if (ReadBlob(image,compact_size,compact_pixels) != (ssize_t) compact_size) in ReadPSDChannelZip()
1368 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelZip()
1375 stream.next_in=(Bytef *)compact_pixels; in ReadPSDChannelZip()
1391 compact_pixels=(unsigned char *) RelinquishMagickMemory( in ReadPSDChannelZip()
1392 compact_pixels); in ReadPSDChannelZip()
1417 compact_pixels=(unsigned char *) RelinquishMagickMemory( in ReadPSDChannelZip()
1418 compact_pixels); in ReadPSDChannelZip()
1440 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in ReadPSDChannelZip()
2803 const unsigned char *pixels,unsigned char *compact_pixels, in PSDPackbitsEncodeImage() argument
2827 assert(compact_pixels != (unsigned char *) NULL); in PSDPackbitsEncodeImage()
2832 q=compact_pixels; in PSDPackbitsEncodeImage()
2910 return((size_t) (q-compact_pixels)); in PSDPackbitsEncodeImage()
2942 const QuantumType quantum_type, unsigned char *compact_pixels, in WritePSDChannel() argument
3033 length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels, in WritePSDChannel()
3035 count+=WriteBlob(image,length,compact_pixels); in WritePSDChannel()
3078 *compact_pixels; in AcquireCompactPixels() local
3081 compact_pixels=(unsigned char *) AcquireQuantumMemory((9* in AcquireCompactPixels()
3082 image->columns)+1,packet_size*sizeof(*compact_pixels)); in AcquireCompactPixels()
3083 if (compact_pixels == (unsigned char *) NULL) in AcquireCompactPixels()
3088 return(compact_pixels); in AcquireCompactPixels()
3112 *compact_pixels; in WritePSDChannels() local
3117 compact_pixels=(unsigned char *) NULL; in WritePSDChannels()
3123 compact_pixels=AcquireCompactPixels(next_image,exception); in WritePSDChannels()
3124 if (compact_pixels == (unsigned char *) NULL) in WritePSDChannels()
3149 IndexQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3162 GrayQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3176 RedQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3185 GreenQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3194 BlueQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3205 BlackQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3217 AlphaQuantum,compact_pixels,rows_offset,separate,compression, in WritePSDChannels()
3226 compact_pixels=(unsigned char *) RelinquishMagickMemory(compact_pixels); in WritePSDChannels()
3243 compact_pixels=AcquireCompactPixels(mask,exception); in WritePSDChannels()
3244 if (compact_pixels == (unsigned char *) NULL) in WritePSDChannels()
3248 RedQuantum,compact_pixels,rows_offset,MagickTrue,compression, in WritePSDChannels()
3252 compact_pixels=(unsigned char *) RelinquishMagickMemory( in WritePSDChannels()
3253 compact_pixels); in WritePSDChannels()