Internal header for DSM-CC si support.
More...
Go to the source code of this file.
|
typedef struct s_DsiInstance * | H_DsiInstance |
|
|
H_DsiInstance | DSI_CreateInstance (H_DsmControl dsmctrl, F_FILTER_CALLBACK cbfunc, S_DsmccConfig *config) |
| Create instance of DSI. More...
|
|
void | DSI_DestroyInstance (H_DsiInstance dsi) |
| Destroy instance created by SIQ_CreateInstance. More...
|
|
BOOLEAN | DSI_Start (H_DsiInstance dsi, U16BIT transId, DMXREF dmxref) |
| Start getting SI data from Demux. More...
|
|
void | DSI_Stop (H_DsiInstance dsi) |
| Stop getting SI data from Demux. More...
|
|
U32BIT | DSI_RequestTable (H_DsiInstance dsi, U16BIT pid, U16BIT xid, U8BIT tid) |
| Request Table data. It supplies Table soon after the call to this function, and then, whenever the Table version changes. This state continues until DSI_CancelTable is called. More...
|
|
void | DSI_CancelTable (H_DsiInstance dsi, U32BIT rid) |
| Cancel request for table data made by DSI_RequestTable() More...
|
|
U32BIT | DSI_CheckRequests (H_DsiInstance dsi, U32BIT now) |
| Check outstanding PMT (and PAT) requests to see whether any need to be refreshed. More...
|
|
BOOLEAN | DSI_RequireTable (H_DsiInstance dsi, U8BIT *data, U16BIT *pXid, U8BIT *pVer) |
| Check whether SI table section data is required. More...
|
|
Internal header for DSM-CC si support.
- Date
- 24 April 2014
- Author
- Adam Sturtridge
Definition in file dsm_si.h.
void DSI_CancelTable |
( |
H_DsiInstance |
dsi, |
|
|
U32BIT |
rid |
|
) |
| |
U32BIT DSI_CheckRequests |
( |
H_DsiInstance |
dsi, |
|
|
U32BIT |
now |
|
) |
| |
Check outstanding PMT (and PAT) requests to see whether any need to be refreshed.
- Parameters
-
- Returns
- U32BIT time when need to call this function again
Definition at line 373 of file dsm_si.c.
H_DsiInstance DSI_CreateInstance |
( |
H_DsmControl |
ctrl, |
|
|
F_FILTER_CALLBACK |
cbfunc, |
|
|
S_DsmccConfig * |
config |
|
) |
| |
Create instance of DSI.
- Parameters
-
cbfunc | Function to process SI section data |
config | Configuration of DSM-CC |
- Returns
- DSI Instance handle
Definition at line 197 of file dsm_si.c.
void DSI_DestroyInstance |
( |
H_DsiInstance |
dsi | ) |
|
Destroy instance created by SIQ_CreateInstance.
- Parameters
-
H_DsiInstance | dsi DSI instance handle. |
- Returns
Definition at line 229 of file dsm_si.c.
U32BIT DSI_RequestTable |
( |
H_DsiInstance |
dsi, |
|
|
U16BIT |
pid, |
|
|
U16BIT |
xid, |
|
|
U8BIT |
tid |
|
) |
| |
Request Table data. It supplies Table soon after the call to this function, and then, whenever the Table version changes. This state continues until DSI_CancelTable is called.
- Parameters
-
dsi | DSI instance handle |
pid | PID for this table |
xid | Table extension ID |
tid | Table ID (e.g. PMT is 0x02) |
- Returns
- zero is failure, non-zero is success
Definition at line 284 of file dsm_si.c.
BOOLEAN DSI_RequireTable |
( |
H_DsiInstance |
dsi, |
|
|
U8BIT * |
hdr, |
|
|
U16BIT * |
pXid, |
|
|
U8BIT * |
pVer |
|
) |
| |
Check whether SI table section data is required.
- Parameters
-
dsi | DSI instance handle |
data | pointer to section data (starting at table Id byte |
pXid | pointer to return table extension |
pVer | pointer to return table version |
- Returns
- BOOLEAN - TRUE if required, otherwise FALSE
Definition at line 439 of file dsm_si.c.
BOOLEAN DSI_Start |
( |
H_DsiInstance |
dsi, |
|
|
U16BIT |
transId, |
|
|
DMXREF |
dmxref |
|
) |
| |
Start getting SI data from Demux.
- Parameters
-
H_DsiInstance | dsi DSI instance handle. |
DMXREF | dmxref Demux reference handle |
- Returns
- Parameters
-
dsi | DSI instance handle. |
transId | Transport stream ID |
dmxref | Demux reference handle |
- Returns
Definition at line 242 of file dsm_si.c.
void DSI_Stop |
( |
H_DsiInstance |
dsi | ) |
|
Stop getting SI data from Demux.
- Parameters
-
H_DsiInstance | dsi DSI instance handle. |
- Returns
Definition at line 253 of file dsm_si.c.