12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /**
- * Copyright(c) 2012 Sunplus-Prof Technologies - All Rights Reserved.
- *
- * @file
- * Common macros, declarations and definitions of SBTVD Database.
- *
- * @author baoxing.zhong
- *
- */
- #ifndef _SBTVDDB_H_
- #define _SBTVDDB_H_
- #include "db_common.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- /**
- * @addtogroup SBTVD_APIS Common macros, declarations and definitions of SBTVD Database.
- * @{
- */
- /** Exported constants */
- enum
- {
- SBTVDDB_MAX_PRIVDATA = 0, /**< Max private data length in bytes */
- };
- /**
- * @Note !!!!!!!!!!!!!!!
- * If you have modified the following three structures(SSBTVDDBNetworkInfo_t, SSBTVDDBNetworkInfo_t and SSBTVDDBServInfo_t),
- * Please don't forget to call genDBSymbol.pl manually to refresh the DB Symbol Information(which used by Get/UpdateRecordbysymbol)
- */
- /** Network details define for SBTVD Database */
- typedef struct SSBTVDDBNetworkInfo
- {
- UINT16 usNetId;
- UINT8 szNetName[DB_DVB_MAX_NETNAME_LEN]; /**< Area Name */
- } SSBTVDDBNetworkInfo_t;
- /** Multiplex details define for SBTVD Database */
- typedef struct SSBTVDDBMultiplexInfo
- {
- UINT8 ucBandwidth; /**< bandwidth : 6, 7, 8 MHz */
- UINT8 ucHierarchyMode; /**< */
- UINT16 ucAreaIndex; /**< */
- UINT8 szTpName[DB_DVB_MAX_MULTIPNAME_LEN]; /**< Transponder Name */
- UINT16 usTsId; /**< transport stream id */
- UINT16 usOrigNetId; /**< usOrigNetId */
- UINT16 usEMMPID; /**< emm pid*/
- UINT32 uiFreqK; /**< tuning frequency in KHz */
- UINT8 ucSignalQuality; /**< multiplex signal quality*/
- UINT8 ucSignalStrength; /**< multiplex signal Strength*/
- UINT16 usNetId; /**< Network id */
- UINT8/*EDVBDeliveryType_t*/ ucTp_dvb_type; /**< DVB-T delivery type(T or T2) */
- } SSBTVDDBMultiplexInfo_t;
- /** Service details define for SBTVD Database */
- typedef struct SSBTVDDBServInfo
- {
- UINT8 szProgName[DB_DVB_MAX_CHNAME_LEN]; /**< program name*/
- UINT8/*EServSDTType_t*/ eSDTSrvType; /**< service type in Service Descriptor of SDT*/
- UINT8/*EServiceType_t*/ eTvRadioType; /**< TV/Radio or Data Service */
- UINT16 usProgNo; /**< this is the virtual program number */
- UINT16 usServiceId; /**< service id */
- UINT16 usTsId; /**< transport stream id */
- UINT16 usTsId_pat; /**< transport stream id for pat */
- UINT16 usOrigNetId; /**< original network id */
- DBPIDInfo_t stVideoPid; /**< video pid info,include data pid and ecm pid*/
- DBPIDInfo_t stAudioPid[DB_DVB_MAX_AUDIO_NUM]; /**< audio pid info,include data pid and ecm pid the 3rd one is AD*/
- UINT16 usPcrPid; /**< pcr pid */
- DBServAttrib_t stProgAttrib; /**< program attribute*/
- UINT16 usPMTPid; /**< PMT pid */
- DBPIDInfo_t stPrvPid[DB_DVB_MAX_PRV_COMP_NUM]; /**< for private components, which may use in MHEG5 applications */
- UINT8 szlangCode3[4];
- UINT16 usCASystemID; /**< CA system id */
- UINT16 usLinkOrgNetID;
- UINT16 usLinkServiceID;
- UINT8 acPrivateData[SBTVDDB_MAX_PRIVDATA];
- DBCIProtection_t usCIShunningData; /** CI Shunning data */
- } SSBTVDDBServInfo_t;
- /**
- * @}
- */
- #ifdef __cplusplus
- }
- #endif
- #endif
|