Home
last modified time | relevance | path

Searched refs:ClampPixel (Results 1 – 6 of 6) sorted by relevance

/external/ImageMagick/MagickCore/
Dquantize.c487 id=(size_t) (((ScaleQuantumToChar(ClampPixel(pixel->red)) >> index) & 0x01) | in ColorToNodeId()
488 ((ScaleQuantumToChar(ClampPixel(pixel->green)) >> index) & 0x01) << 1 | in ColorToNodeId()
489 ((ScaleQuantumToChar(ClampPixel(pixel->blue)) >> index) & 0x01) << 2); in ColorToNodeId()
491 id|=((ScaleQuantumToChar(ClampPixel(pixel->alpha)) >> index) & 0x1) << 3; in ColorToNodeId()
886 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
887 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); in ClassifyImageColors()
888 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); in ClassifyImageColors()
891 ClampPixel(pixel.alpha); in ClassifyImageColors()
894 ClampPixel(OpaqueAlpha); in ClassifyImageColors()
993 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
[all …]
Dattribute.c1040 ClampPixel(image->colormap[i].red),range),range); in SetImageDepth()
1043 ClampPixel(image->colormap[i].green),range),range); in SetImageDepth()
1046 ClampPixel(image->colormap[i].blue),range),range); in SetImageDepth()
1049 ClampPixel(image->colormap[i].alpha),range),range); in SetImageDepth()
1180 q[i]=ScaleAnyToQuantum(ScaleQuantumToAny(ClampPixel(q[i]),range),range); in SetImageDepth()
Dthreshold.c720 q->red=(double) ClampPixel(q->red); in ClampImage()
721 q->green=(double) ClampPixel(q->green); in ClampImage()
722 q->blue=(double) ClampPixel(q->blue); in ClampImage()
723 q->alpha=(double) ClampPixel(q->alpha); in ClampImage()
770 q[i]=ClampPixel(q[i]); in ClampImage()
Dcomposite.c472 ClampPixel(QuantumRange*(Sa+Da-Sa*Da)) : in CompositeOverImage()
485 ClampPixel(gamma*QuantumRange*(Sca+Dca*(1.0-Sa))) : in CompositeOverImage()
732 ClampPixel(GetPixelIntensity(source_image,p)) :
1382 q[i]=clamp != MagickFalse ? ClampPixel(pixel) :
1644 q[i]=clamp != MagickFalse ? ClampPixel(pixel) :
2295 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : ClampToQuantum(pixel);
Ddistort.c3242 pixel.red=ClampPixel(QuantumRange*pixel.red); in SparseColorImage()
3244 pixel.green=ClampPixel(QuantumRange*pixel.green); in SparseColorImage()
3246 pixel.blue=ClampPixel(QuantumRange*pixel.blue); in SparseColorImage()
3249 pixel.black=ClampPixel(QuantumRange*pixel.black); in SparseColorImage()
3252 pixel.alpha=ClampPixel(QuantumRange*pixel.alpha); in SparseColorImage()
Dpixel-accessor.h34 static inline Quantum ClampPixel(const MagickRealType value) in ClampPixel() function