source: svn/newcon3bcm2_21bu/dst/dmw/src/include/DMW_Dummy.h @ 76

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

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

  • Property svn:executable set to *
File size: 5.1 KB
Line 
1#ifndef __dmw_dummy_h__
2#define __dmw_dummy_h__
3
4/*
5        cafrii, 100725
6        DMW_Dummy.h ÆÄÀÏÀÌ DMW API ÆÄÀÏÀÎ DMW_Status.h ¿¡¼­ Æ÷ÇԵǰí ÀÖÀ¸¹Ç·Î,
7        ÀÌ ÆÄÀÏ ¿ª½Ã DMW_Status.h ÆÄÀÏÀÌ ÀÖ´Â Æú´õ¿¡ À¯ÁöÇÏ´Â °ÍÀÌ ¹Ù¶÷Á÷ÇÏ¿© À§Ä¡ À̵¿ÇÔ.
8*/
9
10
11#include "DHL_AVCAP.h"
12#include "DHL_PSI.h"
13
14typedef struct {
15        INT16 x;
16        INT16 y;
17        INT16 w;
18        INT16 h;
19} DHL_Rect;
20
21/*
22        video display Ãâ·Â ŸÀÔ.
23       
24        DHL_AV_ChangeVideoFormat() API ¿¡¼­ ÀÎÀÚ·Î »ç¿ë.
25       
26        ¹®Á¦Á¡
27                °¢ ŸÀÔµéÀº µ¶¸³ÀûÀÎ Ãâ·Â Æ÷Æ® (Ä¿³ØÅÍ)°¡ µÇ¾î¾ß ÇÒÅÙµ¥,
28               
29       
30                HDMIÀÇ °æ¿ì YCbCr 4:4:4, YCbCr 4:2:2 µî°ú °°ÀÌ
31                ¼¼ºÎ »çÇ×À» ÁöÁ¤ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀÌ ¾øÀ½.
32*/
33#if 0
34typedef enum
35{
36        eDHL_DISP_OUTPUT_UNKNOWN=0x0,
37        eDHL_DISP_OUTPUT_PS2=0x1,           /* 1 PS/2 ("VGA")                 */
38        eDHL_DISP_OUTPUT_DVI=0x2,           /* 2 DVI                          */
39        eDHL_DISP_OUTPUT_656=0x4,           /* 3 ITU-R BT.656, 8-bit output   */
40        eDHL_DISP_OUTPUT_YPRPB=0x8,         /* 4 YPrPb (HDTV), tri-sync       */
41        eDHL_DISP_OUTPUT_COMPOSITE=0x10,     /* 5 SDTV composite               */
42        eDHL_DISP_OUTPUT_SVIDEO=0x20,        /* 6 SDTV S-Video                 */
43        eDHL_DISP_OUTPUT_YPRPB_YSYNC=0x40,   /* 7 YPrPb (HDTV), sync on Y only */
44        eDHL_DISP_OUTPUT_RGB=0x80,           /* 8 RGB component, tri-sync      */
45        eDHL_DISP_OUTPUT_RGB_GSYNC=0x100,     /* 9 RGB component, sync on green */
46        eDHL_DISP_OUTPUT_PS2_YPRPB=0x200      /* 10 PS/2 ("VGA") YPrPb output   */
47       
48} tDHL_DispOutput;
49#endif
50
51/*
52        video display output timing °ªµé.
53       
54        ¿©±â¿¡´Â frequency Á¤º¸´Â ¾ø´Ù.
55        50Hz, 60Hz¸¦ µÑ ´Ù Áö¿øÇϸ鼭 ¼³Á¤¿¡ µû¶ó ¹Ù²î´Â ±×·± Á¦Ç°Àº ¾øÀ½.
56        µû¶ó¼­ °¢ Á¦Ç° »ç¾ç¿¡ µû¶ó ƯÁ¤ Á֯ļö·Î °íÁ¤ÇÑ´Ù.
57       
58        60Hz ¿Í 59.94Hz ¿Í °°Àº Â÷ÀÌ´Â HAL ³»ºÎ¿¡¼­ ¾Ë¾Æ¼­ °áÁ¤.
59       
60        VGA ȣȯ Ãâ·ÂÀÇ °æ¿ì ¾Æ·¡¿¡ ÀÖ´Â Á¤º¸¸¸À¸·Î´Â ÅξøÀÌ ºÎÁ·Çϰí,
61        ¹º°¡ ´Ù¸¥ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇØ¾ß ÇÑ´Ù. (TODO)
62       
63        HDMIÀÇ °æ¿ìµµ ¿ª½Ã ´Ù¸¥ ¹æ¹ýÀÌ ÇÊ¿äÇÏ´Ù. (TODO)
64       
65        ÀϹÝÀûÀ¸·Î Ç¥ÁØ ÇØ»óµµ¸¦ ÁÖ·Î »ç¿ëÇÑ´Ù.
66*/
67#if 0
68typedef enum {
69        eDHL_VIDEO_FORMAT_BEGIN,
70        eDHL_VIDEO_720x480i,     /*720x480 interlaced   */
71        eDHL_VIDEO_720x480p,     /*720x480 progressive  */
72        eDHL_VIDEO_960x540p,     /*960x540*/   
73        eDHL_VIDEO_1280x720p,    /*1280x720 progressive */
74        eDHL_VIDEO_1920x1080i,   /*1920x1080 interlaced */   
75        eDHL_VIDEO_1366x768,     /*1366x768P 59.94Hz : 32" WXGA LG LCD */
76        eDHL_VIDEO_VGA,          /*640x480 progressive  */
77        eDHL_VIDEO_NTSC_M,       /*NTSC w/ 7.5 IRE              */
78        eDHL_VIDEO_640x480,
79        eDHL_VIDEO_800x600,
80        eDHL_VIDEO_1024x768,
81        eDHL_VIDEO_END
82} tDHL_VideoFormat;
83#endif
84
85/*
86        TV displayÀÇ aspect ratio.
87       
88        HDMI ÀåÄ¡ÀÇ °æ¿ì EDID·Î ºÎÅÍ ÀÐÀ» ¼öµµ Àִµ¥, ÀÏ´Ü applicationÀÌ
89        ÁöÁ¤ÇÏ´Â °ÍÀ¸·Î ÇÔ.
90       
91        ÀÚµ¿ ARC ±â´É¿¡¼­ ÀÌ Á¤º¸¸¦ Ȱ¿ëÇÏ´Â °æ¿ì°¡ ÀÖ´Ù.
92       
93        ±× ¿Ü¿¡´Â ÀÌ Á¤º¸´Â informational À̸ç, AFDÀÇ °æ¿ì application¿¡¼­´Â
94        ÀÌ¹Ì ÀÌ Á¤º¸¸¦ ¾Ë°í ÀÖÀ¸¹Ç·Î ±×³É ÂüÁ¶¿ëÀ¸·Î¸¸ Ȱ¿ëµÈ´Ù.
95       
96        ÇöÀç´Â 4:3°ú 16:9 ¸¸ Àǹ̰¡ ÀÖÀ½.
97*/
98#if 0
99typedef enum
100{
101        eDHL_DISP_ASPECT_1_1 = 1,  /* Display aspect ratio is 1:1      */
102        eDHL_DISP_ASPECT_4_3,      /* Display aspect ratio is 4:3      */
103        eDHL_DISP_ASPECT_16_9,     /* Display aspect ratio is 16:9     */
104        eDHL_DISP_ASPECT_5_4       /* Display aspect ratio is 5:4      */
105} tDHL_DispAspectRatio;
106#endif
107
108typedef void *DHL_DISP_AUXSETTING;
109
110
111
112#if 0
113/*
114        HD, SD¸¦ °¢°¢ Á¶Á¤ °¡´ÉÇÑ °æ¿ì ÁöÁ¤Çϱâ À§ÇØ ÇÊ¿ä
115*/
116
117typedef enum
118{
119        eDHL_DISP_TYPE_HD = 0,
120        eDHL_DISP_TYPE_SD = 1
121} tDHL_DispType;
122
123
124DHL_RESULT DHL_AV_ChangeVideoFormat(tDHL_DispOutput output, tDHL_VideoFormat format,
125                                   tDHL_DispAspectRatio ratio);
126DHL_RESULT DHL_AV_ChangeVideoAdjustment(tDHL_DispType type, tDHL_DispARC adj, DHL_Rect *rect);
127#endif
128
129#define noAuxVideo                              0
130
131#ifndef IsError
132// zooyouny 100629 : neo ¼³Á¤ °ª°ú µ¿ÀÏÇÑ °ª »ç¿ë
133#define IsError(x) ((x) && (x)<0xF00)
134#endif
135
136typedef enum
137{
138        eDHL_AV_CAPABILITY_UKNOWN,
139        eDHL_AV_CAPABILITY_VIDEO,
140        eDHL_AV_CAPABILITY_AUDIO,
141        eDHL_AV_CAPABILITY_MAX
142} tDHL_AV_CAPABILITY_TYPE;
143
144DHL_RESULT DHL_AV_GetCapability(tDHL_AV_CAPABILITY_TYPE queryType, UINT32 qValue ,void *pValue);
145
146BOOL DHL_AV_IsWideoFormat(tDHL_VideoSeqHdr *seq);
147
148typedef void *DHL_VideoContextObject_t;
149/*
150        DHL video decoder ³»ºÎ »óÅ Á¤º¸ ÇÚµé.
151       
152        applicationÀº ½ÇÁ¦ object ³»ºÎ ±¸Á¶¿¡ ´ëÇØ¼­´Â ¾Ë ¼ö ¾øÀ¸¸ç, Á¢±Ù ºÒ°¡ÀÓ.
153*/
154typedef struct DHL_VideoContextObject_t *tDHL_VideoContextHandle;
155
156DHL_RESULT DHL_AV_GetSequenceHeader(tDHL_VideoContextHandle handle, 
157                                    tDHL_VideoSeqHdr *pSeq /*[out]*/);
158
159char *DHL_PSIEventString(tDHL_PSI_Event event);
160
161
162BOOL DHL_AV_VideoOutputExist(void);
163
164DHL_RESULT DHL_CAP_AudioStop(void);
165
166//DHL_RESULT DHL_CAP_VideoStop(tDHL_VideoContextHandle pHandle);
167
168
169#define DHL_WARN_SCRAMBLED 0xF0001
170#define DHL_WARN_BAD_FORMAT 0xF0002
171
172#define DHL_FAIL_CANCELLED_BY_USER 0x27
173
174//DHL_RESULT DHL_CAP_VideoStart(tDHL_VideoContextHandle *pHandle);
175
176DHL_RESULT DHL_CAP_DispStart(void);
177
178DHL_RESULT DHL_CAP_AudioStart(void);
179
180// Default tuner id
181// Â÷ÈÄ Neo¿¡¼­´Â ÀÇ¹Ì ÀÖ´Â prameter·Î ¹Ù²î¾î¾ßÇÑ´Ù
182#define DEFAULT_TUNER_ID 0
183
184
185const char *ErrorString(DHL_RESULT err);
186
187#endif // __dmw_dummy_h__
188
Note: See TracBrowser for help on using the repository browser.