/external/ImageMagick/MagickCore/ |
D | pixel-accessor.h | 34 static inline Quantum ClampPixel(const MagickRealType value) in ClampPixel() 38 if (value >= (MagickRealType) QuantumRange) in ClampPixel() 199 static inline MagickRealType GetPixelInfoChannel( in GetPixelInfoChannel() 210 default: return((MagickRealType) 0.0); in GetPixelInfoChannel() 228 static inline MagickRealType GetPixelInfoLuma( in GetPixelInfoLuma() 231 MagickRealType in GetPixelInfoLuma() 236 intensity=(MagickRealType) (0.212656f*pixel->red+0.715158f*pixel->green+ in GetPixelInfoLuma() 240 intensity=(MagickRealType) (0.212656f*EncodePixelGamma(pixel->red)+ in GetPixelInfoLuma() 246 static inline MagickRealType GetPixelInfoLuminance( in GetPixelInfoLuminance() 249 MagickRealType in GetPixelInfoLuminance() [all …]
|
D | colorspace.c | 76 MagickRealType 662 red=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 664 green=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 666 blue=(double) DecodePixelGamma((MagickRealType) in sRGBTransformImage() 729 red=DecodePixelGamma((MagickRealType) GetPixelRed(image,q)); in sRGBTransformImage() 730 green=DecodePixelGamma((MagickRealType) GetPixelGreen(image,q)); in sRGBTransformImage() 731 blue=DecodePixelGamma((MagickRealType) GetPixelBlue(image,q)); in sRGBTransformImage() 786 x_map[i].x=(MagickRealType) (0.33333*(double) i); in sRGBTransformImage() 787 y_map[i].x=(MagickRealType) (0.33334*(double) i); in sRGBTransformImage() 788 z_map[i].x=(MagickRealType) (0.33333*(double) i); in sRGBTransformImage() [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) ((cyan-black)/(1.0-black)); in ConvertRGBToCMYK() 79 magenta=(MagickRealType) ((magenta-black)/(1.0-black)); in ConvertRGBToCMYK() 80 yellow=(MagickRealType) ((yellow-black)/(1.0-black)); in ConvertRGBToCMYK()
|
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 | pixel.h | 187 MagickRealType 234 extern MagickExport MagickRealType 248 extern MagickExport MagickRealType 249 DecodePixelGamma(const MagickRealType) magick_hot_spot, 250 EncodePixelGamma(const MagickRealType) magick_hot_spot;
|
D | magick-type.h | 49 typedef float_t MagickRealType; typedef 63 typedef float_t MagickRealType; typedef 77 typedef float_t MagickRealType; typedef 93 typedef long double MagickRealType; typedef
|
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 | 84 static inline Quantum ClampToQuantum(const MagickRealType value) in ClampToQuantum() 91 if (value >= (MagickRealType) QuantumRange) in ClampToQuantum()
|
D | quantum-private.h | 314 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 417 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 506 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum() 593 static inline Quantum ScaleMapToQuantum(const MagickRealType value) in ScaleMapToQuantum()
|
D | enhance.c | 913 image->colormap[i].red=(MagickRealType) red; in ContrastImage() 914 image->colormap[i].green=(MagickRealType) green; in ContrastImage() 915 image->colormap[i].blue=(MagickRealType) blue; in ContrastImage() 2021 MagickRealType in GrayscaleImage() 2032 red=(MagickRealType) GetPixelRed(image,q); in GrayscaleImage() 2033 green=(MagickRealType) GetPixelGreen(image,q); in GrayscaleImage() 2034 blue=(MagickRealType) GetPixelBlue(image,q); in GrayscaleImage() 2056 intensity=(MagickRealType) (((double) red*red+green*green+ in GrayscaleImage() 2107 intensity=(MagickRealType) (sqrt((double) red*red+green*green+ in GrayscaleImage() 2220 length=(size_t) MagickMin((MagickRealType) hald_image->columns, in HaldClutImage() [all …]
|
D | color-private.h | 41 fuzz=(double) MagickMax(MagickMax(p->fuzz,q->fuzz),(MagickRealType) in GetFuzzyColorDistance()
|
D | shear.c | 420 if (((MagickRealType) GetPixelRed(image,p) < threshold) || in RadonTransform() 421 ((MagickRealType) GetPixelGreen(image,p) < threshold) || in RadonTransform() 422 ((MagickRealType) GetPixelBlue(image,p) < threshold)) in RadonTransform() 477 if (((MagickRealType) GetPixelRed(image,p) < threshold) || in RadonTransform() 478 ((MagickRealType) GetPixelGreen(image,p) < threshold) || in RadonTransform() 479 ((MagickRealType) GetPixelBlue(image,p) < threshold)) in RadonTransform() 1665 status=CropToFitImage(&shear_image,shear.x,shear.y,(MagickRealType) in ShearImage() 1666 image->columns,(MagickRealType) image->rows,MagickFalse,exception); in ShearImage() 1725 MagickRealType in ShearRotateImage() 1822 status=CropToFitImage(&rotate_image,shear.x,shear.y,(MagickRealType) width, in ShearRotateImage() [all …]
|
D | threshold.c | 583 threshold.red*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 584 threshold.green*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 585 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 586 threshold.black*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 587 threshold.alpha*=(MagickRealType) (QuantumRange/100.0); in BlackThresholdImage() 1830 threshold.red*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 1831 threshold.green*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 1832 threshold.blue*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 1833 threshold.black*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage() 1834 threshold.alpha*=(MagickRealType) (QuantumRange/100.0); in WhiteThresholdImage()
|
D | color.c | 2426 color->red=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2429 color->green=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2432 color->blue=(double) ClampToQuantum((MagickRealType) (scale* in QueryColorCompliance() 2438 color->black=(double) ClampToQuantum((MagickRealType) ( in QueryColorCompliance() 2452 color->green=(MagickRealType) ClampToQuantum((MagickRealType) in QueryColorCompliance() 2455 color->blue=(MagickRealType) ClampToQuantum((MagickRealType) in QueryColorCompliance() 2513 color->red=(MagickRealType) red; in QueryColorCompliance() 2514 color->green=(MagickRealType) green; in QueryColorCompliance() 2515 color->blue=(MagickRealType) blue; in QueryColorCompliance()
|
D | morphology.h | 115 MagickRealType
|
D | accelerate.c | 976 #define MaxRange(color) ((MagickRealType) ScaleQuantumToMap((Quantum) (color))) in ComputeContrastStretchImage() 1188 black.red=(MagickRealType) i; in ComputeContrastStretchImage() 1196 white.red=(MagickRealType) i; in ComputeContrastStretchImage() 1209 black.green=(MagickRealType) i; in ComputeContrastStretchImage() 1217 white.green=(MagickRealType) i; in ComputeContrastStretchImage() 1230 black.blue=(MagickRealType) i; in ComputeContrastStretchImage() 1238 white.blue=(MagickRealType) i; in ComputeContrastStretchImage() 1251 black.alpha=(MagickRealType) i; in ComputeContrastStretchImage() 1259 white.alpha=(MagickRealType) i; in ComputeContrastStretchImage() 1308 stretch_map[i].red=ScaleMapToQuantum((MagickRealType) (MaxMap* in ComputeContrastStretchImage() [all …]
|
/external/ImageMagick/coders/ |
D | tga.c | 328 pixel.alpha=(MagickRealType) OpaqueAlpha; in ReadTGAImage() 350 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 368 pixel.red=(MagickRealType) ScaleAnyToQuantum(1UL*(k & 0x7c) >> 2, in ReadTGAImage() 370 pixel.green=(MagickRealType) ScaleAnyToQuantum((1UL*(k & 0x03) in ReadTGAImage() 372 pixel.blue=(MagickRealType) ScaleAnyToQuantum(1UL*(j & 0x1f),range); in ReadTGAImage() 380 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 382 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 384 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 393 pixel.blue=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() 395 pixel.green=(MagickRealType) ScaleCharToQuantum((unsigned char) in ReadTGAImage() [all …]
|
D | palm.c | 370 image->colormap[index].red=(MagickRealType) in ReadPALMImage() 372 image->colormap[index].green=(MagickRealType) in ReadPALMImage() 374 image->colormap[index].blue=(MagickRealType) in ReadPALMImage() 382 image->colormap[index].red=(MagickRealType) in ReadPALMImage() 384 image->colormap[index].green=(MagickRealType) in ReadPALMImage() 386 image->colormap[index].blue=(MagickRealType) in ReadPALMImage() 877 transpix.red=(MagickRealType) GetPixelRed(image,p); in WritePALMImage() 878 transpix.green=(MagickRealType) GetPixelGreen(image,p); in WritePALMImage() 879 transpix.blue=(MagickRealType) GetPixelBlue(image,p); in WritePALMImage() 880 transpix.alpha=(MagickRealType) GetPixelAlpha(image,p); in WritePALMImage()
|
D | rle.c | 533 image->colormap[i].red=(MagickRealType) in ReadRLEImage() 535 image->colormap[i].green=(MagickRealType) in ReadRLEImage() 537 image->colormap[i].blue=(MagickRealType) in ReadRLEImage() 544 image->colormap[i].red=(MagickRealType) in ReadRLEImage() 546 image->colormap[i].green=(MagickRealType) in ReadRLEImage() 548 image->colormap[i].blue=(MagickRealType) in ReadRLEImage()
|
D | txt.c | 547 pixel.red=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (red+0.5), in ReadTXTImage() 549 pixel.green=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (green+0.5), in ReadTXTImage() 551 pixel.blue=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (blue+0.5), in ReadTXTImage() 553 pixel.black=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (black+0.5), in ReadTXTImage() 555 pixel.alpha=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (alpha+0.5), in ReadTXTImage()
|
D | dcm.c | 3744 image->colormap[i].red=(MagickRealType) index; in ReadDCMImage() 3752 image->colormap[i].green=(MagickRealType) index; in ReadDCMImage() 3760 image->colormap[i].blue=(MagickRealType) index; in ReadDCMImage() 3768 image->colormap[i].red=(MagickRealType) index; in ReadDCMImage() 3769 image->colormap[i].green=(MagickRealType) index; in ReadDCMImage() 3770 image->colormap[i].blue=(MagickRealType) index; in ReadDCMImage()
|
/external/ImageMagick/www/source/ |
D | contrast.c | 8 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in main()
|
/external/ImageMagick/www/source/wand/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast()
|
/external/ImageMagick/www/source/core/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast()
|