/external/ImageMagick/MagickCore/ |
D | pixel-accessor.h | 36 static inline Quantum ClampPixel(const MagickRealType pixel) in ClampPixel() 40 if (pixel >= (MagickRealType) QuantumRange) in ClampPixel() 209 static inline MagickRealType GetPixelInfoChannel( in GetPixelInfoChannel() 230 default: return((MagickRealType) 0.0); in GetPixelInfoChannel() 248 static inline MagickRealType GetPixelInfoLuma( in GetPixelInfoLuma() 251 MagickRealType in GetPixelInfoLuma() 256 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuma() 260 intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+ in GetPixelInfoLuma() 266 static inline MagickRealType GetPixelInfoLuminance( in GetPixelInfoLuminance() 269 MagickRealType in GetPixelInfoLuminance() [all …]
|
D | colorspace.c | 77 MagickRealType 421 MagickRealType in sRGBTransformImage() 478 MagickRealType in sRGBTransformImage() 778 red=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 780 green=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 782 blue=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 845 red=DecodePixelGamma((MagickRealType) GetPixelRed(image,q)); in sRGBTransformImage() 846 green=DecodePixelGamma((MagickRealType) GetPixelGreen(image,q)); in sRGBTransformImage() 847 blue=DecodePixelGamma((MagickRealType) GetPixelBlue(image,q)); in sRGBTransformImage() 909 x_map[i].x=(MagickRealType) (0.33333*(double) i); in sRGBTransformImage() [all …]
|
D | composite.c | 181 static void HCLComposite(const MagickRealType hue,const MagickRealType chroma, in HCLComposite() 182 const MagickRealType luma,MagickRealType *red,MagickRealType *green, in HCLComposite() 183 MagickRealType *blue) in HCLComposite() 185 MagickRealType in HCLComposite() 197 assert(red != (MagickRealType *) NULL); in HCLComposite() 198 assert(green != (MagickRealType *) NULL); in HCLComposite() 199 assert(blue != (MagickRealType *) NULL); in HCLComposite() 247 static void CompositeHCL(const MagickRealType red,const MagickRealType green, in CompositeHCL() 248 const MagickRealType blue,MagickRealType *hue,MagickRealType *chroma, in CompositeHCL() 249 MagickRealType *luma) in CompositeHCL() [all …]
|
D | colorspace-private.h | 42 MagickRealType in ConvertRGBToCMYK() 67 pixel->black=(MagickRealType) QuantumRange; in ConvertRGBToCMYK() 70 cyan=(MagickRealType) (1.0-red); in ConvertRGBToCMYK() 71 magenta=(MagickRealType) (1.0-green); in ConvertRGBToCMYK() 72 yellow=(MagickRealType) (1.0-blue); in ConvertRGBToCMYK() 78 cyan=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(cyan-black)); in ConvertRGBToCMYK() 79 magenta=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(magenta-black)); in ConvertRGBToCMYK() 80 yellow=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(yellow-black)); in ConvertRGBToCMYK()
|
D | pixel.h | 189 MagickRealType 237 extern MagickExport MagickRealType 251 extern MagickExport MagickRealType 252 DecodePixelGamma(const MagickRealType) magick_hot_spot, 253 EncodePixelGamma(const MagickRealType) magick_hot_spot;
|
D | morphology.c | 314 kernel->values=(MagickRealType *) MagickAssumeAligned(AcquireAlignedMemory( in ParseKernelArray() 316 if (kernel->values == (MagickRealType *) NULL) in ParseKernelArray() 1037 kernel->values=(MagickRealType *) MagickAssumeAligned( in AcquireKernelBuiltIn() 1039 if (kernel->values == (MagickRealType *) NULL) in AcquireKernelBuiltIn() 1061 kernel->values=(MagickRealType *) MagickAssumeAligned( in AcquireKernelBuiltIn() 1064 if (kernel->values == (MagickRealType *) NULL) in AcquireKernelBuiltIn() 1153 kernel->values=(MagickRealType *) MagickAssumeAligned( in AcquireKernelBuiltIn() 1156 if (kernel->values == (MagickRealType *) NULL) in AcquireKernelBuiltIn() 1240 kernel->values=(MagickRealType *) MagickAssumeAligned( in AcquireKernelBuiltIn() 1243 if (kernel->values == (MagickRealType *) NULL) in AcquireKernelBuiltIn() [all …]
|
D | effect.c | 905 MagickRealType in Hull() 916 v=(MagickRealType) p[i]; in Hull() 917 if ((MagickRealType) r[i] >= (v+ScaleCharToQuantum(2))) in Hull() 925 v=(MagickRealType) p[i]; in Hull() 926 if ((MagickRealType) r[i] <= (v-ScaleCharToQuantum(2))) in Hull() 946 MagickRealType in Hull() 953 v=(MagickRealType) q[i]; in Hull() 954 if (((MagickRealType) s[i] >= (v+ScaleCharToQuantum(2))) && in Hull() 955 ((MagickRealType) r[i] > v)) in Hull() 963 v=(MagickRealType) q[i]; in Hull() [all …]
|
D | quantum.h | 85 static inline Quantum ClampToQuantum(const MagickRealType quantum) in ClampToQuantum() 92 if (quantum >= (MagickRealType) QuantumRange) in ClampToQuantum()
|
D | quantum-private.h | 366 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 467 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 560 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 651 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum()
|
D | color-private.h | 41 fuzz=(double) MagickMax(MagickMax(p->fuzz,q->fuzz),(MagickRealType) in GetFuzzyColorDistance()
|
D | color.c | 2424 color->red=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2427 color->green=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2430 color->blue=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2436 color->black=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2448 color->red=(MagickRealType) ClampToQuantum((MagickRealType) in QueryColorCompliance() 2451 color->green=(MagickRealType) ClampToQuantum((MagickRealType) in QueryColorCompliance() 2454 color->blue=(MagickRealType) ClampToQuantum((MagickRealType) in QueryColorCompliance() 2508 color->red=(MagickRealType) red; in QueryColorCompliance() 2509 color->green=(MagickRealType) green; in QueryColorCompliance() 2510 color->blue=(MagickRealType) blue; in QueryColorCompliance()
|
D | shear.c | 415 if (((MagickRealType) GetPixelRed(image,p) < threshold) || in RadonTransform() 416 ((MagickRealType) GetPixelGreen(image,p) < threshold) || in RadonTransform() 417 ((MagickRealType) GetPixelBlue(image,p) < threshold)) in RadonTransform() 472 if (((MagickRealType) GetPixelRed(image,p) < threshold) || in RadonTransform() 473 ((MagickRealType) GetPixelGreen(image,p) < threshold) || in RadonTransform() 474 ((MagickRealType) GetPixelBlue(image,p) < threshold)) in RadonTransform() 1655 status=CropToFitImage(&shear_image,shear.x,shear.y,(MagickRealType) in ShearImage() 1656 image->columns,(MagickRealType) image->rows,MagickFalse,exception); in ShearImage() 1715 MagickRealType in ShearRotateImage() 1812 status=CropToFitImage(&rotate_image,shear.x,shear.y,(MagickRealType) width, in ShearRotateImage() [all …]
|
D | enhance.c | 1446 image->colormap[i].red=(MagickRealType) red; in ContrastImage() 1447 image->colormap[i].green=(MagickRealType) green; in ContrastImage() 1448 image->colormap[i].blue=(MagickRealType) blue; in ContrastImage() 2407 q[j]=gamma_map[ScaleQuantumToMap(ClampToQuantum((MagickRealType) in GammaImage() 2529 MagickRealType in GrayscaleImage() 2535 red=(MagickRealType) GetPixelRed(image,q); in GrayscaleImage() 2536 green=(MagickRealType) GetPixelGreen(image,q); in GrayscaleImage() 2537 blue=(MagickRealType) GetPixelBlue(image,q); in GrayscaleImage() 2559 intensity=(MagickRealType) (((double) red*red+green*green+ in GrayscaleImage() 2610 intensity=(MagickRealType) (sqrt((double) red*red+green*green+ in GrayscaleImage() [all …]
|
D | threshold.c | 983 threshold.red*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 984 threshold.green*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 985 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 986 threshold.black*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 987 threshold.alpha*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 1161 q[i]=ClampPixel((MagickRealType) q[i]); in ClampImage() 2362 threshold.red*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 2363 threshold.green*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 2364 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 2365 threshold.black*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() [all …]
|
/external/ImageMagick/coders/ |
D | tga.c | 337 pixel.alpha=(MagickRealType) OpaqueAlpha; in ReadTGAImage() 359 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 377 pixel.red=(MagickRealType) ScaleAnyToQuantum(1UL*(k & 0x7c) >> 2, in ReadTGAImage() 379 pixel.green=(MagickRealType) ScaleAnyToQuantum((1UL*(k & 0x03) in ReadTGAImage() 381 pixel.blue=(MagickRealType) ScaleAnyToQuantum(1UL*(j & 0x1f),range); in ReadTGAImage() 389 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 391 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 393 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 402 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 404 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() [all …]
|
D | miff.c | 226 pixel->index=(MagickRealType) ConstrainColormapIndex(image,(ssize_t) in PushRunlengthPacket() 234 pixel->index=(MagickRealType) ConstrainColormapIndex(image,(ssize_t) in PushRunlengthPacket() 241 pixel->index=(MagickRealType) ConstrainColormapIndex(image, in PushRunlengthPacket() 257 pixel->alpha=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() 269 pixel->alpha=(MagickRealType) ((size_t) quantum >> (image->depth- in PushRunlengthPacket() 283 pixel->alpha=(MagickRealType) ((size_t) quantum >> (image->depth- in PushRunlengthPacket() 300 pixel->red=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() 306 pixel->green=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() 308 pixel->blue=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() 313 pixel->black=(MagickRealType) ScaleCharToQuantum(quantum); in PushRunlengthPacket() [all …]
|
D | palm.c | 372 image->colormap[index].red=(MagickRealType) in ReadPALMImage() 374 image->colormap[index].green=(MagickRealType) in ReadPALMImage() 376 image->colormap[index].blue=(MagickRealType) in ReadPALMImage() 384 image->colormap[index].red=(MagickRealType) in ReadPALMImage() 386 image->colormap[index].green=(MagickRealType) in ReadPALMImage() 388 image->colormap[index].blue=(MagickRealType) in ReadPALMImage() 913 transpix.red=(MagickRealType) GetPixelRed(image,p); in WritePALMImage() 914 transpix.green=(MagickRealType) GetPixelGreen(image,p); in WritePALMImage() 915 transpix.blue=(MagickRealType) GetPixelBlue(image,p); in WritePALMImage() 916 transpix.alpha=(MagickRealType) GetPixelAlpha(image,p); in WritePALMImage()
|
D | rle.c | 590 image->colormap[i].red=(MagickRealType) in ReadRLEImage() 592 image->colormap[i].green=(MagickRealType) in ReadRLEImage() 594 image->colormap[i].blue=(MagickRealType) in ReadRLEImage() 601 image->colormap[i].red=(MagickRealType) in ReadRLEImage() 603 image->colormap[i].green=(MagickRealType) in ReadRLEImage() 605 image->colormap[i].blue=(MagickRealType) in ReadRLEImage()
|
D | mpc.c | 929 image->colormap[i].red=(MagickRealType) in ReadMPCImage() 932 image->colormap[i].green=(MagickRealType) in ReadMPCImage() 935 image->colormap[i].blue=(MagickRealType) in ReadMPCImage() 948 image->colormap[i].red=(MagickRealType) in ReadMPCImage() 951 image->colormap[i].green=(MagickRealType) in ReadMPCImage() 954 image->colormap[i].blue=(MagickRealType) in ReadMPCImage() 967 image->colormap[i].red=(MagickRealType) in ReadMPCImage() 970 image->colormap[i].green=(MagickRealType) in ReadMPCImage() 973 image->colormap[i].blue=(MagickRealType) in ReadMPCImage()
|
D | exr.c | 305 SetPixelRed(image,ClampToQuantum((MagickRealType) QuantumRange* in ReadEXRImage() 307 SetPixelGreen(image,ClampToQuantum((MagickRealType) QuantumRange* in ReadEXRImage() 309 SetPixelBlue(image,ClampToQuantum((MagickRealType) QuantumRange* in ReadEXRImage() 311 SetPixelAlpha(image,ClampToQuantum((MagickRealType) QuantumRange* in ReadEXRImage()
|
D | txt.c | 566 pixel.red=(MagickRealType) ScaleAnyToQuantum((QuantumAny) in ReadTXTImage() 568 pixel.green=(MagickRealType) ScaleAnyToQuantum((QuantumAny) in ReadTXTImage() 570 pixel.blue=(MagickRealType) ScaleAnyToQuantum((QuantumAny) in ReadTXTImage() 572 pixel.black=(MagickRealType) ScaleAnyToQuantum((QuantumAny) in ReadTXTImage() 574 pixel.alpha=(MagickRealType) ScaleAnyToQuantum((QuantumAny) in ReadTXTImage()
|
D | xbm.c | 289 image->colormap[0].red=(MagickRealType) QuantumRange; in ReadXBMImage() 290 image->colormap[0].green=(MagickRealType) QuantumRange; in ReadXBMImage() 291 image->colormap[0].blue=(MagickRealType) QuantumRange; in ReadXBMImage()
|
/external/ImageMagick/www/source/wand/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast()
|
/external/ImageMagick/www/source/ |
D | contrast.c | 8 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in main()
|
/external/ImageMagick/www/source/core/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast()
|