Home
last modified time | relevance | path

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

123

/external/ImageMagick/coders/
Dps2.c794 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePS2Image()
828 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePS2Image()
897 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
898 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
899 *q++=ScaleQuantumToChar(QuantumRange); in WritePS2Image()
904 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
905 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
906 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePS2Image()
910 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePS2Image()
911 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePS2Image()
[all …]
Dps3.c278 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
279 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
280 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
286 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in SerializeImage()
287 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in SerializeImage()
288 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in SerializeImage()
289 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in SerializeImage()
351 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in SerializeImageChannel()
1502 pixel=ScaleQuantumToChar(image->colormap[i].red); in WritePS3Image()
1504 pixel=ScaleQuantumToChar(image->colormap[i].green); in WritePS3Image()
[all …]
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()
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()
Dpdf.c1883 *q++=ScaleQuantumToChar(ClampToQuantum(GetPixelLuma(image,p))); in WritePDFImage()
1925 Ascii85Encode(image,ScaleQuantumToChar(ClampToQuantum( in WritePDFImage()
1996 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePDFImage()
1997 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePDFImage()
1998 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePDFImage()
2000 *q++=ScaleQuantumToChar(GetPixelBlack(image,p)); in WritePDFImage()
2042 Ascii85Encode(image,ScaleQuantumToChar(GetPixelRed(image,p))); in WritePDFImage()
2043 Ascii85Encode(image,ScaleQuantumToChar(GetPixelGreen(image,p))); in WritePDFImage()
2044 Ascii85Encode(image,ScaleQuantumToChar(GetPixelBlue(image,p))); in WritePDFImage()
2046 Ascii85Encode(image,ScaleQuantumToChar( in WritePDFImage()
[all …]
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.c684 (void) WriteBlobByte(image,ScaleQuantumToChar(ClampToQuantum( in WriteTGAPixel()
706 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
708 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
710 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
713 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteTGAPixel()
899 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)); in WriteTGAImage()
900 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green)); in WriteTGAImage()
901 *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()
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()
Ddib.c1290 ScaleQuantumToChar(GetPixelRed(image,p))) << 11) | (ScaleColor8to6( in WriteDIBImage()
1291 (unsigned char) ScaleQuantumToChar(GetPixelGreen(image,p))) << 5) | in WriteDIBImage()
1292 (ScaleColor8to5((unsigned char) ScaleQuantumToChar((unsigned char) in WriteDIBImage()
1321 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteDIBImage()
1322 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteDIBImage()
1323 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteDIBImage()
1325 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteDIBImage()
1396 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].blue)); in WriteDIBImage()
1397 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].green)); in WriteDIBImage()
1398 *q++=ScaleQuantumToChar(ClampToQuantum(image->colormap[i].red)); in WriteDIBImage()
Dpcl.c777 ScaleQuantumToChar(image->colormap[i].red), in WritePCLImage()
778 ScaleQuantumToChar(image->colormap[i].green), in WritePCLImage()
779 ScaleQuantumToChar(image->colormap[i].blue),(double) i); in WritePCLImage()
913 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCLImage()
914 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCLImage()
915 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCLImage()
Dsun.c927 *q++=ScaleQuantumToChar(GetPixelAlpha(image,p)); in WriteSUNImage()
928 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteSUNImage()
929 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteSUNImage()
930 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteSUNImage()
998 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
1001 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
1004 (void) WriteBlobByte(image,ScaleQuantumToChar( in WriteSUNImage()
Dpcx.c1018 *q++=ScaleQuantumToChar(image->colormap[i].red); in WritePCXImage()
1019 *q++=ScaleQuantumToChar(image->colormap[i].green); in WritePCXImage()
1020 *q++=ScaleQuantumToChar(image->colormap[i].blue); in WritePCXImage()
1059 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WritePCXImage()
1068 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WritePCXImage()
1077 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WritePCXImage()
1087 *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()
Dmap.c420 *q++=(unsigned char) ScaleQuantumToChar(image->colormap[i].red); in WriteMAPImage()
421 *q++=(unsigned char) ScaleQuantumToChar(image->colormap[i].green); in WriteMAPImage()
422 *q++=(unsigned char) ScaleQuantumToChar(image->colormap[i].blue); in WriteMAPImage()
/external/ImageMagick/MagickCore/
Dsegment.c391 if (((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) >= in Classify()
393 ((ssize_t) ScaleQuantumToChar(GetPixelRed(image,p)) <= in Classify()
395 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) >= in Classify()
397 ((ssize_t) ScaleQuantumToChar(GetPixelGreen(image,p)) <= in Classify()
399 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) >= in Classify()
401 ((ssize_t) ScaleQuantumToChar(GetPixelBlue(image,p)) <= in Classify()
408 cluster->red.center+=(double) ScaleQuantumToChar( in Classify()
410 cluster->green.center+=(double) ScaleQuantumToChar( in Classify()
412 cluster->blue.center+=(double) ScaleQuantumToChar( in Classify()
584 if (((ssize_t) ScaleQuantumToChar(GetPixelRed(image,q)) >= in Classify()
[all …]
Dquantum.h99 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
112 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
125 static inline unsigned char ScaleQuantumToChar(const Quantum quantum) in ScaleQuantumToChar() function
139 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/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