Lines Matching refs:Quantum
109 static const Quantum
118 GetOneAuthenticPixelFromCache(Image *,const ssize_t,const ssize_t,Quantum *,
121 const ssize_t,const ssize_t,Quantum *,ExceptionInfo *),
134 static Quantum
423 register Quantum in ClipPixelCacheNexus()
456 if (p == (Quantum *) NULL) in ClipPixelCacheNexus()
725 Quantum in ClonePixelCacheRepository()
737 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
744 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
749 sizeof(Quantum)); in ClonePixelCacheRepository()
752 register const Quantum in ClonePixelCacheRepository()
755 register Quantum in ClonePixelCacheRepository()
806 Quantum in ClonePixelCacheRepository()
815 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
822 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
969 cache_info->pixels=(Quantum *) NULL; in RelinquishPixelCachePixels()
974 cache_info->pixels=(Quantum *) RelinquishAlignedMemory( in RelinquishPixelCachePixels()
984 cache_info->pixels=(Quantum *) NULL; in RelinquishPixelCachePixels()
1094 nexus_info->cache=(Quantum *) NULL; in RelinquishCacheNexusPixels()
1095 nexus_info->pixels=(Quantum *) NULL; in RelinquishCacheNexusPixels()
1110 if (nexus_info[i]->cache != (Quantum *) NULL) in DestroyPixelCacheNexus()
1262 assert(cache_info->pixels != (Quantum *) NULL); in GetAuthenticOpenCLBuffer()
1311 MagickPrivate Quantum *GetAuthenticPixelCacheNexus(Image *image,const ssize_t x, in GetAuthenticPixelCacheNexus()
1318 Quantum in GetAuthenticPixelCacheNexus()
1328 if (pixels == (Quantum *) NULL) in GetAuthenticPixelCacheNexus()
1329 return((Quantum *) NULL); in GetAuthenticPixelCacheNexus()
1335 return((Quantum *) NULL); in GetAuthenticPixelCacheNexus()
1338 return((Quantum *) NULL); in GetAuthenticPixelCacheNexus()
1365 static Quantum *GetAuthenticPixelsFromCache(const Image *image) in GetAuthenticPixelsFromCache()
1406 MagickExport Quantum *GetAuthenticPixelQueue(const Image *image) in GetAuthenticPixelQueue()
1471 MagickExport Quantum *GetAuthenticPixels(Image *image,const ssize_t x, in GetAuthenticPixels()
1481 Quantum in GetAuthenticPixels()
1533 static Quantum *GetAuthenticPixelsCache(Image *image,const ssize_t x, in GetAuthenticPixelsCache()
1543 Quantum in GetAuthenticPixelsCache()
1551 return((Quantum *) NULL); in GetAuthenticPixelsCache()
1836 const Quantum *source,Quantum *destination) in CopyPixel()
1841 if (source == (const Quantum *) NULL) in CopyPixel()
1863 const ssize_t x,const ssize_t y,Quantum *pixel,ExceptionInfo *exception) in GetOneAuthenticPixel()
1868 register Quantum in GetOneAuthenticPixel()
1915 const ssize_t x,const ssize_t y,Quantum *pixel,ExceptionInfo *exception) in GetOneAuthenticPixelFromCache()
1923 register Quantum in GetOneAuthenticPixelFromCache()
1970 const ssize_t x,const ssize_t y,Quantum *pixel,ExceptionInfo *exception) in GetOneVirtualPixel()
1978 const Quantum in GetOneVirtualPixel()
2033 Quantum *pixel,ExceptionInfo *exception) in GetOneVirtualPixelFromCache()
2041 const Quantum in GetOneVirtualPixelFromCache()
2100 register const Quantum in GetOneVirtualPixelInfo()
2112 if (p == (const Quantum *) NULL) in GetOneVirtualPixelInfo()
2399 *width=2048UL/(MagickMax(cache_info->number_channels,1)*sizeof(Quantum)); in GetPixelCacheTileSize()
2401 *width=8192UL/(MagickMax(cache_info->number_channels,1)*sizeof(Quantum)); in GetPixelCacheTileSize()
2696 MagickPrivate const Quantum *GetVirtualPixelCacheNexus(const Image *image, in GetVirtualPixelCacheNexus()
2714 Quantum in GetVirtualPixelCacheNexus()
2718 register const Quantum in GetVirtualPixelCacheNexus()
2724 register Quantum in GetVirtualPixelCacheNexus()
2749 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
2757 if (pixels == (Quantum *) NULL) in GetVirtualPixelCacheNexus()
2758 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
2779 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
2784 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
2820 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
2829 SetPixelChannel(image,(PixelChannel) i,(Quantum) 0,virtual_pixel); in GetVirtualPixelCacheNexus()
2844 SetPixelChannel(image,(PixelChannel) i,(Quantum) 0,virtual_pixel); in GetVirtualPixelCacheNexus()
3041 if (p == (const Quantum *) NULL) in GetVirtualPixelCacheNexus()
3058 if (p == (const Quantum *) NULL) in GetVirtualPixelCacheNexus()
3079 return((const Quantum *) NULL); in GetVirtualPixelCacheNexus()
3117 static const Quantum *GetVirtualPixelCache(const Image *image, in GetVirtualPixelCache()
3127 const Quantum in GetVirtualPixelCache()
3164 MagickExport const Quantum *GetVirtualPixelQueue(const Image *image) in GetVirtualPixelQueue()
3232 MagickExport const Quantum *GetVirtualPixels(const Image *image, in GetVirtualPixels()
3242 const Quantum in GetVirtualPixels()
3283 static const Quantum *GetVirtualPixelsCache(const Image *image) in GetVirtualPixelsCache()
3326 MagickPrivate const Quantum *GetVirtualPixelsNexus(const Cache cache, in GetVirtualPixelsNexus()
3336 return((Quantum *) NULL); in GetVirtualPixelsNexus()
3337 return((const Quantum *) nexus_info->pixels); in GetVirtualPixelsNexus()
3370 static inline Quantum ApplyPixelCompositeMask(const Quantum p, in ApplyPixelCompositeMask()
3371 const MagickRealType alpha,const Quantum q,const MagickRealType beta) in ApplyPixelCompositeMask()
3376 Quantum in ApplyPixelCompositeMask()
3397 register Quantum in MaskPixelCacheNexus()
3430 if (p == (Quantum *) NULL) in MaskPixelCacheNexus()
3697 packet_size=cache_info->number_channels*sizeof(Quantum); in OpenPixelCache()
3718 length=number_pixels*(cache_info->number_channels*sizeof(Quantum)+ in OpenPixelCache()
3732 cache_info->pixels=(Quantum *) MagickAssumeAligned( in OpenPixelCache()
3738 cache_info->pixels=(Quantum *) MapBlob(-1,IOMode,0,(size_t) in OpenPixelCache()
3741 if (cache_info->pixels == (Quantum *) NULL) in OpenPixelCache()
3890 length=number_pixels*(cache_info->number_channels*sizeof(Quantum)+ in OpenPixelCache()
3907 cache_info->pixels=(Quantum *) MapBlob(cache_info->file,mode, in OpenPixelCache()
3909 if (cache_info->pixels == (Quantum *) NULL) in OpenPixelCache()
4138 MagickPrivate Quantum *QueueAuthenticPixelCacheNexus(Image *image, in QueueAuthenticPixelCacheNexus()
4151 Quantum in QueueAuthenticPixelCacheNexus()
4162 return((Quantum *) NULL); in QueueAuthenticPixelCacheNexus()
4170 return((Quantum *) NULL); in QueueAuthenticPixelCacheNexus()
4174 return((Quantum *) NULL); in QueueAuthenticPixelCacheNexus()
4178 return((Quantum *) NULL); in QueueAuthenticPixelCacheNexus()
4222 static Quantum *QueueAuthenticPixelsCache(Image *image,const ssize_t x, in QueueAuthenticPixelsCache()
4232 Quantum in QueueAuthenticPixelsCache()
4302 MagickExport Quantum *QueueAuthenticPixels(Image *image,const ssize_t x, in QueueAuthenticPixels()
4312 Quantum in QueueAuthenticPixels()
4479 cache_info->number_channels*sizeof(Quantum)+offset* in ReadPixelCacheMetacontent()
4579 register Quantum in ReadPixelCachePixels()
4597 sizeof(Quantum); in ReadPixelCachePixels()
4598 if ((length/number_channels/sizeof(Quantum)) != nexus_info->region.width) in ReadPixelCachePixels()
4611 register Quantum in ReadPixelCachePixels()
4973 nexus_info->cache=(Quantum *) MagickAssumeAligned(AcquireAlignedMemory(1, in AcquireCacheNexusPixels()
4975 if (nexus_info->cache != (Quantum *) NULL) in AcquireCacheNexusPixels()
4980 nexus_info->cache=(Quantum *) MapBlob(-1,IOMode,0,(size_t) length); in AcquireCacheNexusPixels()
4981 if (nexus_info->cache != (Quantum *) NULL) in AcquireCacheNexusPixels()
4984 if (nexus_info->cache == (Quantum *) NULL) in AcquireCacheNexusPixels()
5009 static Quantum *SetPixelCacheNexusPixels( in SetPixelCacheNexusPixels()
5025 return((Quantum *) NULL); in SetPixelCacheNexusPixels()
5032 return((Quantum *) NULL); in SetPixelCacheNexusPixels()
5072 return((Quantum *) NULL); in SetPixelCacheNexusPixels()
5080 if (nexus_info->cache == (Quantum *) NULL) in SetPixelCacheNexusPixels()
5089 return((Quantum *) NULL); in SetPixelCacheNexusPixels()
5135 static MagickBooleanType SetCacheAlphaChannel(Image *image,const Quantum alpha, in SetCacheAlphaChannel()
5166 register Quantum in SetCacheAlphaChannel()
5175 if (q == (Quantum *) NULL) in SetCacheAlphaChannel()
5614 cache_info->number_channels*sizeof(Quantum)+offset* in WritePixelCacheMetacontent()
5714 register const Quantum in WritePixelCachePixels()
5728 sizeof(Quantum); in WritePixelCachePixels()
5738 register Quantum in WritePixelCachePixels()