FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void MGImage::DrawImg16
(
unsigned short *
d
,
char *
s
,
char *
e
)
private
Definition at line
97
of file
MGImage.cc
.
Referenced by
DrawImg()
.
98
{
99
// d=destination, s=source, e=end
100
// rrrrrggg gggbbbbb
101
//
102
while
(s<e)
103
{
104
// 11111100 11111000 11111000
105
// *d++ = (*s&0xfc) | (*s&0xf8)<<5 | (*s&0xf8)<<11;
106
107
// 11111000 11111100 11111000
108
*d++ = (*s&0xf8)<<8 | (*s&0xfc)<<3 | (*s>>3);
109
s++;
110
}
111
}
Here is the caller graph for this function:
MGImage
Generated on Sun Sep 18 2016 20:50:54 for FACT++ by
1.8.11