source: svn/zasc/app/DST_Types.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

File size: 717 bytes
Line 
1#ifndef __DST_TYPES_H__
2#define __DST_TYPES_H__
3
4#ifndef DS_U32
5typedef unsigned long     DS_U32;
6#endif
7
8#ifndef DS_S32
9typedef long              DS_S32;
10#endif
11
12#ifndef DS_U16
13typedef unsigned short    DS_U16;
14#endif
15
16#ifndef DS_S16
17typedef short             DS_S16;
18#endif
19
20#ifndef DS_U8
21typedef unsigned char     DS_U8;
22#endif
23
24#ifndef DS_S8
25typedef char              DS_S8;
26#endif
27
28#define OSD_PIXEL_BPP   32
29#if (OSD_PIXEL_BPP==16)
30#define OSD_PIXEL_T DS_U16
31#else
32#define OSD_PIXEL_T DS_U32
33#endif
34
35#if (OSD_PIXEL_BPP==16)
36#define CONV32_16(x)    ((((x)&0x000000F0)>>4)|(((x)&0x0000F000)>>8)|(((x)&0x00F00000)>>12)|(((x)&0xF0000000)>>16))
37#else
38#define CONV32_16(x)    (x)
39#endif
40
41#endif /* __DST_TYPES_H__ */
Note: See TracBrowser for help on using the repository browser.