| 1 | /** |
|---|
| 2 | @file |
|---|
| 3 | DLIB_PSIP_Monitor.h |
|---|
| 4 | |
|---|
| 5 | @brief |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | #ifndef __DLIB_SDDS_MONITOR_H__ |
|---|
| 12 | #define __DLIB_SDDS_MONITOR_H__ |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | #include "DHL_PSI.h" |
|---|
| 16 | #include "DHL_Demux.h" |
|---|
| 17 | |
|---|
| 18 | #include "DLIB_PSIP.h" |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | #ifdef __cplusplus |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | #if COMMENT |
|---|
| 28 | ____Overview____(){} |
|---|
| 29 | #endif |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | #if COMMENT |
|---|
| 34 | ____Config____(){} |
|---|
| 35 | #endif |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | #if COMMENT |
|---|
| 40 | ____Types____(){} |
|---|
| 41 | #endif |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | /* |
|---|
| 45 | DDB block ¼ö½Å½Ã blockNumber filter¸¦ Àû¿ëÇÏ´Â ¹æ½Ä. |
|---|
| 46 | ³ôÀº bitrate·Î ¿¬¼Ó ¼½¼ÇÀÌ ³¯¶ó¿À´Â °æ¿ì, |
|---|
| 47 | µ¹·Á ¹Þ±â¸¦ ÇÏ¸é ¼ö½ÅÀ²ÀÌ Á» ³ª¾ÆÁú µí ÇÏ¿© Á¦°øÇÔ. |
|---|
| 48 | µµ¿òÀÌ µÈ´Ù´Â ½ÇÁ¦ Å×½ºÆ® °á°ú µ¥ÀÌÅÍ´Â ¾ÆÁ÷ ¾øÀ½. |
|---|
| 49 | DLIB_SDDS_MonitorDdb() ¿¡¼ »ç¿ë. |
|---|
| 50 | */ |
|---|
| 51 | typedef enum |
|---|
| 52 | { |
|---|
| 53 | eDDB_RIM_All, // no interleaving mode. |
|---|
| 54 | |
|---|
| 55 | eDDB_RIM_Even, // ¦¼ö block number ¸¸ ¼ö½Å. |
|---|
| 56 | eDDB_RIM_Odd, // Ȧ¼ö block number ¸¸ ¼ö½Å. |
|---|
| 57 | |
|---|
| 58 | eDDB_RIM_Quarter0, // blockNumber%4 == 0 ÀÎ ¼½¼Ç¸¸.. |
|---|
| 59 | eDDB_RIM_Quarter1, // blockNumber%4 == 1 ÀÎ ¼½¼Ç¸¸.. |
|---|
| 60 | eDDB_RIM_Quarter2, // blockNumber%4 == 2 ÀÎ ¼½¼Ç¸¸.. |
|---|
| 61 | eDDB_RIM_Quarter3, // blockNumber%4 == 3 ÀÎ ¼½¼Ç¸¸.. |
|---|
| 62 | |
|---|
| 63 | } E_DDB_RX_INTERLEAVED_MODE; |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | #if COMMENT |
|---|
| 68 | ____Defines____(){} |
|---|
| 69 | #endif |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | #if COMMENT |
|---|
| 77 | ____API____(){} |
|---|
| 78 | #endif |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | |
|---|
| 82 | /** |
|---|
| 83 | |
|---|
| 84 | */ |
|---|
| 85 | DHL_RESULT DLIB_SDDS_MonitorDsi ( |
|---|
| 86 | tDHL_TSD tsd, |
|---|
| 87 | UINT16 pid, |
|---|
| 88 | UINT32 tableIdExtension, |
|---|
| 89 | tDHL_PSI_Update updateMode, |
|---|
| 90 | tDHL_PSI_EventProc eventProc, UINT32 userParam, |
|---|
| 91 | tDHL_PSI_ControlHandle *ppsiCtl); |
|---|
| 92 | |
|---|
| 93 | |
|---|
| 94 | /** |
|---|
| 95 | |
|---|
| 96 | */ |
|---|
| 97 | DHL_RESULT DLIB_SDDS_MonitorDii ( |
|---|
| 98 | tDHL_TSD tsd, |
|---|
| 99 | UINT16 pid, |
|---|
| 100 | UINT32 transactionId, |
|---|
| 101 | tDHL_PSI_Update updateMode, |
|---|
| 102 | tDHL_PSI_EventProc eventProc, UINT32 userParam, |
|---|
| 103 | tDHL_PSI_ControlHandle *ppsiCtl); |
|---|
| 104 | |
|---|
| 105 | |
|---|
| 106 | /** |
|---|
| 107 | moduleId°¡ (UINT32)-1 ÀÎ °æ¿ì, filter¸¦ °ÉÁö ¾Ê´Â´Ù. |
|---|
| 108 | Áï, moduleId¿¡ »ó°ü ¾øÀÌ ¼ö½ÅÇÑ´Ù. |
|---|
| 109 | */ |
|---|
| 110 | DHL_RESULT DLIB_SDDS_MonitorDdb ( |
|---|
| 111 | tDHL_TSD tsd, |
|---|
| 112 | UINT16 pid, |
|---|
| 113 | UINT32 moduleId, |
|---|
| 114 | E_DDB_RX_INTERLEAVED_MODE interleavingMode, |
|---|
| 115 | tDHL_PSI_Update updateMode, |
|---|
| 116 | tDHL_PSI_EventProc eventProc, UINT32 userParam, |
|---|
| 117 | tDHL_PSI_ControlHandle *ppsiCtl); |
|---|
| 118 | |
|---|
| 119 | |
|---|
| 120 | /** |
|---|
| 121 | |
|---|
| 122 | */ |
|---|
| 123 | void DLIB_SDDS_StopMonitor(tDHL_PSI_ControlHandle psiCtl); |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | |
|---|
| 127 | |
|---|
| 128 | #ifdef __cplusplus |
|---|
| 129 | } /* extern "C" */ |
|---|
| 130 | #endif |
|---|
| 131 | |
|---|
| 132 | |
|---|
| 133 | |
|---|
| 134 | #endif /* __DLIB_SDDS_MONITOR_H__ */ |
|---|
| 135 | |
|---|