TVGAPI.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:1k
- #include "Config.h" // Global Configuration - do not remove!
- #ifndef TVGTYPEDEFS
- #define TVGTYPEDEFS
- //**********************************************************************
- //**** typedefs
- //**********************************************************************
- typedef unsigned char uchar;
- typedef unsigned short ushort;
- typedef unsigned int uint;
- typedef unsigned long ulong;
- #endif
- #ifndef TVGAPI_H
- #define TVGAPI_H
- #ifdef TV_GUARDIAN_ENABLE
- #define TVG_MODE_OFF 0x00
- #define TVG_MODE_ONTOL 0x01
- #define TVG_MODE_ONSTR 0x02
- #define TVG_MODE_MASK 0x03
- #define TVG_CC_OFF 0x00
- #define TVG_CC_ONCUSS 0x01
- #define TVG_CC_ON 0x02
- #define TVG_CC_MODE_MASK 0x03
- #define TVG_CC1 0x00
- #define TVG_CC2 0x01
- #define TVG_CC_CHAN_MASK 0x01
- #define BUG_TVG 0
- #define BUG_NOTVG 1
- #define BUG_TVG_ACTIVE 2
- #define BUG_TVG_VERSION 3
- #endif
- unsigned char GetTVGMode(void);
- unsigned char GetTVGCCOperation(void);
- unsigned char GetCCShiftValue(void);
- void DisplayOperationalMessage( uchar message_index);
- void HostDispalyTVGMsg(void);
- void MuteAudio( uchar enable, uchar *offset );
- #endif