Home
last modified time | relevance | path

Searched refs:color16 (Results 1 – 3 of 3) sorted by relevance

/external/ImageMagick/coders/
Dpalm.c287 color16; in ReadPALMImage() local
496 color16=(*ptr++ << 8); in ReadPALMImage()
497 color16|=(*ptr++); in ReadPALMImage()
498 SetPixelRed(image,(Quantum) ((QuantumRange*((color16 >> 11) & in ReadPALMImage()
500 SetPixelGreen(image,(Quantum) ((QuantumRange*((color16 >> 5) & in ReadPALMImage()
502 SetPixelBlue(image,(Quantum) ((QuantumRange*((color16 >> 0) & in ReadPALMImage()
743 color16, in WritePALMImage() local
909 color16=(unsigned short) ((((31*(ssize_t) GetPixelRed(image,p))/ in WritePALMImage()
921 *ptr++=(unsigned char) ((color16 >> 8) & 0xff); in WritePALMImage()
922 *ptr++=(unsigned char) (color16 & 0xff); in WritePALMImage()
/external/skia/tools/
DToolUtils.cpp123 U16CPU color16 = SkPixel32ToPixel16(pmColor); in color_to_565() local
124 return SkPixel16ToColor(color16); in color_to_565()
/external/skqp/tools/
Dsk_tool_utils.cpp72 U16CPU color16 = SkPixel32ToPixel16(pmColor); in color_to_565() local
73 return SkPixel16ToColor(color16); in color_to_565()