Home
last modified time | relevance | path

Searched refs:ScaleShortToQuantum (Results 1 – 23 of 23) sorted by relevance

/external/ImageMagick/MagickCore/
Dquantum-import.c305 SetPixelAlpha(image,ScaleShortToQuantum(pixel),q); in ImportAlphaQuantum()
597 SetPixelBlue(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
599 SetPixelGreen(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
601 SetPixelRed(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
744 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
750 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
756 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
778 SetPixelRed(image,ScaleShortToQuantum((unsigned short) (pixel << 6)),q); in ImportBGRAQuantum()
780 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) (pixel << 6)), in ImportBGRAQuantum()
783 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) (pixel << 6)), in ImportBGRAQuantum()
[all …]
Dquantum-private.h379 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
482 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
569 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
630 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
Dpixel.c3933 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3934 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3935 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3952 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3953 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3954 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3955 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3972 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3973 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3974 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
[all …]
Dprofile.c1158 SetPixelGray(image,ScaleShortToQuantum(*p),q); in ProfileImage()
1160 SetPixelRed(image,ScaleShortToQuantum(*p),q); in ProfileImage()
1164 SetPixelGreen(image,ScaleShortToQuantum(*p),q); in ProfileImage()
1166 SetPixelBlue(image,ScaleShortToQuantum(*p),q); in ProfileImage()
1171 SetPixelBlack(image,ScaleShortToQuantum(*p),q); in ProfileImage()
Dstatistic.c2685 *pixel=ScaleShortToQuantum((unsigned short) maximum); in GetMaximumPixelList()
2716 *pixel=ScaleShortToQuantum((unsigned short) sum); in GetMeanPixelList()
2741 *pixel=ScaleShortToQuantum((unsigned short) color); in GetMedianPixelList()
2770 *pixel=ScaleShortToQuantum((unsigned short) minimum); in GetMinimumPixelList()
2804 *pixel=ScaleShortToQuantum((unsigned short) mode); in GetModePixelList()
2839 *pixel=ScaleShortToQuantum((unsigned short) color); in GetNonpeakPixelList()
2871 *pixel=ScaleShortToQuantum((unsigned short) sqrt(sum)); in GetRootMeanSquarePixelList()
2911 *pixel=ScaleShortToQuantum((unsigned short) sqrt(sum_squared-(sum*sum))); in GetStandardDeviationPixelList()
Dxwindow.c585 SetPixelRed(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
587 SetPixelGreen(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
589 SetPixelBlue(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
600 SetPixelRed(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
602 SetPixelGreen(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
604 SetPixelBlue(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
2498 SetPixelRed(draw_image,ScaleShortToQuantum( in XDrawImage()
2500 SetPixelGreen(draw_image,ScaleShortToQuantum( in XDrawImage()
2502 SetPixelBlue(draw_image,ScaleShortToQuantum( in XDrawImage()
3920 pixel.red=(double) ScaleShortToQuantum(color.red); in XGetWindowColor()
[all …]
Ddisplay.c3741 SetPixelRed(*image,ScaleShortToQuantum(color.red),q); in XColorEditImage()
3742 SetPixelGreen(*image,ScaleShortToQuantum(color.green),q); in XColorEditImage()
3743 SetPixelBlue(*image,ScaleShortToQuantum(color.blue),q); in XColorEditImage()
3771 SetPixelRed(*image,ScaleShortToQuantum( in XColorEditImage()
3773 SetPixelGreen(*image,ScaleShortToQuantum( in XColorEditImage()
3775 SetPixelBlue(*image,ScaleShortToQuantum( in XColorEditImage()
3789 (*image)->colormap[i].red=(double) ScaleShortToQuantum( in XColorEditImage()
3791 (*image)->colormap[i].green=(double) ScaleShortToQuantum( in XColorEditImage()
3793 (*image)->colormap[i].blue=(double) ScaleShortToQuantum( in XColorEditImage()
3818 ScaleShortToQuantum(border_color.red); in XColorEditImage()
[all …]
/external/ImageMagick/coders/
Ddps.c378 SetPixelRed(image,ScaleShortToQuantum(colors[index].red),q); in ReadDPSImage()
380 SetPixelGreen(image,ScaleShortToQuantum(colors[index].green),q); in ReadDPSImage()
382 SetPixelBlue(image,ScaleShortToQuantum(colors[index].blue),q); in ReadDPSImage()
401 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
404 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
407 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
433 image->colormap[colors[i].pixel].red=ScaleShortToQuantum(colors[i].red); in ReadDPSImage()
435 ScaleShortToQuantum(colors[i].green); in ReadDPSImage()
437 ScaleShortToQuantum(colors[i].blue); in ReadDPSImage()
Dxwd.c465 SetPixelRed(image,ScaleShortToQuantum( in ReadXWDImage()
469 SetPixelGreen(image,ScaleShortToQuantum( in ReadXWDImage()
473 SetPixelBlue(image,ScaleShortToQuantum( in ReadXWDImage()
496 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q); in ReadXWDImage()
500 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color), in ReadXWDImage()
505 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q); in ReadXWDImage()
530 image->colormap[i].red=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
532 image->colormap[i].green=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
534 image->colormap[i].blue=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
Dplasma.c104 SetPixelRed(image,ScaleShortToQuantum((unsigned short) (65535.0* in PlasmaPixel()
106 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) (65535.0* in PlasmaPixel()
108 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) (65535.0* in PlasmaPixel()
Dyuv.c254 SetPixelGreen(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)), in ReadYUVImage()
262 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
274 SetPixelBlue(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)), in ReadYUVImage()
282 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
303 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
352 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
387 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
Dflif.c222 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
223 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
224 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
225 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
Dbmp.c1214 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q); in ReadBMPImage()
1215 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q); in ReadBMPImage()
1216 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); in ReadBMPImage()
1223 SetPixelAlpha(image,ScaleShortToQuantum( in ReadBMPImage()
1312 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q); in ReadBMPImage()
1313 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q); in ReadBMPImage()
1314 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); in ReadBMPImage()
1321 SetPixelAlpha(image,ScaleShortToQuantum( in ReadBMPImage()
Dpict.c1052 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1054 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1056 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1165 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1167 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1169 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
Dsgi.c567 SetPixelRed(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
569 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
571 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
575 SetPixelAlpha(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
Dvips.c277 return(ScaleShortToQuantum(s)); in ReadVIPSPixelNONE()
288 return(ScaleShortToQuantum(ReadBlobShort(image))); in ReadVIPSPixelNONE()
Djpeg.c1398 SetPixelRed(image,ScaleShortToQuantum( in ReadJPEGImage()
1400 SetPixelGreen(image,ScaleShortToQuantum( in ReadJPEGImage()
1402 SetPixelBlue(image,ScaleShortToQuantum( in ReadJPEGImage()
1410 SetPixelCyan(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage()
1412 SetPixelMagenta(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage()
1414 SetPixelYellow(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage()
1416 SetPixelBlack(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage()
Dmpc.c889 image->colormap[i].red=ScaleShortToQuantum(pixel); in ReadMPCImage()
891 image->colormap[i].green=ScaleShortToQuantum(pixel); in ReadMPCImage()
893 image->colormap[i].blue=ScaleShortToQuantum(pixel); in ReadMPCImage()
Dpng.c2828 ScaleShortToQuantum(ping_background->red); in ReadOnePNGImage()
2831 ScaleShortToQuantum(ping_background->green); in ReadOnePNGImage()
2834 ScaleShortToQuantum(ping_background->blue); in ReadOnePNGImage()
3047 scale = ScaleShortToQuantum(scale); in ReadOnePNGImage()
3387 *r=ScaleShortToQuantum(quantum); in ReadOnePNGImage()
3399 alpha=ScaleShortToQuantum(quantum); in ReadOnePNGImage()
5366 ScaleShortToQuantum((unsigned short) ((p[0] << 8) | p[1])); in ReadMNGImage()
5369 ScaleShortToQuantum((unsigned short) ((p[2] << 8) | p[3])); in ReadMNGImage()
5372 ScaleShortToQuantum((unsigned short) ((p[4] << 8) | p[5])); in ReadMNGImage()
5392 ScaleShortToQuantum((unsigned short) ((p[0] << 8) | p[1])); in ReadMNGImage()
[all …]
Drle.c274 *p++=(unsigned char) ScaleShortToQuantum(ReadBlobLSBShort(image)); in ReadRLEImage()
Dmiff.c1210 image->colormap[i].red=ScaleShortToQuantum(pixel); in ReadMIFFImage()
1212 image->colormap[i].green=ScaleShortToQuantum(pixel); in ReadMIFFImage()
1214 image->colormap[i].blue=ScaleShortToQuantum(pixel); in ReadMIFFImage()
Dpnm.c835 SetPixelRed(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
837 SetPixelGreen(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
839 SetPixelBlue(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
Dpsd.c867 pixel=ScaleShortToQuantum(nibble); in ReadPSDChannelPixels()