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

📄 vidconst.h

📁 djgpp bt878 capture for DOS
💻 H
字号:
#ifndef VID_CONSTANTS_H

#define VID_CONSTANTS_H

/****************************************************************************
        RISC CONSTANTS
****************************************************************************/
const int WRITE         =0x10000000;
const int WRITE123      =0x90000000;
const int WRITE1S23     =0xB0000000;
const int WRITEC        =0x50000000;
const int SKIP          =0x20000000;
const int SKIP123       =0xA0000000;
const int JUMP          =0x70000000;
const int SYNC          =0x80000000;
const int RESYNC        =0x80008000;

const int FM1_STAT      =0x00000006;
const int FM3_STAT      =0x0000000E;
const int SOL_STAT      =0x00000002;
const int EOL4_STAT     =0x00000001;
const int EOL3_STAT     =0x0000000D;
const int EOL2_STAT     =0x00000009;
const int EOL1_STAT     =0x00000005;
const int VRE_STAT      =0x00000004;
const int VRO_STAT      =0x0000000C;
const int PXV_STAT      =0x00000000;
                        
const int SOL           =0x08000000;
const int EOL           =0x04000000;
const int IRQ           =0x01000000;

const int BE_0000       =0x00000000;
const int BE_0001       =0x00001000;
const int BE_0010       =0x00002000;
const int BE_0011       =0x00003000;
const int BE_0100       =0x00004000;
const int BE_0101       =0x00005000;
const int BE_0110       =0x00006000;
const int BE_0111       =0x00007000;
const int BE_1000       =0x00008000;
const int BE_1001       =0x00009000;
const int BE_1010       =0x0000A000;
const int BE_1011       =0x0000B000;
const int BE_1100       =0x0000C000;
const int BE_1101       =0x0000D000;
const int BE_1110       =0x0000E000;
const int BE_1111       =0x0000F000;

const int SET_RISCS_0000    =0x00000000;
const int SET_RISCS_0001    =0x00010000;
const int SET_RISCS_0010    =0x00020000;
const int SET_RISCS_0011    =0x00030000;
const int SET_RISCS_0100    =0x00040000;
const int SET_RISCS_0101    =0x00050000;
const int SET_RISCS_0110    =0x00060000;
const int SET_RISCS_0111    =0x00070000;
const int SET_RISCS_1000    =0x00080000;
const int SET_RISCS_1001    =0x00090000;
const int SET_RISCS_1010    =0x000A0000;
const int SET_RISCS_1011    =0x000B0000;
const int SET_RISCS_1100    =0x000C0000;
const int SET_RISCS_1101    =0x000D0000;
const int SET_RISCS_1110    =0x000E0000;
const int SET_RISCS_1111    =0x000F0000;

const int RESET_RISCS_0000  =0x00000000;
const int RESET_RISCS_0001  =0x00100000;
const int RESET_RISCS_0010  =0x00200000;
const int RESET_RISCS_0011  =0x00300000;
const int RESET_RISCS_0100  =0x00400000;
const int RESET_RISCS_0101  =0x00500000;
const int RESET_RISCS_0110  =0x00600000;
const int RESET_RISCS_0111  =0x00700000;
const int RESET_RISCS_1000  =0x00800000;
const int RESET_RISCS_1001  =0x00900000;
const int RESET_RISCS_1010  =0x00A00000;
const int RESET_RISCS_1011  =0x00B00000;
const int RESET_RISCS_1100  =0x00C00000;
const int RESET_RISCS_1101  =0x00D00000;
const int RESET_RISCS_1110  =0x00E00000;
const int RESET_RISCS_1111  =0x00F00000;

const int VideoInputMux0        = 0x2;
const int VideoInputMux1        = 0x3;
const int VideoInputMux2        = 0x1;
const int VideoInputMux3        = 0x0;
const int VideoInputTuner       = VideoInputMux0;
const int VideoInputComposite   = VideoInputMux1;
const int VideoInputSVideo      = VideoInputMux2;
const int VideoInputOther       = VideoInputMux3;

const int Xtal0     = 0x1;
const int Xtal1     = 0x2;
const int XtalAuto  = 0x3;

const int VideoFormatAuto   = 0x0;
const int VideoFormatNTSC   = 0x1;
const int VideoFormatPAL    = 0x3;
const int VideoFormatPALM   = 0x4;
const int VideoFormatPALN   = 0x5;
const int VideoFormatSECAM  = 0x6;

const int NominalUSECAM = 0x87;
const int NominalVSECAM = 0x85;
const int NominalUNTSC  = 0xFE;
const int NominalVNTSC  = 0xB4;

const int NominalContrast = 0xD8;

const int HFilterAutoFormat = 0x0;
const int HFilterCIF        = 0x1;
const int HFilterQCIF       = 0x2;
const int HFilterICON       = 0x3;

const int ColorFormatRGB32  = 0x0;
const int ColorFormatRGB24  = 0x1;
const int ColorFormatRGB16  = 0x2;
const int ColorFormatRGB15  = 0x3;
const int ColorFormatYUY2   = 0x4;
const int ColorFormatBTYUV  = 0x5;
const int ColorFormatY8     = 0x6;
const int ColorFormatRGB8   = 0x7;
const int ColorFormatPL422  = 0x8;
const int ColorFormatPL411  = 0x9;
const int ColorFormatYUV12  = 0xA;
const int ColorFormatYUV9   = 0xB;
const int ColorFormatRAW    = 0xE;

const int Interlaced    = 0x1;
const int NonInterlaced = 0x0;

const int FieldEven = 0x1;
const int FieldOdd  = 0x0;

#endif

⌨️ 快捷键说明

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