kb_dc.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- #ifndef KB_DSMCC_H
- #define KB_DSMCC_H
- #include "Pub_st.h"
- #include "dmux_drv.h"
- #include "StbMoviesInfo.h"
- #define KB_MOVIE_NAME_ADVERTISE "adve_little.swf"
- //type of movie
- typedef enum
- {
- movie_adver=1,
- movie_game,
- movie_vote,
- movie_menu,
- movie_dbc,
- movie_last
- }kb_movie_type;
- //struct of dc para
- typedef struct kb_dc_para_s
- {
- unsigned short es_pid;
- unsigned short first_module_id;
- }kb_dc_para_t;
- //struct of movie information
- typedef struct kb_movie_info_s
- {
- kb_movie_type type;
- unsigned char name;
- unsigned long size;
- unsigned char *pData;
- unsigned long para1;
- unsigned long para2;
- unsigned long para3;
- kb_dc_para_t dcPara;
- bool valid; //del by shriek for test
- }kb_movie_info_t;
- extern unsigned char *kb_dc_getCfgXml(unsigned long *xmlSize);
- extern void kb_dc_init(void);
- extern bool kb_dc_getMovie(KB_MovieInfoNode *pInfo);
- extern int kb_dc_CfgDiiCheck(void);
- extern void KB_DC_ReloadXmlServCfgMap(void);
- #endif
- //shriek end