Lines Matching refs:ClampPixel

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()
994 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); in ClassifyImageColors()
995 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); in ClassifyImageColors()
998 ClampPixel(pixel.alpha); in ClassifyImageColors()
1001 ClampPixel((MagickRealType) OpaqueAlpha); in ClassifyImageColors()
1476 offset=(ssize_t) (RedShift(ScaleQuantumToChar(ClampPixel(pixel->red))) | in CacheOffset()
1477 GreenShift(ScaleQuantumToChar(ClampPixel(pixel->green))) | in CacheOffset()
1478 BlueShift(ScaleQuantumToChar(ClampPixel(pixel->blue)))); in CacheOffset()
1480 offset|=AlphaShift(ScaleQuantumToChar(ClampPixel(pixel->alpha))); in CacheOffset()
1601 pixel.red=(double) ClampPixel(pixel.red); in FloydSteinbergDither()
1602 pixel.green=(double) ClampPixel(pixel.green); in FloydSteinbergDither()
1603 pixel.blue=(double) ClampPixel(pixel.blue); in FloydSteinbergDither()
1605 pixel.alpha=(double) ClampPixel(pixel.alpha); in FloydSteinbergDither()
1857 pixel.red=(double) ClampPixel(pixel.red); in RiemersmaDither()
1858 pixel.green=(double) ClampPixel(pixel.green); in RiemersmaDither()
1859 pixel.blue=(double) ClampPixel(pixel.blue); in RiemersmaDither()
1861 pixel.alpha=(double) ClampPixel(pixel.alpha); in RiemersmaDither()