kb_dc_filterdata.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- /*****************************************************************************
- File Name: filter.h
- Description: Private Section filter
- COPYRIGHT (C) 2004 STMicroelectronics
- *****************************************************************************/
- #ifndef _KB_DC_FILTERDATA_H
- #define _KB_DC_FILTERDATA_H
- #define False 0
- #define True 1
- #define TM_OK 0
- #define Err_OK 0
- #define TM_FALSE 1
- #define UNSET_PARAM 0xffff
- typedef enum
- {
- PSI_S_ALLOC_NONE = 0,
- PSI_S_ALLOC_SECTION,
- PSI_S_ALLOC_TABLE
- } PSI_MALLOC_OPT;
- typedef enum
- {
- FILTER_READY,
- FILTER_RUNNING,
- FILTER_COLSED
- }KB_DC_FILTER_STATUS;
- typedef enum
- {
- DC_NOT_OK =-1,
- DC_OK
-
- } KB_DC_RETURN_VALUE;
- #define TUNER_USED 1
- #define PSI_SECTION_SIZE 4096
- #define OLD_VERSION_FILTER_TEST 0
- extern unsigned long KB_DC_FilterReSet(unsigned short lPid, unsigned short lTableId, unsigned short lTableIdExt, unsigned short lVersion, unsigned short lSectionNumber);
- extern int KB_DC_DmxInit(void);
- extern void KB_DC_FilterStatSet(KB_DC_FILTER_STATUS status);
- extern KB_DC_FILTER_STATUS KB_DC_FilterStatGet(void);
- extern int KB_DC_FilterStop(void);
- extern int KB_DC_FilterStart(void);
- extern int KB_DC_GetTable(unsigned short pid, unsigned char tableId, unsigned int extId, unsigned char ** table_info, int style);
-
- #endif /* __FILTER_H */
- /* EOF --------------------------------------------------------------------- */