Searched refs:ClampPixel (Results 1 – 7 of 7) sorted by relevance
/external/ImageMagick/MagickCore/ |
D | quantize.c | 488 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 …]
|
D | attribute.c | 1154 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()
|
D | composite.c | 439 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);
|
D | threshold.c | 1114 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()
|
D | distort.c | 3299 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()
|
D | pixel-accessor.h | 36 static inline Quantum ClampPixel(const MagickRealType pixel) in ClampPixel() function
|
D | effect.c | 3415 ClampPixel(GetPixelIntensity((image),(pixel))) in ShadeImage()
|