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

📄 cx88-reg.h

📁 h内核
💻 H
📖 第 1 页 / 共 3 页
字号:
/* RISC instructions                                                      */#define RISC_SYNC		 0x80000000#define RISC_SYNC_ODD		 0x80000000#define RISC_SYNC_EVEN		 0x80000200#define RISC_RESYNC		 0x80008000#define RISC_RESYNC_ODD		 0x80008000#define RISC_RESYNC_EVEN	 0x80008200#define RISC_WRITE		 0x10000000#define RISC_WRITEC		 0x50000000#define RISC_READ		 0x90000000#define RISC_READC		 0xA0000000#define RISC_JUMP		 0x70000000#define RISC_SKIP		 0x20000000#define RISC_WRITERM		 0xB0000000#define RISC_WRITECM		 0xC0000000#define RISC_WRITECR		 0xD0000000#define RISC_IMM		 0x00000001#define RISC_SOL		 0x08000000#define RISC_EOL		 0x04000000#define RISC_IRQ2		 0x02000000#define RISC_IRQ1		 0x01000000#define RISC_CNT_NONE		 0x00000000#define RISC_CNT_INC		 0x00010000#define RISC_CNT_RSVR		 0x00020000#define RISC_CNT_RESET		 0x00030000#define RISC_JMP_SRP         	 0x01/* ---------------------------------------------------------------------- *//* various constants                                                      */#define SEL_BTSC     0x01#define SEL_EIAJ     0x02#define SEL_A2       0x04#define SEL_SAP      0x08#define SEL_NICAM    0x10#define SEL_FMRADIO  0x20// AUD_CTL#define EN_BTSC_FORCE_MONO      0#define EN_BTSC_FORCE_STEREO    1#define EN_BTSC_FORCE_SAP       2#define EN_BTSC_AUTO_STEREO     3#define EN_BTSC_AUTO_SAP        4#define EN_A2_FORCE_MONO1       8#define EN_A2_FORCE_MONO2       9#define EN_A2_FORCE_STEREO      10#define EN_A2_AUTO_MONO2        11#define EN_A2_AUTO_STEREO       12#define EN_EIAJ_FORCE_MONO1     16#define EN_EIAJ_FORCE_MONO2     17#define EN_EIAJ_FORCE_STEREO    18#define EN_EIAJ_AUTO_MONO2      19#define EN_EIAJ_AUTO_STEREO     20#define EN_NICAM_FORCE_MONO1    32#define EN_NICAM_FORCE_MONO2    33#define EN_NICAM_FORCE_STEREO   34#define EN_NICAM_AUTO_MONO2     35#define EN_NICAM_AUTO_STEREO    36#define EN_FMRADIO_FORCE_MONO   24#define EN_FMRADIO_FORCE_STEREO 25#define EN_FMRADIO_AUTO_STEREO  26#define EN_NICAM_AUTO_FALLBACK  0x00000040#define EN_FMRADIO_EN_RDS       0x00000200#define EN_NICAM_TRY_AGAIN_BIT  0x00000400#define EN_DAC_ENABLE           0x00001000#define EN_I2SOUT_ENABLE        0x00002000#define EN_I2SIN_STR2DAC        0x00004000#define EN_I2SIN_ENABLE         0x00008000#if 0/* old */#define EN_DMTRX_SUMDIFF        0x00000800#define EN_DMTRX_SUMR           0x00000880#define EN_DMTRX_LR             0x00000900#define EN_DMTRX_MONO           0x00000980#else/* dscaler cvs */#define EN_DMTRX_SUMDIFF        (0 << 7)#define EN_DMTRX_SUMR           (1 << 7)#define EN_DMTRX_LR             (2 << 7)#define EN_DMTRX_MONO           (3 << 7)#define EN_DMTRX_BYPASS         (1 << 11)#endif// Video#define VID_CAPTURE_CONTROL		0x310180#define CX23880_CAP_CTL_CAPTURE_VBI_ODD  (1<<3)#define CX23880_CAP_CTL_CAPTURE_VBI_EVEN (1<<2)#define CX23880_CAP_CTL_CAPTURE_ODD      (1<<1)#define CX23880_CAP_CTL_CAPTURE_EVEN     (1<<0)#define VideoInputMux0		 0x0#define VideoInputMux1		 0x1#define VideoInputMux2		 0x2#define VideoInputMux3		 0x3#define VideoInputTuner		 0x0#define VideoInputComposite	 0x1#define VideoInputSVideo	 0x2#define VideoInputOther		 0x3#define Xtal0		 0x1#define Xtal1		 0x2#define XtalAuto	 0x3#define VideoFormatAuto		 0x0#define VideoFormatNTSC		 0x1#define VideoFormatNTSCJapan	 0x2#define VideoFormatNTSC443	 0x3#define VideoFormatPAL		 0x4#define VideoFormatPALB		 0x4#define VideoFormatPALD		 0x4#define VideoFormatPALG		 0x4#define VideoFormatPALH		 0x4#define VideoFormatPALI		 0x4#define VideoFormatPALBDGHI	 0x4#define VideoFormatPALM		 0x5#define VideoFormatPALN		 0x6#define VideoFormatPALNC	 0x7#define VideoFormatPAL60	 0x8#define VideoFormatSECAM	 0x9#define VideoFormatAuto27MHz		 0x10#define VideoFormatNTSC27MHz		 0x11#define VideoFormatNTSCJapan27MHz	 0x12#define VideoFormatNTSC44327MHz		 0x13#define VideoFormatPAL27MHz		 0x14#define VideoFormatPALB27MHz		 0x14#define VideoFormatPALD27MHz		 0x14#define VideoFormatPALG27MHz		 0x14#define VideoFormatPALH27MHz		 0x14#define VideoFormatPALI27MHz		 0x14#define VideoFormatPALBDGHI27MHz	 0x14#define VideoFormatPALM27MHz		 0x15#define VideoFormatPALN27MHz		 0x16#define VideoFormatPALNC27MHz		 0x17#define VideoFormatPAL6027MHz		 0x18#define VideoFormatSECAM27MHz		 0x19#define NominalUSECAM	 0x87#define NominalVSECAM	 0x85#define NominalUNTSC	 0xFE#define NominalVNTSC	 0xB4#define NominalContrast  0xD8#define HFilterAutoFormat	 0x0#define HFilterCIF		 0x1#define HFilterQCIF		 0x2#define HFilterICON		 0x3#define VFilter2TapInterpolate  0#define VFilter3TapInterpolate  1#define VFilter4TapInterpolate  2#define VFilter5TapInterpolate  3#define VFilter2TapNoInterpolate  4#define VFilter3TapNoInterpolate  5#define VFilter4TapNoInterpolate  6#define VFilter5TapNoInterpolate  7#define ColorFormatRGB32	 0x0000#define ColorFormatRGB24	 0x0011#define ColorFormatRGB16	 0x0022#define ColorFormatRGB15	 0x0033#define ColorFormatYUY2		 0x0044#define ColorFormatBTYUV	 0x0055#define ColorFormatY8		 0x0066#define ColorFormatRGB8		 0x0077#define ColorFormatPL422	 0x0088#define ColorFormatPL411	 0x0099#define ColorFormatYUV12	 0x00AA#define ColorFormatYUV9		 0x00BB#define ColorFormatRAW		 0x00EE#define ColorFormatBSWAP         0x0300#define ColorFormatWSWAP         0x0c00#define ColorFormatEvenMask      0x050f#define ColorFormatOddMask       0x0af0#define ColorFormatGamma         0x1000#define Interlaced		 0x1#define NonInterlaced	 	 0x0#define FieldEven		 0x1#define FieldOdd		 0x0#define TGReadWriteMode	 	 0x0#define TGEnableMode	 	 0x1#define DV_CbAlign		 0x0#define DV_Y0Align		 0x1#define DV_CrAlign		 0x2#define DV_Y1Align		 0x3#define DVF_Analog		 0x0#define DVF_CCIR656		 0x1#define DVF_ByteStream		 0x2#define DVF_ExtVSYNC		 0x4#define DVF_ExtField		 0x5#define CHANNEL_VID_Y		 0x1#define CHANNEL_VID_U		 0x2#define CHANNEL_VID_V		 0x3#define CHANNEL_VID_VBI		 0x4#define CHANNEL_AUD_DN		 0x5#define CHANNEL_AUD_UP		 0x6#define CHANNEL_AUD_RDS_DN	 0x7#define CHANNEL_MPEG_DN		 0x8#define CHANNEL_VIP_DN		 0x9#define CHANNEL_VIP_UP		 0xA#define CHANNEL_HOST_DN		 0xB#define CHANNEL_HOST_UP		 0xC#define CHANNEL_FIRST		 0x1#define CHANNEL_LAST		 0xC#define GP_COUNT_CONTROL_NONE		 0x0#define GP_COUNT_CONTROL_INC		 0x1#define GP_COUNT_CONTROL_RESERVED	 0x2#define GP_COUNT_CONTROL_RESET		 0x3#define PLL_PRESCALE_BY_2  2#define PLL_PRESCALE_BY_3  3#define PLL_PRESCALE_BY_4  4#define PLL_PRESCALE_BY_5  5#define HLNotchFilter4xFsc	 0#define HLNotchFilterSquare	 1#define HLNotchFilter135NTSC	 2#define HLNotchFilter135PAL	 3#define NTSC_8x_SUB_CARRIER  28.63636E6#define PAL_8x_SUB_CARRIER  35.46895E6// Default analog settings#define DEFAULT_HUE_NTSC			0x00#define DEFAULT_BRIGHTNESS_NTSC			0x00#define DEFAULT_CONTRAST_NTSC			0x39#define DEFAULT_SAT_U_NTSC			0x7F#define DEFAULT_SAT_V_NTSC			0x5Atypedef enum{	SOURCE_TUNER = 0,	SOURCE_COMPOSITE,	SOURCE_SVIDEO,	SOURCE_OTHER1,	SOURCE_OTHER2,	SOURCE_COMPVIASVIDEO,	SOURCE_CCIR656} VIDEOSOURCETYPE;#endif /* _CX88_REG_H_ */

⌨️ 快捷键说明

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