Search Results for '지형정보연구실'

ATOM Icon

1 POSTS

  1. 2008/03/04 [ImageEngine] Lesson2 by chungki

[ImageEngine] Lesson2

1. Type Define

typedef char		s8;
typedef unsigned char 	u8;
typedef short 		s16;
typedef unsigned short  u16;
typedef long		s32;
typedef unsigned long  u32;
typedef float		f32;
typedef double		f64;


2.Structure Define
struct SGRAY8 
{
 union
 {
  u8 val;
  u8 m[1];
 };
}; 

struct SGRAY16 {  union  {   u16 val;   u16 m[1];  }; };

struct SRGB8 {  union  {   struct   {    u8 r;    u8 g;    u8 b;   };   u8 m[3];  }; };

struct SRGB16 {  union  {   struct   {    u16 r;    u16 g;    u16 b;   };   u16 m[3];  }; };

Posted by chungki

2008/03/04 00:20 2008/03/04 00:20
Response
No Trackback , No Comment
RSS :
http://www.chungki.net/tc/rss/response/261


블로그 이미지

Nice !!!!!!!!

- chungki

Notices

Archives

Authors

  1. chungki

Calendar

«   2012/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    

Site Stats

Total hits:
73374
Today:
5
Yesterday:
20