![]() |
DSMCC
22.3.0
|
Internal header for DSM-CC si support. More...
Go to the source code of this file.
Typedefs | |
typedef struct s_DsiInstance * | H_DsiInstance |
Functions | |
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.
void DSI_CancelTable | ( | H_DsiInstance | dsi, |
U32BIT | rid | ||
) |
Cancel request for table data made by DSI_RequestTable()
dsi | DSI instance handle |
rid | Request Id returned by DSI_RequestTable() |
U32BIT DSI_CheckRequests | ( | H_DsiInstance | dsi, |
U32BIT | now | ||
) |
Check outstanding PMT (and PAT) requests to see whether any need to be refreshed.
dsi | DSI instance handle |
H_DsiInstance DSI_CreateInstance | ( | H_DsmControl | ctrl, |
F_FILTER_CALLBACK | cbfunc, | ||
S_DsmccConfig * | config | ||
) |
Create instance of DSI.
cbfunc | Function to process SI section data |
config | Configuration of DSM-CC |
void DSI_DestroyInstance | ( | H_DsiInstance | dsi | ) |
Destroy instance created by SIQ_CreateInstance.
H_DsiInstance | dsi DSI instance handle. |
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.
dsi | DSI instance handle |
pid | PID for this table |
xid | Table extension ID |
tid | Table ID (e.g. PMT is 0x02) |
BOOLEAN DSI_RequireTable | ( | H_DsiInstance | dsi, |
U8BIT * | hdr, | ||
U16BIT * | pXid, | ||
U8BIT * | pVer | ||
) |
Check whether SI table section data is required.
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 |
BOOLEAN DSI_Start | ( | H_DsiInstance | dsi, |
U16BIT | transId, | ||
DMXREF | dmxref | ||
) |
Start getting SI data from Demux.
H_DsiInstance | dsi DSI instance handle. |
DMXREF | dmxref Demux reference handle |
dsi | DSI instance handle. |
transId | Transport stream ID |
dmxref | Demux reference handle |
void DSI_Stop | ( | H_DsiInstance | dsi | ) |
Stop getting SI data from Demux.
H_DsiInstance | dsi DSI instance handle. |