33 #define DS_MAIN 0x0001
34 #define DS_QUERY 0x0002
35 #define DS_CACHE 0x0004
38 #define DS_FUNC 0x0100
41 #define UNKNOWN_AIT_TYPE 0x7FFF
42 #define UNKNOWN_AIT_VERS 0x7F
114 U16BIT* serviceIdArray;
115 U8BIT numberOfServices;
144 F_Printf dbgPrintf, U32BIT dbgState );
205 U16BIT *pSid, U8BIT *pVer );
244 U16BIT serviceId, U8BIT version );
264 clDsmSIQueryRef_t clDsmSIQueryRef,
void* clDsmSIUserData,
274 void* queryHandle, clDsmSIQueryRef_t clDsmSIQueryRef );
void SIQ_ServiceRemoved(H_SiqInstance siq, U16BIT serviceId)
Inform SIQ when a service has been removed from PAT. Not required if PAT is supplied to SIQ...
Definition: siq_cache.c:329
void SIQ_SetDsmInstance(H_SiqInstance siq, clDsmInstHandle_t dsm)
Set instance handle for DSM-CC that SIQ is supporting.
Definition: siq_main.c:175
clDsmErr_t SIQ_RequestQueryStart(H_SiqInstance siq, pclDsmSIQuery_t pQuery, clDsmSIQueryRef_t clDsmSIQueryRef, void *clDsmSIUserData, clDsmSIQueryResult_t *pResult)
Start DSM-CC query request. Called by DSM-CC component, and given in clDsmSysCreate setup...
void SIQ_ServiceInfoChangeUnsubscribe(H_SiqInstance siq, U16BIT serviceId)
Unsubscribe component to previously subscribed service change or alteration updates. Called by DSM-CC component, and given in clDsmSysCreate setup.
Definition: siq_cache.c:43
H_SiqInstance SIQ_CreateInstance(S_SiqSetup *pSetup)
Create SIQ instance.
Definition: siq_main.c:67
void SIQ_TransportChanged(H_SiqInstance siq, U16BIT origNetworkId, U16BIT transportId)
Inform SIQ when tuning to another transport stream. Not required if PAT is supplied to SIQ...
Definition: siq_cache.c:311
Define Demux types use in section filter API.
U32BIT(* F_ParseDataBcastId)(H_PmtRef pmtref, U32BIT carouselId, U8BIT *dbcPtr, U8BIT dbcLen)
Parse data broadcast id descriptor for recognised application(s) SIQ wants to know whether this PMT s...
Definition: siqfuncs.h:57
DSM-CC global types header Used by SI Query and Section Filter code.
void SIQ_SetDemuxHandle(H_SiqInstance siq, DMXREF dmxref)
Set handle to be passed to F_DvpRequestPmt and F_DvpCancelPmt.
Definition: siq_main.c:188
H_PmtRef(* F_PmtParseInit)(U16BIT serviceId)
Inform the DSM-CC client that parsing of PMT data is about to start The return value is passed to sub...
Definition: siqfuncs.h:37
void SIQ_SetDebugConfig(H_SiqInstance siq, F_Printf errPrintf, F_Printf dbgPrintf, U32BIT dbgState)
Set Debug config for SIQ.
Definition: siq_main.c:125
Definition: siq_main.h:33
void SIQ_ProcessPmt(H_SiqInstance siq, H_SiqPmtTable hNewTable, U16BIT serviceId, U8BIT version)
Provide PMT section data to SIQ. It assumes CRC has been checked and is passing valid PMT sections So...
Definition: siq_cache.c:449
void SIQ_SetDebugState(H_SiqInstance siq, U32BIT dbgState)
Set Debug state for SIQ.
Definition: siq_main.c:140
void(* F_DvpCancelPmt)(DMXREF dmxref, U16BIT serviceId)
Cancel request for PMT data made by F_DvpRequestPmt()
Definition: dsiq.h:73
void SIQ_UpdatePatInfo(H_SiqInstance siq, S_SiqPatTable *pat)
Tell SIQ of latest PAT for current transport stream. Calling this function is optional. However, if not used, then the platform must use SIQ_ServiceRemoved and SIQ_TransportChanged.
Definition: siq_cache.c:287
void(* F_NotifyAitInfo)(U16BIT serviceId, U16BIT appType, U16BIT pid, U8BIT version)
Callback to inform of first or changed AIT info in PMT.
Definition: siqfuncs.h:75
H_SiqPmtTable SIQ_ParsePmt(H_SiqInstance siq, U8BIT *pmt)
Provide PMT section data to SIQ. It assumes CRC has been checked and is passing valid PMT sections So...
Definition: siq_cache.c:434
void SIQ_CacheClearPmt(H_SiqInstance siq, U16BIT serviceId)
Clear cached PMT information.
Definition: siq_cache.c:529
void(* F_PmtParseDone)(H_PmtRef pmtref)
Inform the DSM-CC client that parsing of PMT data has completed.
Definition: siqfuncs.h:65
int(* F_DvpRequestPmt)(DMXREF dmxref, U16BIT serviceId)
Request PMT data to be supplied to SIQ for this service. The PMT data should be supplied to SIQ_Proce...
Definition: dsiq.h:65
void SIQ_DestroyInstance(H_SiqInstance siq)
Destroy instance created by SIQ_CreateInstance.
Definition: siq_main.c:151
Definition: siq_cache.c:51
Definition: clDsmSystem.h:551
Service Information Query: external function prototypes.
void SIQ_RequestQueryStop(H_SiqInstance siq, void *queryHandle, clDsmSIQueryRef_t clDsmSIQueryRef)
Stop DSM-CC query request. Called by DSM-CC component, and given in clDsmSysCreate setup...
E_SIQ_STATUS SIQ_RequirePmt(H_SiqInstance siq, U8BIT *pmt, U16BIT *pSid, U8BIT *pVer)
Ask SIQ whether PMT section data is required. It assumes CRC has been checked and is passing valid PM...
Definition: siq_cache.c:373
Define standard function types.
Definition: cldsmtypes.h:204
Definition: cldsmtypes.h:182
clDsmErr_t SIQ_ServiceInfoChangeSubscribe(H_SiqInstance siq, U16BIT serviceId)
Subscribe a component to receive notification of any changes or alterations to the service informatio...