Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dquantize.c489 id=(size_t) (((ScaleQuantumToChar(ClampPixel(pixel->red)) >> index) & 0x01) | in ColorToNodeId()
490 ((ScaleQuantumToChar(ClampPixel(pixel->green)) >> index) & 0x01) << 1 | in ColorToNodeId()
491 ((ScaleQuantumToChar(ClampPixel(pixel->blue)) >> index) & 0x01) << 2); in ColorToNodeId()
493 id|=((ScaleQuantumToChar(ClampPixel(pixel->alpha)) >> index) & 0x1) << 3; in ColorToNodeId()
892 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
893 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); in ClassifyImageColors()
894 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); in ClassifyImageColors()
897 ClampPixel(pixel.alpha); in ClassifyImageColors()
900 ClampPixel((MagickRealType) OpaqueAlpha); in ClassifyImageColors()
999 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
[all …]
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()
740 ClampPixel(GetPixelIntensity(source_image,p)) : in CompositeImage()
1382 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : in CompositeImage()
1694 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : in CompositeImage()
2448 q[i]=clamp != MagickFalse ? ClampPixel(pixel) : ClampToQuantum(pixel); in CompositeImage()
Dattribute.c1961 ClampPixel(image->colormap[i].red),range),range); in SetImageDepth()
1964 ClampPixel(image->colormap[i].green),range),range); in SetImageDepth()
1967 ClampPixel(image->colormap[i].blue),range),range); in SetImageDepth()
1970 ClampPixel(image->colormap[i].alpha),range),range); in SetImageDepth()
2088 q[i]=ScaleAnyToQuantum(ScaleQuantumToAny(ClampPixel((MagickRealType) in SetImageDepth()
Dthreshold.c1120 q->red=(double) ClampPixel(q->red); in ClampImage()
1121 q->green=(double) ClampPixel(q->green); in ClampImage()
1122 q->blue=(double) ClampPixel(q->blue); in ClampImage()
1123 q->alpha=(double) ClampPixel(q->alpha); in ClampImage()
1165 q[i]=ClampPixel((MagickRealType) q[i]); in ClampImage()
Ddistort.c3395 pixel.red=(MagickRealType) ClampPixel(QuantumRange*pixel.red); in SparseColorImage()
3397 pixel.green=(MagickRealType) ClampPixel(QuantumRange*pixel.green); in SparseColorImage()
3399 pixel.blue=(MagickRealType) ClampPixel(QuantumRange*pixel.blue); in SparseColorImage()
3402 pixel.black=(MagickRealType) ClampPixel(QuantumRange*pixel.black); in SparseColorImage()
3405 pixel.alpha=(MagickRealType) ClampPixel(QuantumRange*pixel.alpha); in SparseColorImage()
Dpixel-accessor.h36 static inline Quantum ClampPixel(const MagickRealType pixel) in ClampPixel() function
Deffect.c3756 ClampPixel(GetPixelIntensity((image),(pixel))) in ShadeImage()