Home
last modified time | relevance | path

Searched refs:Quantum (Results 1 – 25 of 203) sorted by relevance

123456789

/external/ImageMagick/MagickCore/
Dquantum-private.h314 static inline Quantum ScaleAnyToQuantum(const QuantumAny quantum, in ScaleAnyToQuantum()
320 return((Quantum) (((double) QuantumRange*quantum)* in ScaleAnyToQuantum()
323 return((Quantum) (((double) QuantumRange*quantum)* in ScaleAnyToQuantum()
328 static inline QuantumAny ScaleQuantumToAny(const Quantum quantum, in ScaleQuantumToAny()
343 static inline Quantum ScaleCharToQuantum(const unsigned char value) in ScaleCharToQuantum()
345 return((Quantum) value); in ScaleCharToQuantum()
348 static inline Quantum ScaleLongToQuantum(const unsigned int value) in ScaleLongToQuantum()
351 return((Quantum) ((value)/16843009UL)); in ScaleLongToQuantum()
353 return((Quantum) (value/16843009.0)); in ScaleLongToQuantum()
357 static inline Quantum ScaleLongLongToQuantum(const MagickSizeType value) in ScaleLongLongToQuantum()
[all …]
Dpixel-accessor.h36 static inline Quantum ClampPixel(const MagickRealType pixel) in ClampPixel()
39 return((Quantum) 0); in ClampPixel()
41 return((Quantum) QuantumRange); in ClampPixel()
43 return((Quantum) (pixel+0.5f)); in ClampPixel()
45 return((Quantum) pixel); in ClampPixel()
49 static inline Quantum GetPixela(const Image *magick_restrict image, in GetPixela()
50 const Quantum *magick_restrict pixel) in GetPixela()
55 static inline Quantum GetPixelAlpha(const Image *magick_restrict image, in GetPixelAlpha()
56 const Quantum *magick_restrict pixel) in GetPixelAlpha()
69 static inline Quantum GetPixelb(const Image *magick_restrict image, in GetPixelb()
[all …]
Dstream.c115 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()
[all …]
Dmagick-type.h69 typedef MagickFloatType Quantum; typedef
73 typedef unsigned char Quantum; typedef
74 #define QuantumRange ((Quantum) 255)
82 typedef MagickFloatType Quantum; typedef
86 typedef unsigned short Quantum; typedef
87 #define QuantumRange ((Quantum) 65535)
95 typedef MagickDoubleType Quantum; typedef
99 typedef unsigned int Quantum; typedef
100 #define QuantumRange ((Quantum) 4294967295)
108 typedef MagickDoubleType Quantum; typedef
Dcache-private.h38 Quantum *,ExceptionInfo *),
40 const ssize_t,const ssize_t,Quantum *,ExceptionInfo *),
43 typedef const Quantum
51 typedef Quantum
55 typedef Quantum
58 typedef Quantum
115 Quantum
185 Quantum
250 extern MagickPrivate const Quantum
272 extern MagickPrivate Quantum
Dquantum.h85 static inline Quantum ClampToQuantum(const MagickRealType quantum) in ClampToQuantum()
88 return((Quantum) quantum); in ClampToQuantum()
91 return((Quantum) 0); in ClampToQuantum()
94 return((Quantum) (quantum+0.5f)); in ClampToQuantum()
99 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
112 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
125 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
139 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
Dcache-view.c299 MagickExport Quantum *GetCacheViewAuthenticPixels(CacheView *cache_view, in GetCacheViewAuthenticPixels()
306 Quantum in GetCacheViewAuthenticPixels()
379 MagickExport Quantum *GetCacheViewAuthenticPixelQueue(CacheView *cache_view) in GetCacheViewAuthenticPixelQueue()
601 MagickExport const Quantum *GetCacheViewVirtualPixelQueue( in GetCacheViewVirtualPixelQueue()
607 const Quantum in GetCacheViewVirtualPixelQueue()
651 MagickExport const Quantum *GetCacheViewVirtualPixels( in GetCacheViewVirtualPixels()
658 const Quantum in GetCacheViewVirtualPixels()
702 const CacheView *cache_view,const ssize_t x,const ssize_t y,Quantum *pixel, in GetOneCacheViewAuthenticPixel()
708 Quantum in GetOneCacheViewAuthenticPixel()
720 if (q == (const Quantum *) NULL) in GetOneCacheViewAuthenticPixel()
[all …]
Dcache.c109 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()
[all …]
Dpixel.c513 register const Quantum in ExportCharPixel()
534 if (p == (const Quantum *) NULL) in ExportCharPixel()
551 if (p == (const Quantum *) NULL) in ExportCharPixel()
569 if (p == (const Quantum *) NULL) in ExportCharPixel()
576 *q++=ScaleQuantumToChar((Quantum) 0); in ExportCharPixel()
587 if (p == (const Quantum *) NULL) in ExportCharPixel()
602 if (p == (const Quantum *) NULL) in ExportCharPixel()
619 if (p == (const Quantum *) NULL) in ExportCharPixel()
637 if (p == (const Quantum *) NULL) in ExportCharPixel()
644 *q++=ScaleQuantumToChar((Quantum) 0); in ExportCharPixel()
[all …]
Dpaint.c219 register const Quantum in FloodfillPaintImage()
222 register Quantum in FloodfillPaintImage()
242 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in FloodfillPaintImage()
277 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in FloodfillPaintImage()
306 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in FloodfillPaintImage()
325 register const Quantum in FloodfillPaintImage()
328 register Quantum in FloodfillPaintImage()
341 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in FloodfillPaintImage()
761 register const Quantum in OilPaintImage()
764 register Quantum in OilPaintImage()
[all …]
Dchannel.c119 const Quantum pixel,ExceptionInfo *exception) in ChannelImage()
150 register const Quantum in ChannelImage()
153 register Quantum in ChannelImage()
165 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ChannelImage()
574 Quantum in CombineImages()
577 register const Quantum in CombineImages()
580 register Quantum in CombineImages()
590 if (pixels == (Quantum *) NULL) in CombineImages()
609 if (p == (const Quantum *) NULL) in CombineImages()
763 register const Quantum in SeparateImage()
[all …]
Dcache-view.h66 extern MagickExport const Quantum
77 Quantum *,ExceptionInfo *),
79 const ssize_t,const ssize_t,Quantum *,ExceptionInfo *),
81 Quantum *,ExceptionInfo *),
93 extern MagickExport Quantum
Dattribute.c160 register const Quantum in GetEdgeBackgroundFactor()
220 if (p == (const Quantum *) NULL) in GetEdgeBackgroundFactor()
405 register const Quantum in GetImageBoundingBox()
425 if (p == (const Quantum *) NULL) in GetImageBoundingBox()
434 if (p != (const Quantum *) NULL) in GetImageBoundingBox()
439 if (p != (const Quantum *) NULL) in GetImageBoundingBox()
455 register const Quantum in GetImageBoundingBox()
468 if (p == (const Quantum *) NULL) in GetImageBoundingBox()
636 Quantum in GetImageDepth()
643 pixel=(Quantum) i; in GetImageDepth()
[all …]
Dimage-view.c256 register const Quantum in DuplexTransferImageViewIterator()
260 register Quantum in DuplexTransferImageViewIterator()
267 if (pixels == (const Quantum *) NULL) in DuplexTransferImageViewIterator()
274 if (duplex_pixels == (const Quantum *) NULL) in DuplexTransferImageViewIterator()
282 if (destination_pixels == (Quantum *) NULL) in DuplexTransferImageViewIterator()
364 MagickExport Quantum *GetImageViewAuthenticPixels( in GetImageViewAuthenticPixels()
566 register const Quantum in GetImageViewIterator()
573 if (pixels == (const Quantum *) NULL) in GetImageViewIterator()
652 MagickExport const Quantum *GetImageViewVirtualPixels( in GetImageViewVirtualPixels()
914 register Quantum in SetImageViewIterator()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DColor.h71 Color(const Magick::Quantum red_,const Magick::Quantum green_,
72 const Magick::Quantum blue_);
75 Color(const Magick::Quantum red_,const Magick::Quantum green_,
76 const Magick::Quantum blue_,const Magick::Quantum alpha_);
79 Color(const Magick::Quantum cyan_,const Magick::Quantum magenta_,
80 const Magick::Quantum yellow_,const Magick::Quantum black_,
81 const Magick::Quantum alpha_);
128 void quantumAlpha(const Quantum alpha_);
129 Quantum quantumAlpha(void) const;
132 void quantumBlack(const Quantum black_);
[all …]
/external/ImageMagick/MagickWand/
Dpixel-wand.h65 extern WandExport Quantum
85 PixelGetQuantumPixel(const Image *,const PixelWand *,Quantum *),
87 PixelSetAlphaQuantum(PixelWand *,const Quantum),
89 PixelSetBlackQuantum(PixelWand *,const Quantum),
91 PixelSetBlueQuantum(PixelWand *,const Quantum),
95 PixelSetCyanQuantum(PixelWand *,const Quantum),
98 PixelSetGreenQuantum(PixelWand *,const Quantum),
100 PixelSetIndex(PixelWand *,const Quantum),
102 PixelSetMagentaQuantum(PixelWand *,const Quantum),
105 PixelSetAlphaQuantum(PixelWand *,const Quantum),
[all …]
/external/ImageMagick/coders/
Dcmyk.c233 register const Quantum in ReadCMYKImage()
236 register Quantum in ReadCMYKImage()
251 if (q == (Quantum *) NULL) in ReadCMYKImage()
264 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadCMYKImage()
316 register const Quantum in ReadCMYKImage()
319 register Quantum in ReadCMYKImage()
335 if (q == (Quantum *) NULL) in ReadCMYKImage()
348 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadCMYKImage()
412 register const Quantum in ReadCMYKImage()
415 register Quantum in ReadCMYKImage()
[all …]
Drgb.c234 register const Quantum in ReadRGBImage()
237 register Quantum in ReadRGBImage()
252 if (q == (Quantum *) NULL) in ReadRGBImage()
265 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadRGBImage()
317 register const Quantum in ReadRGBImage()
320 register Quantum in ReadRGBImage()
336 if (q == (Quantum *) NULL) in ReadRGBImage()
349 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadRGBImage()
413 register const Quantum in ReadRGBImage()
416 register Quantum in ReadRGBImage()
[all …]
Dbgr.c234 register const Quantum in ReadBGRImage()
237 register Quantum in ReadBGRImage()
252 if (q == (Quantum *) NULL) in ReadBGRImage()
265 if ((p == (const Quantum *) NULL) || in ReadBGRImage()
266 (q == (Quantum *) NULL)) in ReadBGRImage()
314 register const Quantum in ReadBGRImage()
317 register Quantum in ReadBGRImage()
335 if (q == (Quantum *) NULL) in ReadBGRImage()
348 if ((p == (const Quantum *) NULL) || in ReadBGRImage()
349 (q == (Quantum *) NULL)) in ReadBGRImage()
[all …]
Dgray.c230 register const Quantum in ReadGRAYImage()
233 register Quantum in ReadGRAYImage()
248 if (q == (Quantum *) NULL) in ReadGRAYImage()
261 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadGRAYImage()
309 register const Quantum in ReadGRAYImage()
312 register Quantum in ReadGRAYImage()
328 if (q == (Quantum *) NULL) in ReadGRAYImage()
341 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ReadGRAYImage()
390 register const Quantum in ReadGRAYImage()
393 register Quantum in ReadGRAYImage()
[all …]
Dycbcr.c233 register const Quantum in ReadYCBCRImage()
236 register Quantum in ReadYCBCRImage()
251 if (q == (Quantum *) NULL) in ReadYCBCRImage()
264 if ((p == (const Quantum *) NULL) || in ReadYCBCRImage()
265 (q == (Quantum *) NULL)) in ReadYCBCRImage()
314 register const Quantum in ReadYCBCRImage()
317 register Quantum in ReadYCBCRImage()
333 if (q == (Quantum *) NULL) in ReadYCBCRImage()
346 if ((p == (const Quantum *) NULL) || in ReadYCBCRImage()
347 (q == (Quantum *) NULL)) in ReadYCBCRImage()
[all …]
Drgf.c114 register Quantum in ReadRGFImage()
163 image->colormap[1].red=(Quantum) 0; in ReadRGFImage()
164 image->colormap[1].green=(Quantum) 0; in ReadRGFImage()
165 image->colormap[1].blue=(Quantum) 0; in ReadRGFImage()
194 if (q == (Quantum *) NULL) in ReadRGFImage()
202 SetPixelIndex(image,(Quantum) ((byte & 0x01) != 0 ? 0x01 : 0x00),q); in ReadRGFImage()
316 register const Quantum in WriteRGFImage()
360 if (p == (const Quantum *) NULL) in WriteRGFImage()
Dplasma.c98 register Quantum in PlasmaPixel()
103 if (q == (Quantum *) NULL) in PlasmaPixel()
105 SetPixelRed(image,(Quantum) (QuantumRange* in PlasmaPixel()
107 SetPixelGreen(image,(Quantum) (QuantumRange* in PlasmaPixel()
109 SetPixelBlue(image,(Quantum) (QuantumRange* in PlasmaPixel()
129 register Quantum in ReadPlasmaImage()
160 if (q == (Quantum *) NULL) in ReadPlasmaImage()
/external/ImageMagick/Magick++/lib/
DColor.cpp87 Magick::Color::Color(const Magick::Quantum red_,const Magick::Quantum green_, in Color()
88 const Quantum blue_) in Color()
103 Magick::Color::Color(const Magick::Quantum red_,const Magick::Quantum green_, in Color()
104 const Magick::Quantum blue_, const Magick::Quantum alpha_) in Color()
121 Magick::Color::Color(const Magick::Quantum cyan_,const Magick::Quantum magenta_, in Color()
122 const Magick::Quantum yellow_,const Magick::Quantum black_, in Color()
123 const Magick::Quantum alpha_) in Color()
317 void Magick::Color::quantumAlpha(const Magick::Quantum alpha_) in quantumAlpha()
323 Magick::Quantum Magick::Color::quantumAlpha(void) const in quantumAlpha()
328 void Magick::Color::quantumBlack(const Magick::Quantum black_) in quantumBlack()
[all …]
DPixels.cpp37 Magick::Quantum* Magick::Pixels::get(const ssize_t x_,const ssize_t y_, in get()
46 Quantum* pixels=GetCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, in get()
53 const Magick::Quantum* Magick::Pixels::getConst(const ssize_t x_, in getConst()
62 const Quantum* pixels=GetCacheViewVirtualPixels(_view,x_,y_,columns_,rows_, in getConst()
76 Magick::Quantum* Magick::Pixels::set(const ssize_t x_,const ssize_t y_, in set()
85 Quantum* pixels=QueueCacheViewAuthenticPixels(_view,x_,y_,columns_,rows_, in set()
174 size=sizeof(Quantum); in init()

123456789