/external/ImageMagick/MagickCore/ |
D | quantum-export.c | 371 q=PopCharPixel(ScaleQuantumToChar(GetPixelRed(image,p)),q); in ExportBGRQuantum() 388 ScaleQuantumToAny(GetPixelRed(image,p),range) << 22 | in ExportBGRQuantum() 401 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p),range); in ExportBGRQuantum() 415 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p),range); in ExportBGRQuantum() 441 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p), in ExportBGRQuantum() 466 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p), in ExportBGRQuantum() 495 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p), in ExportBGRQuantum() 525 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p),range); in ExportBGRQuantum() 539 pixel=(unsigned int) ScaleQuantumToAny(GetPixelRed(image,p),range); in ExportBGRQuantum() 563 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRQuantum() [all …]
|
D | stream.c | 1550 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1564 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1579 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1604 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1618 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1633 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1654 *q=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels() 1716 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() 1733 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() 1752 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() [all …]
|
D | pixel.c | 540 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 557 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 575 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 606 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 623 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 641 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 669 *q=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportCharPixel() 747 *q++=(double) (QuantumScale*GetPixelRed(image,p)); in ExportDoublePixel() 764 *q++=(double) (QuantumScale*GetPixelRed(image,p)); in ExportDoublePixel() 782 *q++=(double) (QuantumScale*GetPixelRed(image,p)); in ExportDoublePixel() [all …]
|
D | deprecate.c | 269 q->rgbRed = ScaleQuantumToChar(GetPixelRed(image,p)); in CropImageToHBITMAP() 379 q->rgbRed=ScaleQuantumToChar(GetPixelRed(image,p)); in ImageToHBITMAP()
|
D | prepress.c | 137 density=(double) GetPixelRed(image,p)+GetPixelGreen(image,p)+ in GetImageTotalInkDensity()
|
D | colorspace.c | 613 gray=0.212656*GetPixelRed(image,q)+0.715158*GetPixelGreen(image,q)+ in sRGBTransformImage() 670 gray=0.212656*GetPixelRed(image,q)+0.715158*GetPixelGreen(image,q)+ in sRGBTransformImage() 766 red=(double) GetPixelRed(image,q); in sRGBTransformImage() 1002 GetPixelRed(image,q)); in sRGBTransformImage() 1068 red=DecodePixelGamma((MagickRealType) GetPixelRed(image,q)); in sRGBTransformImage() 1315 GetPixelRed(image,q))); in sRGBTransformImage() 2191 gray=0.212656*GetPixelRed(image,q)+0.715158*GetPixelGreen(image,q)+ in TransformsRGBImage() 2252 gray=0.212656*GetPixelRed(image,q)+0.715158*GetPixelGreen(image,q)+ in TransformsRGBImage() 2349 X=QuantumScale*GetPixelRed(image,q); in TransformsRGBImage() 2587 red=(double) logmap[ScaleQuantumToMap(GetPixelRed(image,q))]; in TransformsRGBImage() [all …]
|
D | segment.c | 389 pixel.red=(double) ScaleQuantumToChar(GetPixelRed(image,p)); in Classify() 578 pixel.red=(double) ScaleQuantumToChar(GetPixelRed(image,q)); in Classify() 1090 pixel.red=(double) ScaleQuantumToChar(GetPixelRed(image,p)); in GetImageDynamicThreshold() 1252 histogram[Red][(ssize_t) ScaleQuantumToChar(GetPixelRed(image,p))]++; in InitializeHistogram()
|
/external/ImageMagick/coders/ |
D | pnm.c | 1999 "%u %u %u ",ScaleQuantumToChar(GetPixelRed(image,p)), in WritePNMImage() 2005 "%u %u %u ",ScaleQuantumToShort(GetPixelRed(image,p)), in WritePNMImage() 2010 "%u %u %u ",ScaleQuantumToLong(GetPixelRed(image,p)), in WritePNMImage() 2135 pixel=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePNMImage() 2137 pixel=ScaleQuantumToAny(GetPixelRed(image,p), in WritePNMImage() 2156 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in WritePNMImage() 2158 pixel=ScaleQuantumToAny(GetPixelRed(image,p), in WritePNMImage() 2175 pixel=ScaleQuantumToLong(GetPixelRed(image,p)); in WritePNMImage() 2177 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage() 2248 pixel=ScaleQuantumToAny(GetPixelRed(image,p),max_value); in WritePNMImage() [all …]
|
D | yuv.c | 743 GetPixelRed(yuv_image,p))); in WriteYUVImage() 748 GetPixelRed(yuv_image,p))); in WriteYUVImage() 755 GetPixelRed(yuv_image,p))); in WriteYUVImage() 760 GetPixelRed(yuv_image,p))); in WriteYUVImage() 789 GetPixelRed(yuv_image,p))); in WriteYUVImage() 792 GetPixelRed(yuv_image,p))); in WriteYUVImage()
|
D | mat.c | 206 f=(*p/MaxVal)*(Quantum) (QuantumRange-GetPixelRed(image,q)); in InsertComplexDoubleRow() 207 if ((f+GetPixelRed(image,q)) >= QuantumRange) in InsertComplexDoubleRow() 210 SetPixelRed(image,GetPixelRed(image,q)+ClampToQuantum(f),q); in InsertComplexDoubleRow() 269 f=(*p/MaxVal)*(Quantum) (QuantumRange-GetPixelRed(image,q)); in InsertComplexFloatRow() 270 if ((f+GetPixelRed(image,q)) < QuantumRange) in InsertComplexFloatRow() 271 SetPixelRed(image,GetPixelRed(image,q)+ClampToQuantum(f),q); in InsertComplexFloatRow() 296 SetPixelRed(image,GetPixelRed(image,q)-ClampToQuantum(f),q); in InsertComplexFloatRow() 297 SetPixelGreen(image,GetPixelRed(image,q),q); in InsertComplexFloatRow() 432 SetPixelRed(image,GetPixelRed(image,q)+QuantumRange/2+1,q); in FixSignedValues()
|
D | uyvy.c | 351 GetPixelRed(uyvy_image,p))); in WriteUYVYImage() 353 pixel.red=(double) GetPixelRed(uyvy_image,p); in WriteUYVYImage()
|
D | flif.c | 487 *qs++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteFLIFImage() 503 *qc++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteFLIFImage()
|
D | tga.c | 700 ((unsigned char) ScaleQuantumToAny(GetPixelRed(image,p),range) << in WriteTGAPixel() 711 GetPixelRed(image,p))); in WriteTGAPixel() 948 (GetPixelRed(image,p+(i*channels)) != in WriteTGAImage() 949 GetPixelRed(image,p+((i-1)*channels)))) in WriteTGAImage()
|
D | hdr.c | 779 gamma=QuantumScale*GetPixelRed(image,p); in WriteHDRImage() 790 if (GetPixelRed(image,p) > 0) in WriteHDRImage() 791 pixel[0]=(unsigned char) (gamma*QuantumScale*GetPixelRed(image,p)); in WriteHDRImage()
|
D | ps2.c | 904 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image() 910 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image() 962 GetPixelRed(image,p))); in WritePS2Image() 971 GetPixelRed(image,p))); in WritePS2Image()
|
D | heic.c | 891 q_y[y*p_y+x]=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImageYCbCr() 897 q_y[y*p_y+x]=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImageYCbCr() 903 q_y[y*p_y+x+1]=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImageYCbCr() 964 *(q++)=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImageRGBA()
|
D | cut.c | 284 if (intensity < GetPixelRed(image,q)) in GetCutColors() 285 intensity=GetPixelRed(image,q); in GetCutColors() 638 if (GetPixelRed(image,q) == ScaleCharToQuantum(1)) in ReadCUTImage()
|
D | png.c | 217 ScaleQuantumToChar(GetPixelRed(image,(pixel))) < 0x10 ? \ 290 unsigned char lbr_bits=ScaleQuantumToChar(GetPixelRed(image,(pixel))) \ 365 unsigned char lbr_bits=ScaleQuantumToChar(GetPixelRed(image,(pixel))) \ 430 unsigned char lbr_bits=ScaleQuantumToChar(GetPixelRed(image,(pixel))) \ 927 QuantumToCharToQuantumEqQuantum(GetPixelRed(image,p)) && in LosslessReduceDepthOK() 3540 (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage() 3867 if (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage() 5080 SetPixelRed(image,GetPixelRed(jng_image,s),q); in ReadOneJNGImage() 5129 SetPixelAlpha(image,GetPixelRed(jng_image,s),q); in ReadOneJNGImage() 5137 SetPixelAlpha(image,GetPixelRed(jng_image,s),q); in ReadOneJNGImage() [all …]
|
D | hrz.c | 336 *q++=ScaleQuantumToChar(GetPixelRed(hrz_image,p)/4); in WriteHRZImage()
|
D | histogram.c | 261 histogram[ScaleQuantumToChar(GetPixelRed(image,p))].red++; in WriteHISTOGRAMImage()
|
D | mtv.c | 400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMTVImage()
|
D | aai.c | 400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAAIImage()
|
D | avs.c | 402 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAVSImage()
|
/external/ImageMagick/www/source/ |
D | analyze.c | 168 ConvertRGBToHSB(GetPixelRed(p),GetPixelGreen(p), in analyzeImage()
|
D | mgk.c | 429 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMGKImage()
|