/external/ImageMagick/MagickCore/ |
D | segment.c | 373 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 …]
|
D | quantum.h | 98 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
|
D | stream.c | 1447 *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 …]
|
D | quantum-export.c | 262 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 …]
|
D | nt-feature.c | 199 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/ |
D | ps2.c | 798 *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 …]
|
D | yuv.c | 685 (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()
|
D | ps3.c | 275 *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 …]
|
D | pdf.c | 1864 *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 …]
|
D | uyvy.c | 346 (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()
|
D | avs.c | 392 *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()
|
D | histogram.c | 241 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()
|
D | aai.c | 389 *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()
|
D | hrz.c | 333 *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()
|
D | dib.c | 1187 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()
|
D | tga.c | 678 (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()
|
D | flif.c | 497 *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()
|
D | emf.c | 603 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()
|
D | mtv.c | 389 *q++=ScaleQuantumToChar(GetPixelRed(image,p)); in WriteMTVImage() 390 *q++=ScaleQuantumToChar(GetPixelGreen(image,p)); in WriteMTVImage() 391 *q++=ScaleQuantumToChar(GetPixelBlue(image,p)); in WriteMTVImage()
|
D | pcl.c | 773 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()
|
D | sun.c | 900 *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()
|
D | pcx.c | 986 *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()
|
D | palm.c | 198 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()
|
D | webp.c | 673 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/ |
D | mgk.c | 428 *q++=ScaleQuantumToChar(GetRedSample(p)); in WriteMGKImage() 429 *q++=ScaleQuantumToChar(GetGreenSample(p)); in WriteMGKImage() 430 *q++=ScaleQuantumToChar(GetBlueSample(p)); in WriteMGKImage()
|