Home
last modified time | relevance | path

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

12

/external/ImageMagick/MagickCore/
Dsegment.c373 if (((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) >= in Classify()
375 ((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) <= in Classify()
377 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) >= in Classify()
379 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) <= in Classify()
381 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) >= in Classify()
383 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) <= in Classify()
390 cluster->red.center+=(double) ScaleQuantumToChar( in Classify()
392 cluster->green.center+=(double) ScaleQuantumToChar( in Classify()
394 cluster->blue.center+=(double) ScaleQuantumToChar( in Classify()
566 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
Dstream.c1447 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1448 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1449 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
1461 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1462 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1463 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
1464 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in StreamImagePixels()
1476 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in StreamImagePixels()
1477 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in StreamImagePixels()
1478 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in StreamImagePixels()
[all …]
Dquantum-export.c262 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
367 q=PopCharPixel(ScaleQuantumToChar(GetPixelBlue(image,p)),q); in ExportBGRQuantum()
368 q=PopCharPixel(ScaleQuantumToChar(GetPixelGreen(image,p)),q); in ExportBGRQuantum()
369 q=PopCharPixel(ScaleQuantumToChar(GetPixelRed(image,p)),q); in ExportBGRQuantum()
666 pixel=ScaleQuantumToChar(GetPixelBlue(image,p)); in ExportBGRAQuantum()
668 pixel=ScaleQuantumToChar(GetPixelGreen(image,p)); in ExportBGRAQuantum()
670 pixel=ScaleQuantumToChar(GetPixelRed(image,p)); in ExportBGRAQuantum()
672 pixel=ScaleQuantumToChar(GetPixelAlpha(image,p)); in ExportBGRAQuantum()
910 pixel=ScaleQuantumToChar(GetPixelBlue(image,p)); in ExportBGROQuantum()
912 pixel=ScaleQuantumToChar(GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
Dnt-feature.c199 q->rgbRed = ScaleQuantumToChar(GetPixelRed(image,p)); in CropImageToHBITMAP()
200 q->rgbGreen = ScaleQuantumToChar(GetPixelGreen(image,p)); in CropImageToHBITMAP()
201 q->rgbBlue = ScaleQuantumToChar(GetPixelBlue(image,p)); in CropImageToHBITMAP()
635 q->rgbRed=ScaleQuantumToChar(GetPixelRed(image,p)); in ImageToHBITMAP()
636 q->rgbGreen=ScaleQuantumToChar(GetPixelGreen(image,p)); in ImageToHBITMAP()
637 q->rgbBlue=ScaleQuantumToChar(GetPixelBlue(image,p)); in ImageToHBITMAP()
/external/ImageMagick/coders/
Dps2.c798 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePS2Image()
832 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePS2Image()
901 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
902 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
903 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
908 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
909 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
910 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePS2Image()
914 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
915 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
[all …]
Dyuv.c685 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
687 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
690 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
692 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
697 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
702 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
734 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
776 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
810 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteYUVImage()
Dps3.c275 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
276 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
277 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
283 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
284 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
285 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
286 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in SerializeImage()
348 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in SerializeImageChannel()
1505 pixel=ScaleQuantumToChar(image->colormap[i].red); in WritePS3Image()
1507 pixel=ScaleQuantumToChar(image->colormap[i].green); in WritePS3Image()
[all …]
Dpdf.c1864 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePDFImage()
1905 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePDFImage()
1974 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePDFImage()
1975 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePDFImage()
1976 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePDFImage()
1978 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in WritePDFImage()
2019 Ascii85Encode(image,ScaleQuantumToChar(GetPixelRed(image,p))); in WritePDFImage()
2020 Ascii85Encode(image,ScaleQuantumToChar(GetPixelGreen(image,p))); in WritePDFImage()
2021 Ascii85Encode(image,ScaleQuantumToChar(GetPixelBlue(image,p))); in WritePDFImage()
2023 Ascii85Encode(image,ScaleQuantumToChar( in WritePDFImage()
[all …]
Duyvy.c346 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.green)); in WriteUYVYImage()
347 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.red)); in WriteUYVYImage()
348 (void) WriteBlobByte(image,ScaleQuantumToChar((Quantum) pixel.blue)); in WriteUYVYImage()
349 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteUYVYImage()
Davs.c392 *q++=ScaleQuantumToChar((Quantum) (image->alpha_trait == in WriteAVSImage()
394 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAVSImage()
395 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteAVSImage()
396 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteAVSImage()
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.c389 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteAAIImage()
390 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteAAIImage()
391 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteAAIImage()
392 *q=ScaleQuantumToChar((Quantum) (image->alpha_trait != in WriteAAIImage()
Dhrz.c333 *q++=ScaleQuantumToChar(GetPixelRed(hrz_image,p)/4); in WriteHRZImage()
334 *q++=ScaleQuantumToChar(GetPixelGreen(hrz_image,p)/4); in WriteHRZImage()
335 *q++=ScaleQuantumToChar(GetPixelBlue(hrz_image,p)/4); in WriteHRZImage()
Ddib.c1187 ScaleQuantumToChar(GetPixelRed(image,p))) << 11) | (ScaleColor8to6( in WriteDIBImage()
1188 (unsigned char) ScaleQuantumToChar(GetPixelGreen(image,p))) << 5) | in WriteDIBImage()
1189 (ScaleColor8to5((unsigned char) ScaleQuantumToChar((unsigned char) in WriteDIBImage()
1218 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteDIBImage()
1219 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteDIBImage()
1220 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteDIBImage()
1222 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteDIBImage()
1290 *q++=ScaleQuantumToChar(image->colormap[i].blue); in WriteDIBImage()
1291 *q++=ScaleQuantumToChar(image->colormap[i].green); in WriteDIBImage()
1292 *q++=ScaleQuantumToChar(image->colormap[i].red); in WriteDIBImage()
Dtga.c678 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WriteTGAPixel()
700 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
702 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
704 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
707 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
895 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)); in WriteTGAImage()
896 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green)); in WriteTGAImage()
897 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].red)); in WriteTGAImage()
Dflif.c497 *qc++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteFLIFImage()
498 *qc++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteFLIFImage()
499 *qc++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteFLIFImage()
501 *qc++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteFLIFImage()
Demf.c603 pBits->rgbRed=ScaleQuantumToChar(image->background_color.red); in ReadEMFImage()
604 pBits->rgbGreen=ScaleQuantumToChar(image->background_color.green); in ReadEMFImage()
605 pBits->rgbBlue=ScaleQuantumToChar(image->background_color.blue); in ReadEMFImage()
771 graphics->Clear(Gdiplus::Color((BYTE) ScaleQuantumToChar( in ReadEMFImage()
772 image->background_color.alpha),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
773 image->background_color.red),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
774 image->background_color.green),(BYTE) ScaleQuantumToChar( in ReadEMFImage()
Dmtv.c389 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMTVImage()
390 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteMTVImage()
391 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteMTVImage()
Dpcl.c773 ScaleQuantumToChar(image->colormap[i].red), in WritePCLImage()
774 ScaleQuantumToChar(image->colormap[i].green), in WritePCLImage()
775 ScaleQuantumToChar(image->colormap[i].blue),(double) i); in WritePCLImage()
909 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCLImage()
910 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCLImage()
911 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCLImage()
Dsun.c900 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteSUNImage()
901 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteSUNImage()
902 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteSUNImage()
903 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteSUNImage()
971 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
974 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
977 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
Dpcx.c986 *q++=ScaleQuantumToChar(image->colormap[i].red); in WritePCXImage()
987 *q++=ScaleQuantumToChar(image->colormap[i].green); in WritePCXImage()
988 *q++=ScaleQuantumToChar(image->colormap[i].blue); in WritePCXImage()
1022 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCXImage()
1031 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCXImage()
1040 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCXImage()
1050 *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()
815 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
817 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
819 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WritePALMImage()
Dwebp.c673 ScaleQuantumToChar(GetPixelAlpha(image,p)) << 24 : 0xff000000) | in WriteWEBPImage()
674 (ScaleQuantumToChar(GetPixelRed(image,p)) << 16) | in WriteWEBPImage()
675 (ScaleQuantumToChar(GetPixelGreen(image,p)) << 8) | in WriteWEBPImage()
676 (ScaleQuantumToChar(GetPixelBlue(image,p))); in WriteWEBPImage()
/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()

12