• Home
  • Raw
  • Download

Lines Matching refs:pixels

407   const size_t number_pixels,unsigned char *pixels)  in DecodePSDPixels()  argument
451 *pixels++=(pixel >> 7) & 0x01 ? 0U : 255U; in DecodePSDPixels()
452 *pixels++=(pixel >> 6) & 0x01 ? 0U : 255U; in DecodePSDPixels()
453 *pixels++=(pixel >> 5) & 0x01 ? 0U : 255U; in DecodePSDPixels()
454 *pixels++=(pixel >> 4) & 0x01 ? 0U : 255U; in DecodePSDPixels()
455 *pixels++=(pixel >> 3) & 0x01 ? 0U : 255U; in DecodePSDPixels()
456 *pixels++=(pixel >> 2) & 0x01 ? 0U : 255U; in DecodePSDPixels()
457 *pixels++=(pixel >> 1) & 0x01 ? 0U : 255U; in DecodePSDPixels()
458 *pixels++=(pixel >> 0) & 0x01 ? 0U : 255U; in DecodePSDPixels()
464 *pixels++=(unsigned char) ((pixel >> 6) & 0x03); in DecodePSDPixels()
465 *pixels++=(unsigned char) ((pixel >> 4) & 0x03); in DecodePSDPixels()
466 *pixels++=(unsigned char) ((pixel >> 2) & 0x03); in DecodePSDPixels()
467 *pixels++=(unsigned char) ((pixel & 0x03) & 0x03); in DecodePSDPixels()
473 *pixels++=(unsigned char) ((pixel >> 4) & 0xff); in DecodePSDPixels()
474 *pixels++=(unsigned char) ((pixel & 0x0f) & 0xff); in DecodePSDPixels()
480 *pixels++=(unsigned char) pixel; 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()
835 const unsigned char *pixels,ExceptionInfo *exception) in ReadPSDChannelPixels() argument
855 p=pixels; in ReadPSDChannelPixels()
912 *pixels; in ReadPSDChannelRaw() local
919 pixels=(unsigned char *) AcquireQuantumMemory(row_size,sizeof(*pixels)); in ReadPSDChannelRaw()
920 if (pixels == (unsigned char *) NULL) in ReadPSDChannelRaw()
929 count=ReadBlob(image,row_size,pixels); in ReadPSDChannelRaw()
933 status=ReadPSDChannelPixels(image,channels,y,type,pixels,exception); in ReadPSDChannelRaw()
938 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelRaw()
981 *pixels; in ReadPSDChannelRLE() local
988 pixels=(unsigned char *) AcquireQuantumMemory(row_size,sizeof(*pixels)); in ReadPSDChannelRLE()
989 if (pixels == (unsigned char *) NULL) in ReadPSDChannelRLE()
1000 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelRLE()
1005 compact_pixels=(unsigned char *) AcquireQuantumMemory(length,sizeof(*pixels)); in ReadPSDChannelRLE()
1008 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelRLE()
1025 (ssize_t) (image->depth == 1 ? 123456 : image->depth),row_size,pixels); in ReadPSDChannelRLE()
1029 status=ReadPSDChannelPixels(image,psd_info->channels,y,type,pixels, in ReadPSDChannelRLE()
1036 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelRLE()
1062 *pixels; in ReadPSDChannelZip() local
1081 pixels=(unsigned char *) AcquireQuantumMemory(count,sizeof(*pixels)); in ReadPSDChannelZip()
1082 if (pixels == (unsigned char *) NULL) in ReadPSDChannelZip()
1095 stream.next_out=(Bytef *)pixels; in ReadPSDChannelZip()
1110 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelZip()
1118 p=pixels; in ReadPSDChannelZip()
1139 p=pixels; in ReadPSDChannelZip()
1150 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadPSDChannelZip()
2144 const unsigned char *pixels,unsigned char *compact_pixels, in PSDPackbitsEncodeImage() argument
2167 assert(pixels != (unsigned char *) NULL); in PSDPackbitsEncodeImage()
2181 *q++=(*pixels); in PSDPackbitsEncodeImage()
2188 *q++=(*pixels); in PSDPackbitsEncodeImage()
2189 *q++=pixels[1]; in PSDPackbitsEncodeImage()
2195 if ((*pixels == *(pixels+1)) && (*(pixels+1) == *(pixels+2))) in PSDPackbitsEncodeImage()
2198 *q++=(*pixels); in PSDPackbitsEncodeImage()
2202 *q++=(*pixels); in PSDPackbitsEncodeImage()
2203 *q++=pixels[1]; in PSDPackbitsEncodeImage()
2204 *q++=pixels[2]; in PSDPackbitsEncodeImage()
2209 if ((*pixels == *(pixels+1)) && (*(pixels+1) == *(pixels+2))) in PSDPackbitsEncodeImage()
2215 while (((ssize_t) count < i) && (*pixels == *(pixels+count))) in PSDPackbitsEncodeImage()
2223 *q++=(*pixels); in PSDPackbitsEncodeImage()
2224 pixels+=count; in PSDPackbitsEncodeImage()
2231 while ((*(pixels+count) != *(pixels+count+1)) || in PSDPackbitsEncodeImage()
2232 (*(pixels+count+1) != *(pixels+count+2))) in PSDPackbitsEncodeImage()
2234 packbits[count+1]=pixels[count]; in PSDPackbitsEncodeImage()
2243 pixels+=count; in PSDPackbitsEncodeImage()
2272 *pixels; in WritePackbitsLength() local
2279 pixels=(unsigned char *) GetQuantumPixels(quantum_info); in WritePackbitsLength()
2286 quantum_type,pixels,exception); in WritePackbitsLength()
2287 length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels, in WritePackbitsLength()
2319 *pixels; in WriteOneChannel() local
2332 pixels=(unsigned char *) GetQuantumPixels(quantum_info); in WriteOneChannel()
2339 quantum_type,pixels,exception); in WriteOneChannel()
2342 pixels[i]=(~pixels[i]); in WriteOneChannel()
2344 (void) WriteBlob(image,length,pixels); in WriteOneChannel()
2347 length=PSDPackbitsEncodeImage(image,length,pixels,compact_pixels, in WriteOneChannel()