DSMCC  22.11.0
Typedefs | Functions
dsm_si.h File Reference

Internal header for DSM-CC si support. More...

Go to the source code of this file.

Typedefs

typedef struct s_DsiInstanceH_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, U16BIT pid, 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...
 

Detailed Description

Internal header for DSM-CC si support.

Date
24 April 2014
Author
Adam Sturtridge

Function Documentation

void DSI_CancelTable ( H_DsiInstance  dsi,
U16BIT  pid,
U32BIT  rid 
)

Cancel request for table data made by DSI_RequestTable()

Parameters
dsiDSI instance handle
pidPID for this table
ridRequest Id returned by DSI_RequestTable()
Returns
void
Parameters
dsiDSI instance handle
ridRequest Id returned by DSI_RequestTable()
Returns
void
U32BIT DSI_CheckRequests ( H_DsiInstance  dsi,
U32BIT  now 
)

Check outstanding PMT (and PAT) requests to see whether any need to be refreshed.

Parameters
dsiDSI instance handle
Returns
U32BIT time when need to call this function again
H_DsiInstance DSI_CreateInstance ( H_DsmControl  ctrl,
F_FILTER_CALLBACK  cbfunc,
S_DsmccConfig config 
)

Create instance of DSI.

Parameters
cbfuncFunction to process SI section data
configConfiguration of DSM-CC
Returns
DSI Instance handle
void DSI_DestroyInstance ( H_DsiInstance  dsi)

Destroy instance created by SIQ_CreateInstance.

Parameters
H_DsiInstancedsi DSI instance handle.
Returns
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
dsiDSI instance handle
pidPID for this table
xidTable extension ID
tidTable ID (e.g. PMT is 0x02)
Returns
zero is failure, non-zero is success
BOOLEAN DSI_RequireTable ( H_DsiInstance  dsi,
U8BIT *  hdr,
U16BIT *  pXid,
U8BIT *  pVer 
)

Check whether SI table section data is required.

Parameters
dsiDSI instance handle
datapointer to section data (starting at table Id byte
pXidpointer to return table extension
pVerpointer to return table version
Returns
BOOLEAN - TRUE if required, otherwise FALSE
BOOLEAN DSI_Start ( H_DsiInstance  dsi,
U16BIT  transId,
DMXREF  dmxref 
)

Start getting SI data from Demux.

Parameters
H_DsiInstancedsi DSI instance handle.
DMXREFdmxref Demux reference handle
Returns
Parameters
dsiDSI instance handle.
transIdTransport stream ID
dmxrefDemux reference handle
Returns
void DSI_Stop ( H_DsiInstance  dsi)

Stop getting SI data from Demux.

Parameters
H_DsiInstancedsi DSI instance handle.
Returns