Home
last modified time | relevance | path

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

12345678

/external/ImageMagick/MagickCore/
Dquantum-private.h310 static inline Quantum ScaleAnyToQuantum(const QuantumAny quantum, in ScaleAnyToQuantum()
316 return((Quantum) (((double) QuantumRange*quantum)* in ScaleAnyToQuantum()
319 return((Quantum) (((double) QuantumRange*quantum)* in ScaleAnyToQuantum()
324 static inline QuantumAny ScaleQuantumToAny(const Quantum quantum, in ScaleQuantumToAny()
331 static inline Quantum ScaleCharToQuantum(const unsigned char value) in ScaleCharToQuantum()
333 return((Quantum) value); in ScaleCharToQuantum()
336 static inline Quantum ScaleLongToQuantum(const unsigned int value) in ScaleLongToQuantum()
339 return((Quantum) ((value)/16843009UL)); in ScaleLongToQuantum()
341 return((Quantum) (value/16843009.0)); in ScaleLongToQuantum()
345 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.h65 typedef MagickFloatType Quantum; typedef
69 typedef unsigned char Quantum; typedef
70 #define QuantumRange ((Quantum) 255)
78 typedef MagickFloatType Quantum; typedef
82 typedef unsigned short Quantum; typedef
83 #define QuantumRange ((Quantum) 65535)
91 typedef MagickDoubleType Quantum; typedef
95 typedef unsigned int Quantum; typedef
96 #define QuantumRange ((Quantum) 4294967295)
104 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
182 Quantum
243 extern MagickPrivate const Quantum
265 extern MagickPrivate Quantum
Dquantum.h84 static inline Quantum ClampToQuantum(const MagickRealType value) in ClampToQuantum()
87 return((Quantum) value); in ClampToQuantum()
90 return((Quantum) 0); in ClampToQuantum()
93 return((Quantum) (value+0.5f)); in ClampToQuantum()
98 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
111 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
124 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
138 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar()
Dcache.c108 static const Quantum
117 GetOneAuthenticPixelFromCache(Image *,const ssize_t,const ssize_t,Quantum *,
120 const ssize_t,const ssize_t,Quantum *,ExceptionInfo *),
133 static Quantum
420 register Quantum in ClipPixelCacheNexus()
452 if (p == (Quantum *) NULL) in ClipPixelCacheNexus()
724 Quantum in ClonePixelCacheRepository()
743 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
751 if (pixels == (Quantum *) NULL) in ClonePixelCacheRepository()
756 sizeof(Quantum)); in ClonePixelCacheRepository()
[all …]
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 …]
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()
762 register const Quantum in OilPaintImage()
765 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 …]
Dtransform.c259 register const Quantum in ChopImage()
265 register Quantum in ChopImage()
273 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ChopImage()
324 register const Quantum in ChopImage()
330 register Quantum in ChopImage()
339 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ChopImage()
460 register const Quantum in ConsolidateCMYKImages()
466 register Quantum in ConsolidateCMYKImages()
472 if ((p == (const Quantum *) NULL) || (q == (Quantum *) NULL)) in ConsolidateCMYKImages()
476 Quantum in ConsolidateCMYKImages()
[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
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/coders/
Dcmyk.c231 register const Quantum in ReadCMYKImage()
234 register Quantum in ReadCMYKImage()
249 if (q == (Quantum *) NULL) in ReadCMYKImage()
262 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()
414 register const Quantum in ReadCMYKImage()
417 register Quantum in ReadCMYKImage()
[all …]
Dbgr.c233 register const Quantum in ReadBGRImage()
236 register Quantum in ReadBGRImage()
251 if (q == (Quantum *) NULL) in ReadBGRImage()
264 if ((p == (const Quantum *) NULL) || in ReadBGRImage()
265 (q == (Quantum *) NULL)) in ReadBGRImage()
315 register const Quantum in ReadBGRImage()
318 register Quantum in ReadBGRImage()
336 if (q == (Quantum *) NULL) in ReadBGRImage()
349 if ((p == (const Quantum *) NULL) || in ReadBGRImage()
350 (q == (Quantum *) NULL)) in ReadBGRImage()
[all …]
Drgb.c232 register const Quantum in ReadRGBImage()
235 register Quantum in ReadRGBImage()
250 if (q == (Quantum *) NULL) in ReadRGBImage()
263 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()
415 register const Quantum in ReadRGBImage()
418 register Quantum in ReadRGBImage()
[all …]
Dgray.c228 register const Quantum in ReadGRAYImage()
231 register Quantum in ReadGRAYImage()
246 if (q == (Quantum *) NULL) in ReadGRAYImage()
259 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()
392 register const Quantum in ReadGRAYImage()
395 register Quantum in ReadGRAYImage()
[all …]
Dycbcr.c231 register const Quantum in ReadYCBCRImage()
234 register Quantum in ReadYCBCRImage()
249 if (q == (Quantum *) NULL) in ReadYCBCRImage()
262 if ((p == (const Quantum *) NULL) || in ReadYCBCRImage()
263 (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()
Duil.c182 register const Quantum in WriteUILImage()
218 p=(const Quantum *) NULL; in WriteUILImage()
245 if (p == (const Quantum *) NULL) in WriteUILImage()
250 (Quantum) TransparentAlpha ? 1 : 0); in WriteUILImage()
262 register Quantum in WriteUILImage()
270 if (q == (Quantum *) NULL) in WriteUILImage()
275 SetPixelIndex(image,(Quantum) image->colors,q); in WriteUILImage()
348 if (p == (const Quantum *) NULL) in WriteUILImage()
/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/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()

12345678