IT 취미생활.  
Front Page
Tag | Location | Media | Guestbook | Admin   
 
'RGB565'에 해당하는 글(1)
2009.04.06   reg42 to reg565 2


reg42 to reg565
unsigned short rgb24_2_565( int r, int g, int b )
{
   
return (unsigned short )(((unsigned(r) << 8) & 0xF800) | 
            ((unsigned(g)
<< 3) & 0x7E0)  |
            ((unsigned(b)
>> 3)));
}


BLOG main image
취미생활
 Notice
 Category
분류 전체보기 (191)
매일매일갱생 (83)
서버개발 (1)
임베디드개발 (12)
Programming (80)
Personal Projects (6)
유용한 프로그램 (0)
 TAGS
DirectShow MP3 개발자 Error Case It 영어 이메일 벨소리 변경 음식 spam mail Linux 티스토리초대 english email Dshow 군대 M480 Java ISDB-T DVB-T English C++ Brazil 티스토리 초대장 1seg Wince5.0 DVB project isdbt debugging Windows Mobile6.0 C 출장 Debug Algorithm 퇴사 서태지 알고리즘 미라지폰 warning VC++
 Calendar
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
 Recent Entries
 Recent Comments
 Recent Trackbacks
 Archive
 Link Site
zextor
괴짜 프로그래머의 일상사~@@
Gag & Peace, and more..
Kazakhstan Almaty.......
Min-A
Sadgarret
Steve Yoon's log
가슴 뛰는 삶을 살아라
오스틴 파워
GUI sin
melanie parker_Lady
제레미의 TV 2.0 이야기..
 Visitor Statistics
Total :
Today :
Yesterday :
rss