Home
last modified time | relevance | path

Searched refs:ScaleQuantumToChar (Results 1 – 25 of 54) sorted by relevance

123

/external/ImageMagick/MagickCore/
Dsegment.c375 if (((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) >= in Classify()
377 ((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) <= in Classify()
379 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) >= in Classify()
381 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) <= in Classify()
383 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) >= in Classify()
385 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) <= in Classify()
392 cluster->red.center+=(double) ScaleQuantumToChar( in Classify()
394 cluster->green.center+=(double) ScaleQuantumToChar( in Classify()
396 cluster->blue.center+=(double) ScaleQuantumToChar( in Classify()
568 if (((ssize_t) ScaleQuantumToChar(GetPixelRed(image,q)) >= in Classify()
[all …]
Dquantum.h98 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
111 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
124 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
138 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
Ddeprecate.c264 q->rgbRed = ScaleQuantumToChar(GetPixelRed(image,p)); in CropImageToHBITMAP()
265 q->rgbGreen = ScaleQuantumToChar(GetPixelGreen(image,p)); in CropImageToHBITMAP()
266 q->rgbBlue = ScaleQuantumToChar(GetPixelBlue(image,p)); in CropImageToHBITMAP()
374 q->rgbRed=ScaleQuantumToChar(GetPixelRed(image,p)); in ImageToHBITMAP()
375 q->rgbGreen=ScaleQuantumToChar(GetPixelGreen(image,p)); in ImageToHBITMAP()
376 q->rgbBlue=ScaleQuantumToChar(GetPixelBlue(image,p)); in ImageToHBITMAP()
Dstream.c1510 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1511 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1512 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
1524 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1525 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1526 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
1527 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in StreamImagePixels()
1539 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1540 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1541 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
[all …]
Dquantum-export.c263 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
368 q=PopCharPixel(ScaleQuantumToChar(GetPixelBlue(image,p)),q); in ExportBGRQuantum()
369 q=PopCharPixel(ScaleQuantumToChar(GetPixelGreen(image,p)),q); in ExportBGRQuantum()
370 q=PopCharPixel(ScaleQuantumToChar(GetPixelRed(image,p)),q); in ExportBGRQuantum()
667 pixel=ScaleQuantumToChar(GetPixelBlue(image,p)); in ExportBGRAQuantum()
669 pixel=ScaleQuantumToChar(GetPixelGreen(image,p)); in ExportBGRAQuantum()
671 pixel=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportBGRAQuantum()
673 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportBGRAQuantum()
911 pixel=ScaleQuantumToChar(GetPixelBlue(image,p)); in ExportBGROQuantum()
913 pixel=ScaleQuantumToChar(GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
/external/ImageMagick/coders/
Dps2.c807 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePS2Image()
841 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePS2Image()
910 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
911 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
912 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
917 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
918 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
919 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePS2Image()
923 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
924 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
[all …]
Dps3.c277 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
278 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
279 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
285 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
286 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
287 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
288 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in SerializeImage()
350 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in SerializeImageChannel()
1514 pixel=ScaleQuantumToChar(image->colormap[i].red); in WritePS3Image()
1516 pixel=ScaleQuantumToChar(image->colormap[i].green); in WritePS3Image()
[all …]
Dpdf.c1950 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePDFImage()
1992 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePDFImage()
2063 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePDFImage()
2064 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePDFImage()
2065 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePDFImage()
2067 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in WritePDFImage()
2109 Ascii85Encode(image,ScaleQuantumToChar(GetPixelRed(image,p))); in WritePDFImage()
2110 Ascii85Encode(image,ScaleQuantumToChar(GetPixelGreen(image,p))); in WritePDFImage()
2111 Ascii85Encode(image,ScaleQuantumToChar(GetPixelBlue(image,p))); in WritePDFImage()
2113 Ascii85Encode(image,ScaleQuantumToChar( in WritePDFImage()
[all …]
Dyuv.c740 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
742 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
745 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
747 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
752 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
757 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
788 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
830 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
864 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
Duyvy.c347 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.green)); in WriteUYVYImage()
348 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.red)); in WriteUYVYImage()
349 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.blue)); in WriteUYVYImage()
350 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteUYVYImage()
Dhistogram.c241 length=MagickMax((size_t) ScaleQuantumToChar(QuantumRange)+1UL, in WriteHISTOGRAMImage()
261 histogram[ScaleQuantumToChar(GetPixelRed(image,p))].red++; in WriteHISTOGRAMImage()
263 histogram[ScaleQuantumToChar(GetPixelGreen(image,p))].green++; in WriteHISTOGRAMImage()
265 histogram[ScaleQuantumToChar(GetPixelBlue(image,p))].blue++; in WriteHISTOGRAMImage()
Daai.c398 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteAAIImage()
399 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteAAIImage()
400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAAIImage()
401 *q=ScaleQuantumToChar((Quantum) (image->alpha_trait != in WriteAAIImage()
Davs.c400 *q++=ScaleQuantumToChar((Quantum) (image->alpha_trait == in WriteAVSImage()
402 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAVSImage()
403 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteAVSImage()
404 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteAVSImage()
Dhrz.c336 *q++=ScaleQuantumToChar(GetPixelRed(hrz_image,p)/4); in WriteHRZImage()
337 *q++=ScaleQuantumToChar(GetPixelGreen(hrz_image,p)/4); in WriteHRZImage()
338 *q++=ScaleQuantumToChar(GetPixelBlue(hrz_image,p)/4); in WriteHRZImage()
Dtga.c685 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WriteTGAPixel()
707 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
709 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
711 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
714 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
897 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)); in WriteTGAImage()
898 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green)); in WriteTGAImage()
899 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].red)); in WriteTGAImage()
Dflif.c503 *qc++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteFLIFImage()
504 *qc++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteFLIFImage()
505 *qc++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteFLIFImage()
507 *qc++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteFLIFImage()
Demf.c609 pBits->rgbRed=ScaleQuantumToChar(image->background_color.red); in ReadEMFImage()
610 pBits->rgbGreen=ScaleQuantumToChar(image->background_color.green); in ReadEMFImage()
611 pBits->rgbBlue=ScaleQuantumToChar(image->background_color.blue); in ReadEMFImage()
777 graphics->Clear(Gdiplus::Color((BYTE) ScaleQuantumToChar( in ReadEMFImage()
778 image->background_color.alpha),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
779 image->background_color.red),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
780 image->background_color.green),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
Ddib.c1281 ScaleQuantumToChar(GetPixelRed(image,p))) << 11) | (ScaleColor8to6( in WriteDIBImage()
1282 (unsigned char) ScaleQuantumToChar(GetPixelGreen(image,p))) << 5) | in WriteDIBImage()
1283 (ScaleColor8to5((unsigned char) ScaleQuantumToChar((unsigned char) in WriteDIBImage()
1312 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteDIBImage()
1313 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteDIBImage()
1314 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteDIBImage()
1316 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteDIBImage()
1387 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)); in WriteDIBImage()
1388 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green)); in WriteDIBImage()
1389 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].red)); in WriteDIBImage()
Dmtv.c400 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMTVImage()
401 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteMTVImage()
402 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteMTVImage()
Dpcl.c774 ScaleQuantumToChar(image->colormap[i].red), in WritePCLImage()
775 ScaleQuantumToChar(image->colormap[i].green), in WritePCLImage()
776 ScaleQuantumToChar(image->colormap[i].blue),(double) i); in WritePCLImage()
910 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCLImage()
911 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCLImage()
912 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCLImage()
Dsun.c930 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteSUNImage()
931 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteSUNImage()
932 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteSUNImage()
933 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteSUNImage()
1001 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
1004 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
1007 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
Dheic.c706 p_y[y*stride_y+x]=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImage()
707 p_cb[y/2*stride_cb+x/2]=ScaleQuantumToChar(GetPixelGreen(image, in WriteHEICImage()
709 p_cr[y/2*stride_cr+x/2]=ScaleQuantumToChar(GetPixelBlue(image, in WriteHEICImage()
715 p_y[y*stride_y + x+1]=ScaleQuantumToChar(GetPixelRed(image, in WriteHEICImage()
725 p_y[y*stride_y + x]=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteHEICImage()
Dpcx.c1023 *q++=ScaleQuantumToChar(image->colormap[i].red); in WritePCXImage()
1024 *q++=ScaleQuantumToChar(image->colormap[i].green); in WritePCXImage()
1025 *q++=ScaleQuantumToChar(image->colormap[i].blue); in WritePCXImage()
1064 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCXImage()
1073 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCXImage()
1082 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCXImage()
1092 *q++=ScaleQuantumToChar((Quantum) (GetPixelAlpha(image,p))); in WritePCXImage()
Dpalm.c198 if (ScaleQuantumToChar(ClampToQuantum(packet->red)) == PalmPalette[i][0] && in FindColor()
199 ScaleQuantumToChar(ClampToQuantum(packet->green)) == PalmPalette[i][1] && in FindColor()
200 ScaleQuantumToChar(ClampToQuantum(packet->blue)) == PalmPalette[i][2]) in FindColor()
840 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
842 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
844 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
/external/ImageMagick/www/source/
Dmgk.c428 *q++=ScaleQuantumToChar(GetRedSample(p)); in WriteMGKImage()
429 *q++=ScaleQuantumToChar(GetGreenSample(p)); in WriteMGKImage()
430 *q++=ScaleQuantumToChar(GetBlueSample(p)); in WriteMGKImage()

123