/external/ImageMagick/MagickCore/ |
H A D | colorspace-private.h | 32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange- 34 pixel->green=((QuantumRange-(QuantumScale*pixel->green*(QuantumRange- 36 pixel->blue=((QuantumRange-(QuantumScale*pixel->blue*(QuantumRange- 53 red=QuantumScale*pixel->red; 54 green=QuantumScale*pixel->green; 55 blue=QuantumScale*pixel->blue; 59 red=QuantumScale*DecodePixelGamma(pixel->red); 60 green=QuantumScale*DecodePixelGamma(pixel->green); 61 blue=QuantumScale*DecodePixelGamma(pixel->blue);
|
H A D | gem.c | 890 *chroma=QuantumScale*c; 891 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); 952 *chroma=QuantumScale*c; 953 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); 1012 *brightness=QuantumScale*max; 1069 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; 1076 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*gree [all...] |
H A D | composite-private.h | 42 Sa=QuantumScale*alpha; 43 Da=QuantumScale*beta; 66 Sa=QuantumScale*alpha; 67 Da=QuantumScale*beta; 133 Sa=QuantumScale*alpha; 134 Da=QuantumScale*beta, 156 Sa=QuantumScale*alpha; 157 Da=QuantumScale*beta;
|
H A D | decorate.c | 253 accentuate.red=(double) (QuantumScale*((QuantumRange- 255 accentuate.green=(double) (QuantumScale*((QuantumRange- 257 accentuate.blue=(double) (QuantumScale*((QuantumRange- 259 accentuate.black=(double) (QuantumScale*((QuantumRange- 263 highlight.red=(double) (QuantumScale*((QuantumRange- 265 highlight.green=(double) (QuantumScale*((QuantumRange- 267 highlight.blue=(double) (QuantumScale*((QuantumRange- 269 highlight.black=(double) (QuantumScale*((QuantumRange- 273 shadow.red=QuantumScale*matte.red*ShadowModulate; 274 shadow.green=QuantumScale*matt [all...] |
H A D | stream.c | 1634 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* 1636 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* 1638 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* 1651 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* 1653 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* 1655 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* 1657 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* 1670 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* 1672 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* 1674 *q++=(double) ((QuantumScale*GetPixelRe [all...] |
H A D | compare.c | 268 Sa=QuantumScale*GetPixelAlpha(image,p); 269 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); 424 Sa=QuantumScale*GetPixelAlpha(image,p); 425 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); 528 Sa=QuantumScale*GetPixelAlpha(image,p); 529 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); 543 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, 632 Sa=QuantumScale*GetPixelAlpha(image,p); 633 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); 647 distance=QuantumScale*fab [all...] |
H A D | magick-type.h | 103 #define QuantumScale ((double) 1.0/(double) QuantumRange) macro
|
H A D | gem-private.h | 138 r=QuantumScale*DecodePixelGamma(red); 139 g=QuantumScale*DecodePixelGamma(green); 140 b=QuantumScale*DecodePixelGamma(blue);
|
H A D | pixel.c | 330 return((MagickRealType) (QuantumRange*DecodeGamma((double) (QuantumScale* 459 return((MagickRealType) QuantumRange*(1.055*EncodeGamma((double) QuantumScale* 754 *q++=(double) (QuantumScale*GetPixelBlue(image,p)); 755 *q++=(double) (QuantumScale*GetPixelGreen(image,p)); 756 *q++=(double) (QuantumScale*GetPixelRed(image,p)); 771 *q++=(double) (QuantumScale*GetPixelBlue(image,p)); 772 *q++=(double) (QuantumScale*GetPixelGreen(image,p)); 773 *q++=(double) (QuantumScale*GetPixelRed(image,p)); 774 *q++=(double) (QuantumScale*GetPixelAlpha(image,p)); 789 *q++=(double) (QuantumScale*GetPixelBlu [all...] |
H A D | quantize.c | 458 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixel)); 480 alpha=(double) (QuantumScale*pixel->alpha); 876 error.red=QuantumScale*(pixel.red-mid.red); 877 error.green=QuantumScale*(pixel.green-mid.green); 878 error.blue=QuantumScale*(pixel.blue-mid.blue); 880 error.alpha=QuantumScale*(pixel.alpha-mid.alpha); 893 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); 894 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); 895 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); 897 node_info->total_color.alpha+=count*QuantumScale* [all...] |
H A D | quantum-export.c | 280 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); 559 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); 561 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); 563 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); 785 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); 787 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); 789 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); 791 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); 1029 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); 1031 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGree [all...] |
H A D | fourier.c | 304 Cr[i]=QuantumScale*(Ar[i]*Br[i]-Ai[i]*Bi[i]); 305 Ci[i]=QuantumScale*(Ai[i]*Br[i]+Ar[i]*Bi[i]); 740 source_pixels[i]=QuantumScale*GetPixelRed(image,p); 745 source_pixels[i]=QuantumScale*GetPixelGreen(image,p); 750 source_pixels[i]=QuantumScale*GetPixelBlue(image,p); 755 source_pixels[i]=QuantumScale*GetPixelBlack(image,p); 760 source_pixels[i]=QuantumScale*GetPixelAlpha(image,p); 1167 magnitude_pixels[i]=QuantumScale*GetPixelRed(magnitude_image,p); 1172 magnitude_pixels[i]=QuantumScale*GetPixelGreen(magnitude_image,p); 1177 magnitude_pixels[i]=QuantumScale*GetPixelBlu [all...] |
H A D | statistic.c | 268 QuantumScale*pixel*value))+0.5)); 278 result=(double) (QuantumRange*exp((double) (value*QuantumScale*pixel))); 306 if ((QuantumScale*pixel) >= MagickEpsilon) 307 result=(double) (QuantumRange*log((double) (QuantumScale*value*pixel+ 355 result=(double) (QuantumRange*pow((double) (QuantumScale*pixel),(double) 377 QuantumScale*pixel*value))+0.5)); 695 evaluate_pixel[x].channel[i]*=QuantumScale; 917 result=result*QuantumScale*pixel+parameters[i]; 937 MagickPI*(frequency*QuantumScale*pixel+phase/360.0)))+bias)); 956 result=2.0/width*(QuantumScale*pixe [all...] |
H A D | composite.c | 285 *chroma=QuantumScale*c; 286 *luma=QuantumScale*(0.298839*r+0.586811*g+0.114350*b); 447 Sa=QuantumScale*GetPixelAlpha(source_image,p); 448 Da=QuantumScale*GetPixelAlpha(image,q); 484 Sca=QuantumScale*Sa*Sc; 485 Dca=QuantumScale*Da*Dc; 907 angle=angle_start+angle_range*QuantumScale* 918 (void) fprintf(stderr, "scaled by=%lf,%lf\n",QuantumScale* 919 GetPixelRed(p),QuantumScale*GetPixelGreen(p)); 922 blur.x1*QuantumScale*GetPixelRe [all...] |
H A D | accelerate-kernels-private.h | 816 poisson=exp(-SigmaPoisson*QuantumScale*pixel); 1044 HueSaturationBrightness.z=QuantumScale*tmax; 1338 float alpha = QuantumScale*p.w; 1426 float alpha = QuantumScale*p.w; 1700 result = result*QuantumScale*pixel + parameters[i]; 1712 (freq*QuantumScale*pixel + phase/360.0f)) + bias); 1723 result = 2.0f/width*(QuantumScale*pixel - center); 1737 result = MagickPI*slope*(QuantumScale*pixel-center); 1973 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*gree [all...] |
H A D | enhance.c | 134 gamma=log(mean*QuantumScale)/log_mean; 152 gamma=log(mean*QuantumScale)/log_mean; 1313 mean=QuantumScale*((double) GetPixelRed(image,r)+pixel.red)/2.0; \ 1314 distance=QuantumScale*((double) GetPixelRed(image,r)-pixel.red); \ 1316 mean=QuantumScale*((double) GetPixelGreen(image,r)+pixel.green)/2.0; \ 1317 distance=QuantumScale*((double) GetPixelGreen(image,r)-pixel.green); \ 1319 mean=QuantumScale*((double) GetPixelBlue(image,r)+pixel.blue)/2.0; \ 1320 distance=QuantumScale*((double) GetPixelBlue(image,r)-pixel.blue); \ 1322 mean=QuantumScale*((double) GetPixelBlack(image,r)+pixel.black)/2.0; \ 1323 distance=QuantumScale*((doubl [all...] |
H A D | colorspace.c | 126 *cyan=QuantumScale*(QuantumRange-red); 127 *magenta=QuantumScale*(QuantumRange-green); 128 *yellow=QuantumScale*(QuantumRange-blue); 192 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); 193 *Db=QuantumScale*(-0.450*red-0.883*green+1.333*blue)+0.5; 194 *Dr=QuantumScale*(-1.333*red+1.116*green+0.217*blue)+0.5; 200 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); 201 *I=QuantumScale*(0.595716*red-0.274453*green-0.321263*blue)+0.5; 202 *Q=QuantumScale*(0.211456*red-0.522591*green+0.311135*blue)+0.5; 208 *Y=QuantumScale*(0.29883 [all...] |
/external/ImageMagick/tests/ |
H A D | validate.c | 142 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; 149 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, 150 QuantumScale*blue))/(*intensity); 151 alpha=0.5*(2.0*QuantumScale*red-QuantumScale*green-QuantumScale*blue); 152 beta=0.8660254037844385*(QuantumScale*gree [all...] |
/external/ImageMagick/www/source/ |
H A D | contrast.c | 8 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) macro 10 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503)
|
/external/ImageMagick/www/source/core/ |
H A D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) macro 11 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503)
|
/external/ImageMagick/www/source/wand/ |
H A D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) macro 11 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503)
|
/external/ImageMagick/coders/ |
H A D | hdr.c | 782 gamma=QuantumScale*GetPixelRed(image,p); 783 if ((QuantumScale*GetPixelGreen(image,p)) > gamma) 784 gamma=QuantumScale*GetPixelGreen(image,p); 785 if ((QuantumScale*GetPixelBlue(image,p)) > gamma) 786 gamma=QuantumScale*GetPixelBlue(image,p); 793 pixel[0]=(unsigned char) (gamma*QuantumScale*GetPixelRed(image,p)); 794 pixel[1]=(unsigned char) (gamma*QuantumScale*GetPixelGreen(image,p)); 795 pixel[2]=(unsigned char) (gamma*QuantumScale*GetPixelBlue(image,p));
|
H A D | pango.c | 403 cairo_set_source_rgba(cairo_image,QuantumScale*draw_info->fill.red, 404 QuantumScale*draw_info->fill.green,QuantumScale*draw_info->fill.blue, 405 QuantumScale*draw_info->fill.alpha); 440 gamma=QuantumScale*fill_color.alpha;
|
H A D | exr.c | 548 ImfFloatToHalf(QuantumScale*GetPixelRed(image,p),&half_quantum); 550 ImfFloatToHalf(QuantumScale*GetPixelGreen(image,p),&half_quantum); 552 ImfFloatToHalf(QuantumScale*GetPixelBlue(image,p),&half_quantum); 557 ImfFloatToHalf(QuantumScale*GetPixelAlpha(image,p),&half_quantum);
|
/external/ImageMagick/MagickWand/ |
H A D | pixel-wand.c | 534 return((double) QuantumScale*wand->pixel.alpha); 598 return((double) QuantumScale*wand->pixel.black); 662 return((double) QuantumScale*wand->pixel.blue); 772 (QuantumScale*wand->pixel.red),(double) (QuantumScale*wand->pixel.green), 773 (double) (QuantumScale*wand->pixel.blue)); 776 (double) (QuantumScale*wand->pixel.black)); 779 (double) (QuantumScale*wand->pixel.alpha)); 844 return((double) QuantumScale*wand->pixel.red); 1031 return((double) QuantumScale*wan [all...] |