/external/ImageMagick/coders/ |
cip.c | 242 ((((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+3))/QuantumRange) & 0x03) << 6) | 243 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+2))/QuantumRange) & 0x03) << 4) | 244 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+1))/QuantumRange) & 0x03) << 2) | 245 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+0))/QuantumRange) & 0x03) << 0)); 254 ((((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,3)))/QuantumRange) & 0x03) << 6) | 255 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,2)))/QuantumRange) & 0x03) << 4) | 256 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,1)))/QuantumRange) & 0x03) << 2) | 257 (((size_t) (3*ClampToQuantum(GetPixelLuma(image,p+MagickMin(i,0)))/QuantumRange) & 0x03) << 0));
|
hald.c | 156 SetPixelRed(image,ClampToQuantum(QuantumRange*red/(cube_size-1.0)),q); 157 SetPixelGreen(image,ClampToQuantum(QuantumRange*green/(cube_size-1.0)), 159 SetPixelBlue(image,ClampToQuantum(QuantumRange*blue/(cube_size-1.0)),q);
|
tga.c | 531 SetPixelRed(image,ClampToQuantum(pixel.red),q); 532 SetPixelGreen(image,ClampToQuantum(pixel.green),q); 533 SetPixelBlue(image,ClampToQuantum(pixel.blue),q); 535 SetPixelAlpha(image,ClampToQuantum(pixel.alpha),q); 684 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( 890 green=(unsigned char) ScaleQuantumToAny(ClampToQuantum( 892 *q++=((unsigned char) ScaleQuantumToAny(ClampToQuantum( 895 ClampToQuantum(image->colormap[i].alpha) > midpoint)) ? 0x80 : 0) | 896 ((unsigned char) ScaleQuantumToAny(ClampToQuantum( 901 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)) [all...] |
miff.c | [all...] |
exr.c | 244 SetPixelRed(image,ClampToQuantum(QuantumRange* 246 SetPixelGreen(image,ClampToQuantum(QuantumRange* 248 SetPixelBlue(image,ClampToQuantum(QuantumRange* 250 SetPixelAlpha(image,ClampToQuantum(QuantumRange*
|
ps.c | [all...] |
jp2.c | 469 SetPixelRed(image,ClampToQuantum(pixel),q); 470 SetPixelGreen(image,ClampToQuantum(pixel),q); 471 SetPixelBlue(image,ClampToQuantum(pixel),q); 479 SetPixelAlpha(image,ClampToQuantum(pixel),q); 482 SetPixelGreen(image,ClampToQuantum(pixel),q); 487 SetPixelBlue(image,ClampToQuantum(pixel),q); 492 SetPixelAlpha(image,ClampToQuantum(pixel),q); [all...] |
/external/ImageMagick/MagickCore/ |
composite-private.h | 86 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->red,alpha, 92 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->green,alpha, 98 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->blue,alpha, 104 composite[i]=ClampToQuantum(gamma*MagickOver_((double) p->black,alpha, 110 composite[i]=ClampToQuantum(QuantumRange*RoundToUnity(Sa+Da-Sa*Da));
|
quantum-import.c | 297 SetPixelAlpha(image,ClampToQuantum(QuantumRange* 326 SetPixelAlpha(image,ClampToQuantum(pixel),q); 351 SetPixelAlpha(image,ClampToQuantum(pixel),q); 583 SetPixelRed(image,ClampToQuantum(QuantumRange* 586 SetPixelGreen(image,ClampToQuantum(QuantumRange* 589 SetPixelBlue(image,ClampToQuantum(QuantumRange* 622 SetPixelRed(image,ClampToQuantum(pixel),q); 624 SetPixelGreen(image,ClampToQuantum(pixel),q); 626 SetPixelBlue(image,ClampToQuantum(pixel),q); 655 SetPixelRed(image,ClampToQuantum(pixel),q) [all...] |
cache-view.c | 743 pixel[RedPixelChannel]=ClampToQuantum(background_color.red); 744 pixel[GreenPixelChannel]=ClampToQuantum(background_color.green); 745 pixel[BluePixelChannel]=ClampToQuantum(background_color.blue); 746 pixel[BlackPixelChannel]=ClampToQuantum(background_color.black); 747 pixel[AlphaPixelChannel]=ClampToQuantum(background_color.alpha); [all...] |
color.c | [all...] |
enhance.c | 395 pixel.red=clut_map[ScaleQuantumToMap(ClampToQuantum( 399 pixel.green=clut_map[ScaleQuantumToMap(ClampToQuantum( 403 pixel.blue=clut_map[ScaleQuantumToMap(ClampToQuantum( 407 pixel.black=clut_map[ScaleQuantumToMap(ClampToQuantum( 411 pixel.alpha=clut_map[ScaleQuantumToMap(ClampToQuantum( 746 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma; 748 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma; 750 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma; 785 SetPixelRed(image,ClampToQuantum(luma+color_correction.saturation* 787 SetPixelGreen(image,ClampToQuantum(luma+color_correction.saturation [all...] |
pixel.c | 601 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); 712 *q=ScaleQuantumToChar(ClampToQuantum(GetPixelIntensity(image,p))); [all...] |
accelerate-kernels-private.h | 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)) [all...] |
pixel-accessor.h | 634 ClampToQuantum(image->background_color.red); 636 ClampToQuantum(image->background_color.green); 638 ClampToQuantum(image->background_color.blue); 641 ClampToQuantum(image->background_color.black); 645 ClampToQuantum(image->background_color.alpha); 772 ClampToQuantum(pixel_info->red); 774 ClampToQuantum(pixel_info->green); 776 ClampToQuantum(pixel_info->blue); 779 ClampToQuantum(pixel_info->black); 783 ClampToQuantum(pixel_info->alpha) [all...] |
colorspace.c | 370 SetPixelGray(image,ClampToQuantum(GetPixelIntensity(image,q)),q); 564 SetPixelRed(image,ClampToQuantum(QuantumRange*X),q); 565 SetPixelGreen(image,ClampToQuantum(QuantumRange*Y),q); 566 SetPixelBlue(image,ClampToQuantum(QuantumRange*Z),q); 672 SetPixelRed(image,logmap[ScaleQuantumToMap(ClampToQuantum(red))],q); 673 SetPixelGreen(image,logmap[ScaleQuantumToMap(ClampToQuantum(green))], 675 SetPixelBlue(image,logmap[ScaleQuantumToMap(ClampToQuantum(blue))],q); 736 SetPixelRed(image,ClampToQuantum(red),q); 737 SetPixelGreen(image,ClampToQuantum(green),q); 738 SetPixelBlue(image,ClampToQuantum(blue),q) [all...] |
channel.c | 393 source_image,source_channel,ClampToQuantum(pixel),exception); 403 source_image,destination_channel,ClampToQuantum(pixel),exception); 895 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 901 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 907 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 913 composite[i]=ClampToQuantum(gamma*MagickOver_((double) q[i],beta, 919 composite[i]=ClampToQuantum(QuantumRange*(Sa*(-Da)+Sa+Da)); [all...] |
histogram.c | 171 ((ScaleQuantumToChar(ClampToQuantum(pixel->red)) >> index) & 0x01) | 172 ((ScaleQuantumToChar(ClampToQuantum(pixel->green)) >> index) & 0x01) << 1 | 173 ((ScaleQuantumToChar(ClampToQuantum(pixel->blue)) >> index) & 0x01) << 2); 175 id|=((ScaleQuantumToChar(ClampToQuantum(pixel->alpha)) >> index) & [all...] |
quantum.h | 84 static inline Quantum ClampToQuantum(const MagickRealType value)
|
quantize.c | 619 SetPixelRed(image,ClampToQuantum( 621 SetPixelGreen(image,ClampToQuantum( 623 SetPixelBlue(image,ClampToQuantum( 626 SetPixelAlpha(image,ClampToQuantum( [all...] |
fourier.c | 584 SetPixelRed(magnitude_image,ClampToQuantum(QuantumRange* 590 SetPixelGreen(magnitude_image,ClampToQuantum(QuantumRange* 596 SetPixelBlue(magnitude_image,ClampToQuantum(QuantumRange* 602 SetPixelBlack(magnitude_image,ClampToQuantum(QuantumRange* 608 SetPixelAlpha(magnitude_image,ClampToQuantum(QuantumRange* 636 SetPixelRed(phase_image,ClampToQuantum(QuantumRange* 642 SetPixelGreen(phase_image,ClampToQuantum(QuantumRange* 648 SetPixelBlue(phase_image,ClampToQuantum(QuantumRange* 654 SetPixelBlack(phase_image,ClampToQuantum(QuantumRange* 660 SetPixelAlpha(phase_image,ClampToQuantum(QuantumRange [all...] |
decorate.c | 733 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*HighlightFactor+(double) 751 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*AccentuateFactor+ 769 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*ShadowFactor+(double) 823 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*HighlightFactor+(double) 843 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*ShadowFactor+(double) 897 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*HighlightFactor+(double) 910 q[i]=ClampToQuantum(QuantumScale*((double) q[i]*TroughFactor+ [all...] |
stream.c | 468 pixel[RedPixelChannel]=ClampToQuantum(image->background_color.red); 469 pixel[GreenPixelChannel]=ClampToQuantum(image->background_color.green); 470 pixel[BluePixelChannel]=ClampToQuantum(image->background_color.blue); 471 pixel[BlackPixelChannel]=ClampToQuantum(image->background_color.black); 472 pixel[AlphaPixelChannel]=ClampToQuantum(image->background_color.alpha); 533 pixel[RedPixelChannel]=ClampToQuantum(image->background_color.red); 534 pixel[GreenPixelChannel]=ClampToQuantum(image->background_color.green); 535 pixel[BluePixelChannel]=ClampToQuantum(image->background_color.blue); 536 pixel[BlackPixelChannel]=ClampToQuantum(image->background_color.black); 537 pixel[AlphaPixelChannel]=ClampToQuantum(image->background_color.alpha) [all...] |
/external/ImageMagick/MagickWand/ |
pixel-wand.c | 566 return(ClampToQuantum(wand->pixel.alpha)); 630 return(ClampToQuantum(wand->pixel.black)); 694 return(ClampToQuantum(wand->pixel.blue)); [all...] |
/external/ImageMagick/Magick++/lib/ |
Color.cpp | 632 quantumRed(ClampToQuantum(red)); 633 quantumGreen(ClampToQuantum(green)); 634 quantumBlue(ClampToQuantum(blue)); 669 quantumRed(ClampToQuantum(red)); 670 quantumGreen(ClampToQuantum(green)); 671 quantumBlue(ClampToQuantum(blue)); 706 quantumRed(ClampToQuantum(red)); 707 quantumGreen(ClampToQuantum(green)); 708 quantumBlue(ClampToQuantum(blue));
|