Lines Matching refs:pixels

173     *pixels;  in ReadHDRImage()  local
402 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,4* in ReadHDRImage()
403 sizeof(*pixels)); in ReadHDRImage()
404 if (pixels == (unsigned char *) NULL) in ReadHDRImage()
410 count=ReadBlob(image,4*image->columns*sizeof(*pixels),pixels); in ReadHDRImage()
411 if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) in ReadHDRImage()
421 (void) memcpy(pixels,pixel,4*sizeof(*pixel)); in ReadHDRImage()
422 count=ReadBlob(image,4*(image->columns-1)*sizeof(*pixels),pixels+4); in ReadHDRImage()
427 p=pixels; in ReadHDRImage()
430 end=&pixels[(i+1)*image->columns]; in ReadHDRImage()
470 pixel[0]=pixels[x]; in ReadHDRImage()
471 pixel[1]=pixels[x+image->columns]; in ReadHDRImage()
472 pixel[2]=pixels[x+2*image->columns]; in ReadHDRImage()
473 pixel[3]=pixels[x+3*image->columns]; in ReadHDRImage()
477 pixel[0]=pixels[i++]; in ReadHDRImage()
478 pixel[1]=pixels[i++]; in ReadHDRImage()
479 pixel[2]=pixels[i++]; in ReadHDRImage()
480 pixel[3]=pixels[i++]; in ReadHDRImage()
501 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in ReadHDRImage()
594 static size_t HDRWriteRunlengthPixels(Image *image,unsigned char *pixels) in HDRWriteRunlengthPixels() argument
622 while ((pixels[q] == pixels[q+runlength]) && in HDRWriteRunlengthPixels()
629 pixel[1]=pixels[p]; in HDRWriteRunlengthPixels()
642 if (WriteBlob(image,(size_t) count*sizeof(*pixel),&pixels[p]) < 1) in HDRWriteRunlengthPixels()
649 pixel[1]=pixels[q]; in HDRWriteRunlengthPixels()
686 *pixels; in WriteHDRImage() local
745 pixels=(unsigned char *) AcquireQuantumMemory(image->columns+128,4* in WriteHDRImage()
746 sizeof(*pixels)); in WriteHDRImage()
747 if (pixels == (unsigned char *) NULL) in WriteHDRImage()
749 (void) ResetMagickMemory(pixels,0,4*(image->columns+128)*sizeof(*pixels)); in WriteHDRImage()
793 pixels[x]=pixel[0]; in WriteHDRImage()
794 pixels[x+image->columns]=pixel[1]; in WriteHDRImage()
795 pixels[x+2*image->columns]=pixel[2]; in WriteHDRImage()
796 pixels[x+3*image->columns]=pixel[3]; in WriteHDRImage()
800 pixels[i++]=pixel[0]; in WriteHDRImage()
801 pixels[i++]=pixel[1]; in WriteHDRImage()
802 pixels[i++]=pixel[2]; in WriteHDRImage()
803 pixels[i++]=pixel[3]; in WriteHDRImage()
810 length=HDRWriteRunlengthPixels(image,&pixels[i*image->columns]); in WriteHDRImage()
814 count=WriteBlob(image,4*image->columns*sizeof(*pixels),pixels); in WriteHDRImage()
815 if (count != (ssize_t) (4*image->columns*sizeof(*pixels))) in WriteHDRImage()
823 pixels=(unsigned char *) RelinquishMagickMemory(pixels); in WriteHDRImage()