Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dmap.c427 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].red) >> 8); in WriteMAPImage()
428 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].red) & 0xff); in WriteMAPImage()
429 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].green) >> 8); in WriteMAPImage()
430 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].green) & in WriteMAPImage()
432 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].blue) >> 8); in WriteMAPImage()
433 *q++=(unsigned char) (ScaleQuantumToShort(image->colormap[i].blue) & in WriteMAPImage()
Dflif.c487 *qs++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteFLIFImage()
488 *qs++=ScaleQuantumToShort(GetPixelGreen(image,p)); in WriteFLIFImage()
489 *qs++=ScaleQuantumToShort(GetPixelBlue(image,p)); in WriteFLIFImage()
491 *qs++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in WriteFLIFImage()
Dyuv.c754 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
759 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
791 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
833 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
867 (void) WriteBlobShort(image,ScaleQuantumToShort( in WriteYUVImage()
Dsgi.c1002 1UL*ScaleQuantumToShort(QuantumRange)); in WriteSGIImage()
1065 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in WriteSGIImage()
1066 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in WriteSGIImage()
1067 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in WriteSGIImage()
1068 *q++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in WriteSGIImage()
Dmiff.c1891 short_value=ScaleQuantumToShort(ClampToQuantum(pixel->alpha)); in PopRunlengthPacket()
1949 value=ScaleQuantumToShort(ClampToQuantum(pixel->red)); in PopRunlengthPacket()
1953 value=ScaleQuantumToShort(ClampToQuantum(pixel->green)); in PopRunlengthPacket()
1955 value=ScaleQuantumToShort(ClampToQuantum(pixel->blue)); in PopRunlengthPacket()
1960 value=ScaleQuantumToShort(ClampToQuantum(pixel->black)); in PopRunlengthPacket()
1965 value=ScaleQuantumToShort(ClampToQuantum(pixel->alpha)); in PopRunlengthPacket()
2478 short_pixel=ScaleQuantumToShort((Quantum) in WriteMIFFImage()
2481 short_pixel=ScaleQuantumToShort((Quantum) in WriteMIFFImage()
2484 short_pixel=ScaleQuantumToShort((Quantum) in WriteMIFFImage()
Dxwd.c811 colors[i].red=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
813 colors[i].green=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
815 colors[i].blue=ScaleQuantumToShort(ClampToQuantum( in WriteXWDImage()
Djpeg.c2942 *q++=(JSAMPLE) (ScaleQuantumToShort(ClampToQuantum(GetPixelLuma(image, in WriteJPEGImage()
2969 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelRed(image,p))/scale); in WriteJPEGImage()
2970 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelGreen(image,p))/scale); in WriteJPEGImage()
2971 *q++=(JSAMPLE) (ScaleQuantumToShort(GetPixelBlue(image,p))/scale); in WriteJPEGImage()
2998 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelRed( in WriteJPEGImage()
3000 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelGreen( in WriteJPEGImage()
3002 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelBlue( in WriteJPEGImage()
3004 *q++=(JSAMPLE) (ScaleQuantumToShort(QuantumRange-GetPixelBlack( in WriteJPEGImage()
Dmpc.c1501 pixel=ScaleQuantumToShort(ClampToQuantum(image->colormap[i].red)); in WriteMPCImage()
1503 pixel=ScaleQuantumToShort(ClampToQuantum( in WriteMPCImage()
1506 pixel=ScaleQuantumToShort(ClampToQuantum( in WriteMPCImage()
Dpng.c3539 (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage()
3541 ScaleQuantumToShort(GetPixelGreen(image,q)) == in ReadOnePNGImage()
3543 ScaleQuantumToShort(GetPixelBlue(image,q)) == in ReadOnePNGImage()
3833 if (ScaleQuantumToShort(image->colormap[x].red) == in ReadOnePNGImage()
3863 if (ScaleQuantumToShort(GetPixelRed(image,q)) == in ReadOnePNGImage()
3865 ScaleQuantumToShort(GetPixelGreen(image,q)) == in ReadOnePNGImage()
3867 ScaleQuantumToShort(GetPixelBlue(image,q)) == in ReadOnePNGImage()
6963 SetPixelRed(image,ScaleQuantumToShort( in ReadOneMNGImage()
6965 SetPixelGreen(image,ScaleQuantumToShort( in ReadOneMNGImage()
6967 SetPixelBlue(image,ScaleQuantumToShort( in ReadOneMNGImage()
[all …]
Dpnm.c1822 "%u ",ScaleQuantumToShort(index)); in WritePNMImage()
1893 "%u %u %u ",ScaleQuantumToShort(GetPixelRed(image,p)), in WritePNMImage()
1894 ScaleQuantumToShort(GetPixelGreen(image,p)), in WritePNMImage()
1895 ScaleQuantumToShort(GetPixelBlue(image,p))); in WritePNMImage()
2045 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in WritePNMImage()
Dpict.c1997 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
1999 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
2001 (void) WriteBlobMSBShort(image,ScaleQuantumToShort( in WritePICTImage()
Dvips.c612 (void) WriteBlobShort(image,ScaleQuantumToShort(value)); in WriteVIPSPixel()
Dtiff.c4248 red[i]=ScaleQuantumToShort(image->colormap[i].red); in WriteTIFFImage()
4249 green[i]=ScaleQuantumToShort(image->colormap[i].green); in WriteTIFFImage()
4250 blue[i]=ScaleQuantumToShort(image->colormap[i].blue); in WriteTIFFImage()
Dpsd.c939 SetPixelIndex(image,ScaleQuantumToShort(pixel),q); in SetPSDPixel()
/external/ImageMagick/MagickCore/
Dstream.c2552 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2553 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2554 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
2566 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2567 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2568 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
2569 *q++=ScaleQuantumToShort((Quantum) (GetPixelAlpha(image,p))); in StreamImagePixels()
2581 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in StreamImagePixels()
2582 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in StreamImagePixels()
2583 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in StreamImagePixels()
[all …]
Dquantum-export.c288 pixel=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportAlphaQuantum()
571 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGRQuantum()
573 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGRQuantum()
575 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportBGRQuantum()
799 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGRAQuantum()
801 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGRAQuantum()
803 pixel=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportBGRAQuantum()
805 pixel=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportBGRAQuantum()
1043 pixel=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportBGROQuantum()
1045 pixel=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
Dquantum-private.h406 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
507 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
601 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
675 static inline unsigned short ScaleQuantumToShort(const Quantum quantum) in ScaleQuantumToShort() function
Dxwindow.c117 ((ScaleQuantumToShort(XRedGamma((color)->red))*map->red_max/65535L)* \
119 ((ScaleQuantumToShort(XGreenGamma((color)->green))*map->green_max/65535L)* \
121 ((ScaleQuantumToShort(XBlueGamma((color)->blue))*map->blue_max/65535L)* \
124 ((ScaleQuantumToShort(XRedGamma(GetPixelRed(image,color)))*map->red_max/65535L)* \
126 ((ScaleQuantumToShort(XGreenGamma(GetPixelGreen(image,color)))*map->green_max/65535L)* \
128 ((ScaleQuantumToShort(XBlueGamma(GetPixelBlue(image,color)))*map->blue_max/65535L)* \
3124 pixel->matte_color.red*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3125 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
3127 pixel->matte_color.green*ScaleQuantumToShort(HighlightModulate))/65535L+ in XGetPixelInfo()
3128 (ScaleQuantumToShort((Quantum) (QuantumRange-HighlightModulate)))); in XGetPixelInfo()
[all …]
Dpixel.c1786 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1787 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1788 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
1803 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1804 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1805 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
1806 *q++=ScaleQuantumToShort(GetPixelAlpha(image,p)); in ExportShortPixel()
1821 *q++=ScaleQuantumToShort(GetPixelBlue(image,p)); in ExportShortPixel()
1822 *q++=ScaleQuantumToShort(GetPixelGreen(image,p)); in ExportShortPixel()
1823 *q++=ScaleQuantumToShort(GetPixelRed(image,p)); in ExportShortPixel()
[all …]
Dcolor.c1190 ScaleQuantumToShort(ClampToQuantum(color))); in ConcatenateColorComponent()
1546 ScaleQuantumToShort(ClampToQuantum(color))); in ConcatentateHexColorComponent()
Dprofile.c95 #define LCMSScaleSource(pixel) ScaleQuantumToShort(pixel)
Dstatistic.c2809 index=ScaleQuantumToShort(pixel); in InsertPixelList()
Denhance.c710 pixels[n++]=ScaleQuantumToShort(p[0]); in CLAHEImage()