Lines Matching refs:Quantum
115 static const Quantum
123 static Quantum
208 cache_info->pixels=(Quantum *) NULL; in RelinquishStreamPixels()
362 static Quantum *GetAuthenticPixelsStream(Image *image,const ssize_t x, in GetAuthenticPixelsStream()
366 Quantum in GetAuthenticPixelsStream()
400 static Quantum *GetAuthenticPixelsFromStream(const Image *image) in GetAuthenticPixelsFromStream()
446 const ssize_t x,const ssize_t y,Quantum *pixel,ExceptionInfo *exception) in GetOneAuthenticPixelFromStream()
448 register Quantum in GetOneAuthenticPixelFromStream()
458 if (p == (Quantum *) NULL) in GetOneAuthenticPixelFromStream()
510 Quantum *pixel,ExceptionInfo *exception) in GetOneVirtualPixelFromStream()
512 const Quantum in GetOneVirtualPixelFromStream()
522 if (p == (const Quantum *) NULL) in GetOneVirtualPixelFromStream()
594 static const Quantum *GetVirtualPixelsStream(const Image *image) in GetVirtualPixelsStream()
715 cache_info->pixels=(Quantum *) MagickAssumeAligned( in AcquireStreamPixels()
721 cache_info->pixels=(Quantum *) MapBlob(-1,IOMode,0,(size_t) in AcquireStreamPixels()
724 if (cache_info->pixels == (Quantum *) NULL) in AcquireStreamPixels()
734 static const Quantum *GetVirtualPixelStream(const Image *image, in GetVirtualPixelStream()
767 return((Quantum *) NULL); in GetVirtualPixelStream()
775 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in GetVirtualPixelStream()
777 length=(size_t) number_pixels*sizeof(Quantum); in GetVirtualPixelStream()
780 if (cache_info->pixels == (Quantum *) NULL) in GetVirtualPixelStream()
787 return((Quantum *) NULL); in GetVirtualPixelStream()
799 return((Quantum *) NULL); in GetVirtualPixelStream()
881 static Quantum *QueueAuthenticPixelsStream(Image *image,const ssize_t x, in QueueAuthenticPixelsStream()
911 return((Quantum *) NULL); in QueueAuthenticPixelsStream()
918 return((Quantum *) NULL); in QueueAuthenticPixelsStream()
940 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in QueueAuthenticPixelsStream()
942 length=(size_t) number_pixels*sizeof(Quantum); in QueueAuthenticPixelsStream()
945 if (cache_info->pixels == (Quantum *) NULL) in QueueAuthenticPixelsStream()
952 return((Quantum *) NULL); in QueueAuthenticPixelsStream()
964 return((Quantum *) NULL); in QueueAuthenticPixelsStream()
1235 case QuantumPixel: packet_size=sizeof(Quantum); break; in WriteStreamImage()
1370 register const Quantum in StreamImagePixels()
1506 if (p == (const Quantum *) NULL) in StreamImagePixels()
1520 if (p == (const Quantum *) NULL) in StreamImagePixels()
1535 if (p == (const Quantum *) NULL) in StreamImagePixels()
1542 *q++=ScaleQuantumToChar((Quantum) 0); in StreamImagePixels()
1550 if (p == (const Quantum *) NULL) in StreamImagePixels()
1562 if (p == (const Quantum *) NULL) in StreamImagePixels()
1576 if (p == (const Quantum *) NULL) in StreamImagePixels()
1583 *q++=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
1591 if (p == (const Quantum *) NULL) in StreamImagePixels()
1598 *q++=ScaleQuantumToChar((Quantum) 0); in StreamImagePixels()
1604 if (p == (const Quantum *) NULL) in StreamImagePixels()
1633 *q=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
1670 if (p == (const Quantum *) NULL) in StreamImagePixels()
1687 if (p == (const Quantum *) NULL) in StreamImagePixels()
1706 if (p == (const Quantum *) NULL) in StreamImagePixels()
1724 if (p == (const Quantum *) NULL) in StreamImagePixels()
1737 if (p == (const Quantum *) NULL) in StreamImagePixels()
1754 if (p == (const Quantum *) NULL) in StreamImagePixels()
1773 if (p == (const Quantum *) NULL) in StreamImagePixels()
1789 if (p == (const Quantum *) NULL) in StreamImagePixels()
1862 if (p == (const Quantum *) NULL) in StreamImagePixels()
1879 if (p == (const Quantum *) NULL) in StreamImagePixels()
1889 *q++=(float) ((QuantumScale*(Quantum) (GetPixelAlpha(image,p)))* in StreamImagePixels()
1898 if (p == (const Quantum *) NULL) in StreamImagePixels()
1916 if (p == (const Quantum *) NULL) in StreamImagePixels()
1929 if (p == (const Quantum *) NULL) in StreamImagePixels()
1946 if (p == (const Quantum *) NULL) in StreamImagePixels()
1965 if (p == (const Quantum *) NULL) in StreamImagePixels()
1981 if (p == (const Quantum *) NULL) in StreamImagePixels()
2054 if (p == (const Quantum *) NULL) in StreamImagePixels()
2068 if (p == (const Quantum *) NULL) in StreamImagePixels()
2075 *q++=ScaleQuantumToLong((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2083 if (p == (const Quantum *) NULL) in StreamImagePixels()
2098 if (p == (const Quantum *) NULL) in StreamImagePixels()
2110 if (p == (const Quantum *) NULL) in StreamImagePixels()
2124 if (p == (const Quantum *) NULL) in StreamImagePixels()
2131 *q++=ScaleQuantumToLong((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2139 if (p == (const Quantum *) NULL) in StreamImagePixels()
2152 if (p == (const Quantum *) NULL) in StreamImagePixels()
2181 *q=ScaleQuantumToLong((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2218 if (p == (const Quantum *) NULL) in StreamImagePixels()
2232 if (p == (const Quantum *) NULL) in StreamImagePixels()
2247 if (p == (const Quantum *) NULL) in StreamImagePixels()
2262 if (p == (const Quantum *) NULL) in StreamImagePixels()
2275 if (p == (const Quantum *) NULL) in StreamImagePixels()
2289 if (p == (const Quantum *) NULL) in StreamImagePixels()
2304 if (p == (const Quantum *) NULL) in StreamImagePixels()
2317 if (p == (const Quantum *) NULL) in StreamImagePixels()
2377 register Quantum in StreamImagePixels()
2380 q=(Quantum *) stream_info->pixels; in StreamImagePixels()
2384 if (p == (const Quantum *) NULL) in StreamImagePixels()
2398 if (p == (const Quantum *) NULL) in StreamImagePixels()
2413 if (p == (const Quantum *) NULL) in StreamImagePixels()
2428 if (p == (const Quantum *) NULL) in StreamImagePixels()
2440 if (p == (const Quantum *) NULL) in StreamImagePixels()
2454 if (p == (const Quantum *) NULL) in StreamImagePixels()
2469 if (p == (const Quantum *) NULL) in StreamImagePixels()
2482 if (p == (const Quantum *) NULL) in StreamImagePixels()
2488 *q=(Quantum) 0; in StreamImagePixels()
2511 *q=(Quantum) (GetPixelAlpha(image,p)); in StreamImagePixels()
2548 if (p == (const Quantum *) NULL) in StreamImagePixels()
2562 if (p == (const Quantum *) NULL) in StreamImagePixels()
2569 *q++=ScaleQuantumToShort((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2577 if (p == (const Quantum *) NULL) in StreamImagePixels()
2592 if (p == (const Quantum *) NULL) in StreamImagePixels()
2605 if (p == (const Quantum *) NULL) in StreamImagePixels()
2619 if (p == (const Quantum *) NULL) in StreamImagePixels()
2626 *q++=ScaleQuantumToShort((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2634 if (p == (const Quantum *) NULL) in StreamImagePixels()
2647 if (p == (const Quantum *) NULL) in StreamImagePixels()