⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tvvbi.h.svn-base

📁 最新火热的CX32 源代码
💻 SVN-BASE
字号:

#ifndef __TVVBI_H
#define __TVVBI_H

#ifdef __cplusplus
extern "C" {
#endif

//--------------------- TVAPI -----------------------------

typedef struct tagVBIInitTable
{
    Byte ucCapWin;   //_WT_MC_ or _WT_PC
    Byte ucOSDType;  //_WT_OSD1, _WT_OSD2, _WT_OSD3 or _WT_OSD4
    Word wX;
    Byte ucY;
    Byte ucXZoom;
    Byte ucYZoom;
    Byte ucTextLines;
    Word wDVTableID;
    VBIConstDataStruct VBIConst;
} VBIInitTable;
typedef VBIInitTable RomPtr RPVBIInitTable;

enum
{
    VBIMODE_OFF = 0,
    VBIMODE_CC1,
    VBIMODE_CC2,
    VBIMODE_CC3,
    VBIMODE_CC4,
    VBIMODE_TEXT1,
    VBIMODE_TEXT2,
    VBIMODE_TEXT3,
    VBIMODE_TEXT4,
    VBIMODE_XDS,
    VBIMODE_TELETEXT
};

#ifdef USE_VBI
Void tvInitVBI(Byte ucWindowType, Word wInitTableID, Byte ucIndex);
Void tvEnableVBI(Byte ucWindowType, Byte ucCCMode);
Void tvEnableVChip(Bool bEnable);
//Byte tvGetVBIMode(Void);
Void tvCheckVBI(Byte ucWindowType);

#else
#define tvEnableVBI(foo, foo1)
#define tvCheckVBI(foo)
#define tvInitVBI(foo, foo1, foo2)
#endif

//--------------------- Call Back Functions -----------------------------

#ifdef USE_VBI

// must be implemented by Applicatoin
Void tvAppBlock(Byte ucWindowType, Bool bBlock);
Void VBIOnOff(Bool bOnOff);

#endif // USE_VBI 

#ifdef __cplusplus
};
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -