source: svn/newcon3bcm2_21bu/dst/dhl/src/DHL_Demux.c @ 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: 2.4 KB
Line 
1/**
2        @file
3                DHL_MMM.c
4
5        @brief
6                PHOENIX HAL library
7
8        ÀÌ ¸ðµâ¿¡ ´ëÇÑ °£´ÜÇÑ ¼³¸í..
9        ex: AudioVideo decoding/capture/output implementation
10
11        Copyright 2006~2010 Digital STREAM Technology, Inc.
12        All Rights Reserved
13*/
14
15
16#include "DHL_OSAL.h"
17#include "DHL_DBG.h"
18#include "DHL_Config.h"
19#include "DHL_Demux.h"
20
21////#include <string.h>
22
23/*
24        ¸ðµç Çì´õ ÆÄÀÏÀ» Æ÷ÇÔÇÏÁö´Â ¾ÊÀ¸¸ç, compile timeÀ» ÁÙÀ̱â À§ÇØ
25        °¢ ¸ðµâÀº ÇÊ¿äÇÑ ¸¸Å­ÀÇ Çì´õ¸¦ ¼±¾ðÇϵµ·Ï ÇÔ.
26*/
27
28
29
30/*
31        DHL µð¹ö±× ¸ðµâ À̸§ Á¤ÀÇ ·ê Âü°í:
32
33        DHL ¸ðµâµéÀº ¸ðµÎ * ·Î ½ÃÀÛ.
34        API´Â ´ë¹®ÀÚ, Platform ¹× ±âŸ´Â ¼Ò¹®ÀÚ »ç¿ë.
35
36        µðÆúÆ® ·¹º§Àº 0À¸·Î ¼³Á¤ÇÑ´Ù. (0: ¿¡·¯ ¸Þ½ÃÁö¸¸ Ãâ·Â)
37       
38       
39*/
40
41
42//DHL_MODULE("*DMX", 0);
43
44
45#if COMMENT
46____Config____(){}
47#endif
48
49/*
50        ÀÌ ¸ðµâ ³»ºÎ¿¡¼­ »ç¿ëµÇ´Â °¢Á¾ configuration Á¤ÀÇ.
51*/
52
53// »ç¿ë °¡´ÉÇÑ ÃÖ´ë TSD °¹¼ö.
54// ¿©±â¼­ Á¤ÀÇÇÏÁö ¾Ê°í, DHL_Config.h °ªÀ» »ç¿ëÇÑ´Ù.
55#define DMX_MAX_TSD DHL_CFG_MAX_NUM_TSD
56
57
58#if COMMENT
59____Types____(){}
60#endif
61
62/*
63        ÀÌ ¸ðµâ ³»ºÎ¿¡¼­ »ç¿ëµÇ´Â structure ¹× enumerations.
64*/
65
66
67// ÀÌ ¸ðµâÀÇ ÃʱâÈ­ ¿©ºÎ
68static BOOL g_dmx_module_init;
69
70
71#if COMMENT
72____Variables____(){}
73#endif
74
75/*
76        global·Î Àû¿ëµÇ´Â variable Á¤ÀÇ.
77        °¢ function º°·Î Ư¼öÇÑ ¿ëµµÀÇ variableÀº °¢ functionX block ¿¡¼­ Á¤ÀÇ °¡´É.
78*/
79
80
81
82/*
83        TSD ÀνºÅϽº.
84*/
85static UINT32 g_tsd[DMX_MAX_TSD];
86
87
88#if COMMENT
89____Internal____(){}
90#endif
91
92
93#if COMMENT
94____NonPublic____(){}
95#endif
96
97
98#if COMMENT
99____Public____(){}
100#endif
101
102
103tDHL_TSD DHL_DMX_GetTsdByID(int id)
104{
105        return &g_tsd[0];
106}
107
108int DHL_DMX_GetIndexByTsd(tDHL_TSD tsd)
109{
110        return 0;
111}
112
113
114
115#if COMMENT
116____Debug____(){}
117#endif
118
119
120
121
122
123#if COMMENT
124____Symbol____(){}
125#endif
126
127
128#if DHL_REGISTER_DEUBG_SYMBOLS
129
130static DHL_SymbolTable _symbols[] =
131{
132        /* however, if you want typing short-cut, it is good usage.
133        DHL_FNC_SYM_ENTRY2("epg_start", App_EpgUpdateStart),
134        DHL_FNC_SYM_ENTRY2("epg_stop", App_EpgUpdateCancel),
135        DHL_FNC_SYM_ENTRY2("epg_list", Dmc_EpgPrintAllTables),
136        DHL_FNC_SYM_ENTRY2("epg_delete", App_EpgDeleteAll),
137
138        DHL_VAR_SYM_ENTRY(g_XX_TestMode),
139        */
140        0,
141};
142
143#endif  /* DHL_REGISTER_DEUBG_SYMBOLS */
144
145
146
147#if COMMENT
148____Init____(){}
149#endif
150
151
152DHL_RESULT DHL_DMX_Init(void)
153{
154
155       
156        g_dmx_module_init = TRUE;
157       
158        return DHL_OK;
159}
160
161DHL_RESULT DHL_DMX_Uninit(void)
162{
163        if (!g_dmx_module_init)
164        {
165                return DHL_OK;
166        }
167       
168
169       
170        g_dmx_module_init = FALSE;
171       
172        return DHL_OK;
173}
174
175/* end of file */
176
Note: See TracBrowser for help on using the repository browser.