Home
last modified time | relevance | path

Searched refs:ScaleQuantumToShort (Results 1 – 21 of 21) sorted by relevance

/external/ImageMagick/MagickCore/
Dstream.c2489 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2490 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2491 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
2503 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2504 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2505 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
2506 *q++=ScaleQuantumToShort((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2518 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2519 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2520 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
[all …]
Dquantum-export.c287 pixel=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
570 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGRQuantum()
572 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGRQuantum()
574 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportBGRQuantum()
798 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGRAQuantum()
800 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGRAQuantum()
802 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportBGRAQuantum()
804 pixel=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportBGRAQuantum()
1042 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGROQuantum()
1044 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
Dquantum-private.h366 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
469 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
555 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
621 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
Dxwindow.c116 ((ScaleQuantumToShort(XRedGamma((color)->red))*map->red_max/65535L)* \
118 ((ScaleQuantumToShort(XGreenGamma((color)->green))*map->green_max/65535L)* \
120 ((ScaleQuantumToShort(XBlueGamma((color)->blue))*map->blue_max/65535L)* \
123 ((ScaleQuantumToShort(XRedGamma(GetPixelRed(image,color)))*map->red_max/65535L)* \
125 ((ScaleQuantumToShort(XGreenGamma(GetPixelGreen(image,color)))*map->green_max/65535L)* \
127 ((ScaleQuantumToShort(XBlueGamma(GetPixelBlue(image,color)))*map->blue_max/65535L)* \
3130 pixel->alpha_color.red*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3131 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
3133 pixel->alpha_color.green*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3134 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
[all …]
Dpixel.c1781 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1782 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1783 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
1798 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1799 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1800 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
1801 *q++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportShortPixel()
1816 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1817 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1818 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
[all …]
Dprofile.c1141 *p++=ScaleQuantumToShort(GetPixelRed(image,q)); in ProfileImage()
1144 *p++=ScaleQuantumToShort(GetPixelGreen(image,q)); in ProfileImage()
1145 *p++=ScaleQuantumToShort(GetPixelBlue(image,q)); in ProfileImage()
1148 *p++=ScaleQuantumToShort(GetPixelBlack(image,q)); in ProfileImage()
Dcolor.c1191 ScaleQuantumToShort(ClampToQuantum(color))); in ConcatenateColorComponent()
1547 ScaleQuantumToShort(ClampToQuantum(color))); in ConcatentateHexColorComponent()
Dstatistic.c2922 index=ScaleQuantumToShort(pixel); in InsertPixelList()
/external/ImageMagick/coders/
Dflif.c481 *qs++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteFLIFImage()
482 *qs++=ScaleQuantumToShort(GetPixelGreen(image,p)); in WriteFLIFImage()
483 *qs++=ScaleQuantumToShort(GetPixelBlue(image,p)); in WriteFLIFImage()
485 *qs++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in WriteFLIFImage()
Dyuv.c699 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
704 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
737 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
779 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
813 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
Dsgi.c956 1UL*ScaleQuantumToShort(QuantumRange)); in WriteSGIImage()
1019 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteSGIImage()
1020 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in WriteSGIImage()
1021 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in WriteSGIImage()
1022 *q++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in WriteSGIImage()
Dmiff.c1797 value=ScaleQuantumToShort(ClampToQuantum(pixel->alpha)); in PopRunlengthPacket()
1855 value=ScaleQuantumToShort(ClampToQuantum(pixel->red)); in PopRunlengthPacket()
1859 value=ScaleQuantumToShort(ClampToQuantum(pixel->green)); in PopRunlengthPacket()
1861 value=ScaleQuantumToShort(ClampToQuantum(pixel->blue)); in PopRunlengthPacket()
1866 value=ScaleQuantumToShort(ClampToQuantum(pixel->black)); in PopRunlengthPacket()
1871 value=ScaleQuantumToShort(ClampToQuantum(pixel->alpha)); in PopRunlengthPacket()
2376 pixel=ScaleQuantumToShort(image->colormap[i].red); in WriteMIFFImage()
2378 pixel=ScaleQuantumToShort(image->colormap[i].green); in WriteMIFFImage()
2380 pixel=ScaleQuantumToShort(image->colormap[i].blue); in WriteMIFFImage()
Dxwd.c792 colors[i].red=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
794 colors[i].green=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
796 colors[i].blue=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
Djpeg.c2801 *q++=(JSAMPLE) (ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image, in WriteJPEGImage()
2828 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelRed(image,p))/scale); in WriteJPEGImage()
2829 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelGreen(image,p))/scale); in WriteJPEGImage()
2830 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelBlue(image,p))/scale); in WriteJPEGImage()
2857 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelRed( in WriteJPEGImage()
2859 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelGreen( in WriteJPEGImage()
2861 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelBlue( in WriteJPEGImage()
2863 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelBlack( in WriteJPEGImage()
Dmpc.c1422 pixel=ScaleQuantumToShort(image->colormap[i].red); in WriteMPCImage()
1424 pixel=ScaleQuantumToShort(image->colormap[i].green); in WriteMPCImage()
1426 pixel=ScaleQuantumToShort(image->colormap[i].blue); in WriteMPCImage()
Dpng.c3256 (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage()
3258 ScaleQuantumToShort(GetPixelGreen(image,q)) == in ReadOnePNGImage()
3260 ScaleQuantumToShort(GetPixelBlue(image,q)) == in ReadOnePNGImage()
3556 if (ScaleQuantumToShort(image->colormap[x].red) == in ReadOnePNGImage()
3586 if (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage()
3588 ScaleQuantumToShort(GetPixelGreen(image,q)) == in ReadOnePNGImage()
3590 ScaleQuantumToShort(GetPixelBlue(image,q)) == in ReadOnePNGImage()
6571 SetPixelRed(image,ScaleQuantumToShort( in ReadMNGImage()
6573 SetPixelGreen(image,ScaleQuantumToShort( in ReadMNGImage()
6575 SetPixelBlue(image,ScaleQuantumToShort( in ReadMNGImage()
[all …]
Dpnm.c1813 "%u ",ScaleQuantumToShort(index)); in WritePNMImage()
1884 "%u %u %u ",ScaleQuantumToShort(GetPixelRed(image,p)), in WritePNMImage()
1885 ScaleQuantumToShort(GetPixelGreen(image,p)), in WritePNMImage()
1886 ScaleQuantumToShort(GetPixelBlue(image,p))); in WritePNMImage()
2030 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in WritePNMImage()
Dpict.c1917 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
1919 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
1921 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
Dvips.c609 (void) WriteBlobShort(image,ScaleQuantumToShort(value)); in WriteVIPSPixel()
Dtiff.c3872 red[i]=ScaleQuantumToShort(image->colormap[i].red); in WriteTIFFImage()
3873 green[i]=ScaleQuantumToShort(image->colormap[i].green); in WriteTIFFImage()
3874 blue[i]=ScaleQuantumToShort(image->colormap[i].blue); in WriteTIFFImage()
Dpsd.c776 SetPixelIndex(image,ScaleQuantumToShort(pixel),q); in SetPSDPixel()