View Single Post
Old 06-07-2004, 06:41 PM   #3 (permalink)
jimst
Registered User
 
Join Date: Jun 2004
Posts: 4
jimst is on a distinguished road
thank you, joe_bruin!
Looking at the code, I guess it'll be
Code:
#define RGB12_TO_RGB16(pixel)  ( (((pixel) & 0x0F00) << 4) | \
                                 (((pixel) & 0x00E0) << 3) | \
                                 (((pixel) & 0x001F) << 1) )
jimst is offline   Reply With Quote