Home | History | Annotate | Download | only in MagickCore

Lines Matching refs:ClampToQuantum

327     inline CLQuantum ClampToQuantum(const float value)
454 setPixelRed(p,ClampToQuantum(red));
459 setPixelGreen(p,ClampToQuantum(green));
462 setPixelBlue(p,ClampToQuantum(blue));
467 setPixelAlpha(p,number_channels,ClampToQuantum(alpha));
475 setPixelRed(p,ClampToQuantum(pixel.x));
479 setPixelGreen(p,ClampToQuantum(pixel.y));
480 setPixelBlue(p,ClampToQuantum(pixel.z));
484 setPixelAlpha(p,number_channels,ClampToQuantum(pixel.w));
1065 setRed(&rgb,ClampToQuantum(QuantumRange*brightness));
1077 float clampedBrightness = ClampToQuantum(QuantumRange*brightness);
1078 float clamped_t = ClampToQuantum(QuantumRange*t);
1079 float clamped_p = ClampToQuantum(QuantumRange*p);
1080 float clamped_q = ClampToQuantum(QuantumRange*q);
1154 uint pos = ScaleQuantumToMap(ClampToQuantum(intensity));
1357 outputPixel.x = ClampToQuantum(sum.x);
1358 outputPixel.y = ClampToQuantum(sum.y);
1359 outputPixel.z = ClampToQuantum(sum.z);
1360 outputPixel.w = ((channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].w;
1446 outputPixel.x = ClampToQuantum(sum.x);
1447 outputPixel.y = ClampToQuantum(sum.y);
1448 outputPixel.z = ClampToQuantum(sum.z);
1449 outputPixel.w = ((channel & AlphaChannel)!=0)?ClampToQuantum(sum.w):input[imageIndex.y * imageWidth + imageIndex.x].w;
1744 return(ClampToQuantum(result));
1822 CLQuantum intensity=ClampToQuantum(GetPixelIntensity(colorspace, method, red, green, blue));
1940 pixel.x = ClampToQuantum(pixel.x * mult);
1941 pixel.y = ClampToQuantum(pixel.y * mult);
1942 pixel.z = ClampToQuantum(pixel.z * mult);
2080 *red=ClampToQuantum(QuantumRange*r);
2081 *green=ClampToQuantum(QuantumRange*g);
2082 *blue=ClampToQuantum(QuantumRange*b);
2203 outputPixel.x = ClampToQuantum(pixel.x);
2204 outputPixel.y = ClampToQuantum(pixel.y);
2205 outputPixel.z = ClampToQuantum(pixel.z);
2206 outputPixel.w = ClampToQuantum(pixel.w);
2235 outputPixel.x = ClampToQuantum(pixel.x);
2236 outputPixel.y = ClampToQuantum(pixel.y);
2237 outputPixel.z = ClampToQuantum(pixel.z);
2238 outputPixel.w = ClampToQuantum(pixel.w);
3091 stage[(i / 4) + (16 * channel)] = ClampToQuantum(accum[i / 4]);