Home
last modified time | relevance | path

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

/external/ImageMagick/MagickCore/
Dquantum-import.c349 SetPixelAlpha(image,ScaleShortToQuantum(pixel),q); in ImportAlphaQuantum()
670 SetPixelBlue(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
672 SetPixelGreen(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
674 SetPixelRed(image,ScaleShortToQuantum(pixel),q); in ImportBGRQuantum()
844 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
850 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
856 quantum=(size_t) (ScaleShortToQuantum((unsigned short) in ImportBGRAQuantum()
878 SetPixelRed(image,ScaleShortToQuantum((unsigned short) (pixel << 6)),q); in ImportBGRAQuantum()
880 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) (pixel << 6)), in ImportBGRAQuantum()
883 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) (pixel << 6)), in ImportBGRAQuantum()
[all …]
Dquantum-private.h431 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
532 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
627 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
696 static inline Quantum ScaleShortToQuantum(const unsigned short value) in ScaleShortToQuantum() function
Dpixel.c3946 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3947 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3948 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3965 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3966 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3967 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3968 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3985 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3986 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
3987 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ImportShortPixel()
[all …]
Dxwindow.c590 SetPixelRed(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
592 SetPixelGreen(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
594 SetPixelBlue(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
605 SetPixelRed(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
607 SetPixelGreen(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
609 SetPixelBlue(annotate_image,ScaleShortToQuantum( in XAnnotateImage()
2497 SetPixelRed(draw_image,ScaleShortToQuantum( in XDrawImage()
2499 SetPixelGreen(draw_image,ScaleShortToQuantum( in XDrawImage()
2501 SetPixelBlue(draw_image,ScaleShortToQuantum( in XDrawImage()
3905 pixel.red=(double) ScaleShortToQuantum(color.red); in XGetWindowColor()
[all …]
Ddisplay.c3709 SetPixelRed(*image,ScaleShortToQuantum(color.red),q); in XColorEditImage()
3710 SetPixelGreen(*image,ScaleShortToQuantum(color.green),q); in XColorEditImage()
3711 SetPixelBlue(*image,ScaleShortToQuantum(color.blue),q); in XColorEditImage()
3739 SetPixelRed(*image,ScaleShortToQuantum( in XColorEditImage()
3741 SetPixelGreen(*image,ScaleShortToQuantum( in XColorEditImage()
3743 SetPixelBlue(*image,ScaleShortToQuantum( in XColorEditImage()
3757 (*image)->colormap[i].red=(double) ScaleShortToQuantum( in XColorEditImage()
3759 (*image)->colormap[i].green=(double) ScaleShortToQuantum( in XColorEditImage()
3761 (*image)->colormap[i].blue=(double) ScaleShortToQuantum( in XColorEditImage()
3786 ScaleShortToQuantum(border_color.red); in XColorEditImage()
[all …]
Dstatistic.c2778 *pixel=ScaleShortToQuantum((unsigned short) color); in GetMedianPixelList()
2812 *pixel=ScaleShortToQuantum((unsigned short) mode); in GetModePixelList()
2847 *pixel=ScaleShortToQuantum((unsigned short) color); in GetNonpeakPixelList()
Denhance.c763 q[0]=ScaleShortToQuantum(pixels[n++]); in CLAHEImage()
/external/ImageMagick/coders/
Ddps.c391 SetPixelRed(image,ScaleShortToQuantum(colors[index].red),q); in ReadDPSImage()
393 SetPixelGreen(image,ScaleShortToQuantum(colors[index].green),q); in ReadDPSImage()
395 SetPixelBlue(image,ScaleShortToQuantum(colors[index].blue),q); in ReadDPSImage()
414 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
417 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
420 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q); in ReadDPSImage()
446 image->colormap[colors[i].pixel].red=ScaleShortToQuantum(colors[i].red); in ReadDPSImage()
448 ScaleShortToQuantum(colors[i].green); in ReadDPSImage()
450 ScaleShortToQuantum(colors[i].blue); in ReadDPSImage()
Dxwd.c549 SetPixelRed(image,ScaleShortToQuantum( in ReadXWDImage()
553 SetPixelGreen(image,ScaleShortToQuantum( in ReadXWDImage()
557 SetPixelBlue(image,ScaleShortToQuantum( in ReadXWDImage()
580 SetPixelRed(image,ScaleShortToQuantum((unsigned short) color),q); in ReadXWDImage()
584 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) color), in ReadXWDImage()
589 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) color),q); in ReadXWDImage()
616 image->colormap[i].red=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
618 image->colormap[i].green=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
620 image->colormap[i].blue=(MagickRealType) ScaleShortToQuantum( in ReadXWDImage()
Dflif.c223 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
224 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
225 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
226 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q); in ReadFLIFImage()
Dyuv.c270 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
278 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
290 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
298 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
329 SetPixelRed(image,ScaleShortToQuantum(((*p) << 8) | *(p+1)),q); in ReadYUVImage()
387 SetPixelGreen(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
431 SetPixelBlue(chroma_image,ScaleShortToQuantum(((*p) << 8) | in ReadYUVImage()
Ddng.c496 SetPixelRed(image,ScaleShortToQuantum(*p++),q); in ReadDNGImage()
497 SetPixelGreen(image,ScaleShortToQuantum(*p++),q); in ReadDNGImage()
498 SetPixelBlue(image,ScaleShortToQuantum(*p++),q); in ReadDNGImage()
500 SetPixelAlpha(image,ScaleShortToQuantum(*p++),q); in ReadDNGImage()
Dsgi.c604 SetPixelRed(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
606 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
608 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
612 SetPixelAlpha(image,ScaleShortToQuantum((unsigned short) in ReadSGIImage()
Dpict.c1107 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1109 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1111 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1219 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1221 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
1223 ScaleShortToQuantum(ReadBlobMSBShort(image)); in ReadPICTImage()
Dbmp.c1301 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q); in ReadBMPImage()
1302 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q); in ReadBMPImage()
1303 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); in ReadBMPImage()
1310 SetPixelAlpha(image,ScaleShortToQuantum( in ReadBMPImage()
1399 SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q); in ReadBMPImage()
1400 SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q); in ReadBMPImage()
1401 SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); in ReadBMPImage()
1408 SetPixelAlpha(image,ScaleShortToQuantum( in ReadBMPImage()
Dvips.c277 return(ScaleShortToQuantum(s)); in ReadVIPSPixelNONE()
288 return(ScaleShortToQuantum(ReadBlobShort(image))); in ReadVIPSPixelNONE()
Djpeg.c1457 SetPixelRed(image,ScaleShortToQuantum( in ReadJPEGImage_()
1459 SetPixelGreen(image,ScaleShortToQuantum( in ReadJPEGImage_()
1461 SetPixelBlue(image,ScaleShortToQuantum( in ReadJPEGImage_()
1469 SetPixelCyan(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage_()
1471 SetPixelMagenta(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage_()
1473 SetPixelYellow(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage_()
1475 SetPixelBlack(image,QuantumRange-ScaleShortToQuantum( in ReadJPEGImage_()
Dmpc.c962 ScaleShortToQuantum(pixel); in ReadMPCImage()
965 ScaleShortToQuantum(pixel); in ReadMPCImage()
968 ScaleShortToQuantum(pixel); in ReadMPCImage()
Dpng.c3090 ScaleShortToQuantum(ping_background->red); in ReadOnePNGImage()
3093 ScaleShortToQuantum(ping_background->green); in ReadOnePNGImage()
3096 ScaleShortToQuantum(ping_background->blue); in ReadOnePNGImage()
3670 *r=ScaleShortToQuantum(quantum); in ReadOnePNGImage()
3682 alpha=ScaleShortToQuantum(quantum); in ReadOnePNGImage()
5757 ScaleShortToQuantum((unsigned short) ((p[0] << 8) | p[1])); in ReadOneMNGImage()
5760 ScaleShortToQuantum((unsigned short) ((p[2] << 8) | p[3])); in ReadOneMNGImage()
5763 ScaleShortToQuantum((unsigned short) ((p[4] << 8) | p[5])); in ReadOneMNGImage()
5783 ScaleShortToQuantum((unsigned short) ((p[0] << 8) | p[1])); in ReadOneMNGImage()
5786 ScaleShortToQuantum((unsigned short) ((p[2] << 8) | p[3])); in ReadOneMNGImage()
[all …]
Drle.c296 *p++=(unsigned char) ScaleQuantumToChar(ScaleShortToQuantum( in ReadRLEImage()
Dmiff.c1258 ScaleShortToQuantum(short_pixel); in ReadMIFFImage()
1261 ScaleShortToQuantum(short_pixel); in ReadMIFFImage()
1264 ScaleShortToQuantum(short_pixel); in ReadMIFFImage()
Dpnm.c868 SetPixelRed(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
870 SetPixelGreen(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
872 SetPixelBlue(image,ScaleShortToQuantum(pixel),q); in ReadPNMImage()
Dpsd.c1034 pixel=ScaleShortToQuantum(nibble); in ReadPSDChannelPixels()