Home
last modified time | relevance | path

Searched refs:GetPixelRed (Results 1 – 25 of 75) sorted by relevance

123

/external/ImageMagick/MagickCore/
Dquantum-export.c371 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 …]
Dstream.c1550 *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 …]
Dpixel.c540 *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 …]
Ddeprecate.c269 q->rgbRed = ScaleQuantumToChar(GetPixelRed(image,p)); in CropImageToHBITMAP()
379 q->rgbRed=ScaleQuantumToChar(GetPixelRed(image,p)); in ImageToHBITMAP()
Dprepress.c137 density=(double) GetPixelRed(image,p)+GetPixelGreen(image,p)+ in GetImageTotalInkDensity()
Dcolorspace.c613 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 …]
Dsegment.c389 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/
Dpnm.c1999 "%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 …]
Dyuv.c743 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()
Dmat.c206 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()
Duyvy.c351 GetPixelRed(uyvy_image,p))); in WriteUYVYImage()
353 pixel.red=(double) GetPixelRed(uyvy_image,p); in WriteUYVYImage()
Dflif.c487 *qs++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteFLIFImage()
503 *qc++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteFLIFImage()
Dtga.c700 ((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()
Dhdr.c779 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()
Dps2.c904 *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()
Dheic.c891 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()
Dcut.c284 if (intensity < GetPixelRed(image,q)) in GetCutColors()
285 intensity=GetPixelRed(image,q); in GetCutColors()
638 if (GetPixelRed(image,q) == ScaleCharToQuantum(1)) in ReadCUTImage()
Dpng.c217 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 …]
Dhrz.c336 *q++=ScaleQuantumToChar(GetPixelRed(hrz_image,p)/4); in WriteHRZImage()
Dhistogram.c261 histogram[ScaleQuantumToChar(GetPixelRed(image,p))].red++; in WriteHISTOGRAMImage()
Dmtv.c400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMTVImage()
Daai.c400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAAIImage()
Davs.c402 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAVSImage()
/external/ImageMagick/www/source/
Danalyze.c168 ConvertRGBToHSB(GetPixelRed(p),GetPixelGreen(p), in analyzeImage()
Dmgk.c429 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMGKImage()

123