#define MWARGB(a,r,g,b) ((MWCOLORVAL)(((unsigned char)(r)| (((unsigned)(unsigned char)(g))<<8))|\>...也就是說由High byte到low byte依次是alpha..blue...green..red.
但是實際implement時,要考慮Big-endian和Little-endian的問題 (如果用unsigned long來代表顏色的話...)
星期五, 3月 17, 2006
訂閱:
張貼留言 (Atom)
網誌存檔
-
▼
2006
(434)
-
▼
3月
(33)
- 加速卡的加速能力
- gcc linker loader (ld) 的問題 - linker option 與object...
- !!! a bad example on code guard !!
- VI (VIM) 中執行shell command
- nanox - DrawImageFromFile - II where is the psd ?
- nanox - DrawImageFromFile
- MS Visual Studio C++ express
- 坎坷-- try tv card
- 讓LCD TV 漂亮的chip
- replacement for RTL8100C : 9102D
- man man
- El Torito ?
- file and stream : stdin and STDIN_FILENO
- pipe - 開啟無名管線
- popen : 用fork執行外部command
- another issu : make config : no libncurses..
- vfork : uclinux
- framebuffer的color 順序
- 本期商業週刊的例子---育富電子
- 純complain - 爛programmer...
- VI 學習 : copy and paste
- How to be a "管理大師"
- Try DirectFB -- for uclinux arm uclibc
- Qt/Embedded - Qtopia Core build (cross)
- workrecord on gui -nonox
- embedded system http server
- nano-X source trace
- trace ..mount_devfs_fs() err -2
- some links to television in italy, spanish
- Video Resolution : D1, CIF, QCIF
- ramfs - linux ramdisk after 2.4
- EasyARM2200 : Jimmy wants to use
- small linux bootloader - x86, hd
-
▼
3月
(33)
沒有留言:
張貼留言