Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
epg.h
Package: ST_5105DTV.rar [view]
Upload User: fy98168
Upload Date: 2015-06-26
Package Size: 13771k
Code Size: 2k
Category:
DVD
Development Platform:
C/C++
- #ifndef _EPG_H_
- #define _EPG_H_
- #include "gendef.h"
- #include "osp.h"
- #include "sipsi.h"
- #define KB_EPG_MAX_TS_NUM 20
- #define KB_EPG_MAX_SCH 10
- #define KB_EPG_MAX_PF 10
- typedef struct _KB_EPGDayInfo
- {
- INT32 nEventCount;
- KB_SIEitSchEvent *ptEvent;
- }KB_EPGDayInfo;
- typedef struct _KB_EPGSch
- {
- UINT32 nSvcID;
- UINT32 nState;
- UINT32 nEnable;
- KB_SIEitSch *pDataStruct;
- KB_EPGDayInfo nDayInfo[7];
- }KB_EPGSch;
- typedef struct _KB_EPGSchInfo
- {
- UINT32 nTsId;
- KB_EPGSch nSchInfo[KB_EPG_MAX_SCH];
- BOOL nCurrentTsTag;
- }KB_EPGSchInfo;
- typedef struct _KB_EpgPFInfo
- {
- UINT32 nTsId;
- UINT32 nSvcID;
- UINT32 nState;
- UINT32 nEnable;
- KB_SIEitPF *pPresent;
- KB_SIEitPF *pFollow;
- }KB_EpgPFInfo;
- typedef enum
- {
- EPG_MSG_PF_DONE,
- EPG_MSG_PF_TIMEOUT,
- EPG_MSG_PF_CHANGE,
- EPG_MSG_SCHEDULE_DONE,
- EPG_MSG_SCHEDULE_EVENT_DONE,
- EPG_MSG_SCHEDULE_SUNDAY_DONE,
- EPG_MSG_SCHEDULE_MONDAY_DONE,
- EPG_MSG_SCHEDULE_TUESDAY_DONE,
- EPG_MSG_SCHEDULE_WEDNESDAY_DONE,
- EPG_MSG_SCHEDULE_THURSDAY_DONE,
- EPG_MSG_SCHEDULE_FRIDAY_DONE,
- EPG_MSG_SCHEDULE_SATURDAY_DONE,
- EPG_MSG_SCHEDULE_TIMEOUT,
- EPG_MSG_MAX
- }KB_EpgMessage;
- typedef enum
- {
- EPG_Empty,
- EPG_Receiving,
- EPG_Recieved,
- EPG_Timeout
- }EPGSTATE;
- INT32 KB_EPGInit(void);
- INT32 KB_EPGCreate(void);
- INT32 KB_EPGDestroy(void);
- INT32 KB_EPGGetEITPF(UINT32 nSvcID);
- INT32 KB_EPGStopAllSCH(void);
- INT32 KB_EPGStopAllEITPF(void);
- UINT32 KB_EPGGetPrgSCH(unsigned short nPrgType,unsigned short i_nChannel);
- INT32 KB_EPGGetSch(UINT32 nTsId, INT32 nSvcCnt, UINT32 *pSvcID);
- KB_EPGDayInfo *KB_EPGGetSchInfo(UINT16 TsId, INT32 nSvcID, INT32 nWeekday);
- INT32 KB_EPGStopOneSrvSCH(UINT32 TsNum, UINT32 nSvcID);
- INT32 KB_EPGToNvod(INT32 nMute);
- void* KB_EPGGetMemAddress(void);
- INT32 KB_EPGHandleMsg(KB_OSPMsgNode *pInMsg);
- typedef void (*KB_EPGCallBackFunc)(KB_OSPMsgNode *pInMsg);
- KB_EPGCallBackFunc KB_EpgCallBack(KB_EPGCallBackFunc callback);
- UINT32 KB_EPG_GetCurrentTsNum(void);
- INT32 KB_EPG_SetCurrentTsNum(UINT32 TsId);
- UINT32 KB_EPG_GetTsNumFromTsId(UINT16 TsId);
- KB_EPGDayInfo *KD_EPGGetSCH(UINT32 TsNum, INT32 nSvcID, INT32 nWeekday);
- void KB_EPG_ResetSchInfoByTsid(UINT16 TsId);
- UINT32 KB_EPG_GetTsIdFromTsNum(UINT32 TsNum);
- UINT16 KB_EPG_GetCurrentTsid(void);
- #endif