Lines Matching refs:scanline
341 scanline[8*256]; in ExpandBuffer() local
344 q=scanline; in ExpandBuffer()
395 return(scanline); in ExpandBuffer()
430 *scanline; in DecodeImage() local
461 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,2* in DecodeImage()
462 sizeof(*scanline)); in DecodeImage()
463 if (scanline == (unsigned char *) NULL) in DecodeImage()
468 (void) memset(scanline,0,2*row_bytes*sizeof(*scanline)); in DecodeImage()
479 count=ReadBlob(blob,(size_t) number_pixels,scanline); in DecodeImage()
485 p=ExpandBuffer(scanline,bits_per_pixel,&number_pixels); in DecodeImage()
493 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in DecodeImage()
513 count=ReadBlob(blob,scanline_length,scanline); in DecodeImage()
520 if ((scanline[j] & 0x80) == 0) in DecodeImage()
522 length=(size_t) ((scanline[j] & 0xff)+1); in DecodeImage()
524 p=ExpandBuffer(scanline+j+1,bits_per_pixel,&number_pixels); in DecodeImage()
532 length=(size_t) (((scanline[j] ^ 0xff) & 0xff)+2); in DecodeImage()
534 p=ExpandBuffer(scanline+j+1,bits_per_pixel,&number_pixels); in DecodeImage()
544 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in DecodeImage()
581 static size_t EncodeImage(Image *image,const unsigned char *scanline, in EncodeImage() argument
614 assert(scanline != (unsigned char *) NULL); in EncodeImage()
618 p=scanline+(bytes_per_line-1); in EncodeImage()
1715 *scanline; in WritePICTImage() local
1791 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,sizeof(*scanline)); in WritePICTImage()
1794 (scanline == (unsigned char *) NULL)) in WritePICTImage()
1796 if (scanline != (unsigned char *) NULL) in WritePICTImage()
1797 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in WritePICTImage()
1805 (void) memset(scanline,0,row_bytes); in WritePICTImage()
2029 scanline[x]=(unsigned char) GetPixelIndex(image,p); in WritePICTImage()
2032 count+=EncodeImage(image,scanline,(size_t) (row_bytes & 0x7FFF), in WritePICTImage()
2045 (void) memset(scanline,0,row_bytes); in WritePICTImage()
2047 count+=EncodeImage(image,scanline,(size_t) (row_bytes & 0x7FFF), in WritePICTImage()
2058 red=scanline; in WritePICTImage()
2059 green=scanline+image->columns; in WritePICTImage()
2060 blue=scanline+2*image->columns; in WritePICTImage()
2061 opacity=scanline+3*image->columns; in WritePICTImage()
2067 red=scanline; in WritePICTImage()
2068 green=scanline+image->columns; in WritePICTImage()
2069 blue=scanline+2*image->columns; in WritePICTImage()
2072 opacity=scanline; in WritePICTImage()
2073 red=scanline+image->columns; in WritePICTImage()
2074 green=scanline+2*image->columns; in WritePICTImage()
2075 blue=scanline+3*image->columns; in WritePICTImage()
2086 count+=EncodeImage(image,scanline,bytes_per_line,packed_scanline); in WritePICTImage()
2102 scanline=(unsigned char *) RelinquishMagickMemory(scanline); in WritePICTImage()