Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dquantize.c488 id=(size_t) (((ScaleQuantumToChar(ClampPixel(pixel->red)) >> index) & 0x01) | in ColorToNodeId()
489 ((ScaleQuantumToChar(ClampPixel(pixel->green)) >> index) & 0x01) << 1 | in ColorToNodeId()
490 ((ScaleQuantumToChar(ClampPixel(pixel->blue)) >> index) & 0x01) << 2); in ColorToNodeId()
492 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((MagickRealType) OpaqueAlpha); in ClassifyImageColors()
993 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
[all …]
Dattribute.c1154 ClampPixel(image->colormap[i].red),range),range); in SetImageDepth()
1157 ClampPixel(image->colormap[i].green),range),range); in SetImageDepth()
1160 ClampPixel(image->colormap[i].blue),range),range); in SetImageDepth()
1163 ClampPixel(image->colormap[i].alpha),range),range); in SetImageDepth()
1281 q[i]=ScaleAnyToQuantum(ScaleQuantumToAny(ClampPixel((MagickRealType) in SetImageDepth()
Dcomposite.c439 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : in CompositeOverImage()
472 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : in CompositeOverImage()
499 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : ClampToQuantum(pixel); in CompositeOverImage()
741 ClampPixel(GetPixelIntensity(source_image,p)) :
1389 q[i]=clamp != MagickFalse ? ClampPixel(pixel) :
1642 q[i]=clamp != MagickFalse ? ClampPixel(pixel) :
2317 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : ClampToQuantum(pixel);
Dthreshold.c1114 q->red=(double) ClampPixel(q->red); in ClampImage()
1115 q->green=(double) ClampPixel(q->green); in ClampImage()
1116 q->blue=(double) ClampPixel(q->blue); in ClampImage()
1117 q->alpha=(double) ClampPixel(q->alpha); in ClampImage()
1159 q[i]=ClampPixel((MagickRealType) q[i]); in ClampImage()
Ddistort.c3299 pixel.red=(MagickRealType) ClampPixel(QuantumRange*pixel.red); in SparseColorImage()
3301 pixel.green=(MagickRealType) ClampPixel(QuantumRange*pixel.green); in SparseColorImage()
3303 pixel.blue=(MagickRealType) ClampPixel(QuantumRange*pixel.blue); in SparseColorImage()
3306 pixel.black=(MagickRealType) ClampPixel(QuantumRange*pixel.black); in SparseColorImage()
3309 pixel.alpha=(MagickRealType) ClampPixel(QuantumRange*pixel.alpha); in SparseColorImage()
Dpixel-accessor.h36 static inline Quantum ClampPixel(const MagickRealType pixel) in ClampPixel() function
Deffect.c3415 ClampPixel(GetPixelIntensity((image),(pixel))) in ShadeImage()