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

📄 hammerhead_registers.h

📁 完整的基于Conxant平台的USB电视棒的WIN驱动程序。
💻 H
📖 第 1 页 / 共 5 页
字号:

//*****************************************************************************
const DWORD VSCALE_CTRL              = 0x41C;
const DWORD FLD_LINE_AVG_DIS         = 0x01000000;
// Reserved [23:20]
const DWORD FLD_VS_INTRLACE          = 0x00080000;
const DWORD FLD_VFILT                = 0x00070000;
// Reserved [15:13]
const DWORD FLD_VSCALE               = 0x00001FFF;

//*****************************************************************************
const DWORD CHROMA_CTRL              = 0x420;
const DWORD USAT_CTRL_BYTE           = 0x420;
const DWORD VSAT_CTRL_BYTE           = 0x421;
const DWORD HUE_CTRL_BYTE            = 0x422;
const DWORD FLD_C_LPF_EN             = 0x20000000;
const DWORD FLD_CHR_DELAY            = 0x1C000000;
const DWORD FLD_C_CORE_SEL           = 0x03000000;
const DWORD FLD_HUE                  = 0x00FF0000;
const DWORD FLD_VSAT                 = 0x0000FF00;
const DWORD FLD_USAT                 = 0x000000FF;

//*****************************************************************************
const DWORD VBI_LINE_CTRL1           = 0x424;
const DWORD FLD_VBI_MD_LINE4         = 0xFF000000;
const DWORD FLD_VBI_MD_LINE3         = 0x00FF0000;
const DWORD FLD_VBI_MD_LINE2         = 0x0000FF00;
const DWORD FLD_VBI_MD_LINE1         = 0x000000FF;

//*****************************************************************************
const DWORD VBI_LINE_CTRL2           = 0x428;
const DWORD FLD_VBI_MD_LINE8         = 0xFF000000;
const DWORD FLD_VBI_MD_LINE7         = 0x00FF0000;
const DWORD FLD_VBI_MD_LINE6         = 0x0000FF00;
const DWORD FLD_VBI_MD_LINE5         = 0x000000FF;

//*****************************************************************************
const DWORD VBI_LINE_CTRL3           = 0x42C;
const DWORD FLD_VBI_MD_LINE12        = 0xFF000000;
const DWORD FLD_VBI_MD_LINE11        = 0x00FF0000;
const DWORD FLD_VBI_MD_LINE10        = 0x0000FF00;
const DWORD FLD_VBI_MD_LINE9         = 0x000000FF;

//*****************************************************************************
const DWORD VBI_LINE_CTRL4           = 0x430;
const DWORD FLD_VBI_MD_LINE16        = 0xFF000000;
const DWORD FLD_VBI_MD_LINE15        = 0x00FF0000;
const DWORD FLD_VBI_MD_LINE14        = 0x0000FF00;
const DWORD FLD_VBI_MD_LINE13        = 0x000000FF;

//*****************************************************************************
const DWORD VBI_LINE_CTRL5           = 0x434;
const DWORD FLD_VBI_MD_LINE17        = 0x000000FF;

//*****************************************************************************
const DWORD VBI_FC_CFG               = 0x438;
const DWORD FLD_FC_ALT2              = 0xFF000000;
const DWORD FLD_FC_ALT1              = 0x00FF0000;
const DWORD FLD_FC_ALT2_TYPE         = 0x0000F000;
const DWORD FLD_FC_ALT1_TYPE         = 0x00000F00;
// Reserved [7:1]
const DWORD FLD_FC_SEARCH_MODE       = 0x00000001;

//*****************************************************************************
const DWORD VBI_MISC_CFG1            = 0x43C;
const DWORD FLD_TTX_PKTADRU          = 0xFFF00000;
const DWORD FLD_TTX_PKTADRL          = 0x000FFF00;
// Reserved [7:6]
const DWORD FLD_MOJI_PACK_DIS        = 0x00000020;
const DWORD FLD_VPS_DEC_DIS          = 0x00000010;
const DWORD FLD_CRI_MARG_SCALE       = 0x0000000C;
const DWORD FLD_EDGE_RESYNC_EN       = 0x00000002;
const DWORD FLD_ADAPT_SLICE_DIS      = 0x00000001;

//*****************************************************************************
const DWORD VBI_MISC_CFG2            = 0x440;
const DWORD FLD_HAMMING_TYPE         = 0x0F000000;
// Reserved [23:20]
const DWORD FLD_WSS_FIFO_RST         = 0x00080000;
const DWORD FLD_GS2_FIFO_RST         = 0x00040000;
const DWORD FLD_GS1_FIFO_RST         = 0x00020000;
const DWORD FLD_CC_FIFO_RST          = 0x00010000;
// Reserved [15:12]
const DWORD FLD_VBI3_SDID            = 0x00000F00;
const DWORD FLD_VBI2_SDID            = 0x000000F0;
const DWORD FLD_VBI1_SDID            = 0x0000000F;

//*****************************************************************************
const DWORD VBI_PAY1                 = 0x444;
const DWORD FLD_GS1_FIFO_DAT         = 0xFF000000;
const DWORD FLD_GS1_STAT             = 0x00FF0000;
const DWORD FLD_CC_FIFO_DAT          = 0x0000FF00;
const DWORD FLD_CC_STAT              = 0x000000FF;

//*****************************************************************************
const DWORD VBI_PAY2                 = 0x448;
const DWORD FLD_WSS_FIFO_DAT         = 0xFF000000;
const DWORD FLD_WSS_STAT             = 0x00FF0000;
const DWORD FLD_GS2_FIFO_DAT         = 0x0000FF00;
const DWORD FLD_GS2_STAT             = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST1_CFG1           = 0x44C;
// Reserved [31]
const DWORD FLD_VBI1_CRIWIN          = 0x7F000000;
const DWORD FLD_VBI1_SLICE_DIST      = 0x00F00000;
const DWORD FLD_VBI1_BITINC          = 0x000FFF00;
const DWORD FLD_VBI1_HDELAY          = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST1_CFG2           = 0x450;
const DWORD FLD_VBI1_FC_LENGTH       = 0x1F000000;
const DWORD FLD_VBI1_FRAME_CODE      = 0x00FFFFFF;

//*****************************************************************************
const DWORD VBI_CUST1_CFG3           = 0x454;
const DWORD FLD_VBI1_HAM_EN          = 0x80000000;
const DWORD FLD_VBI1_FIFO_MODE       = 0x70000000;
const DWORD FLD_VBI1_FORMAT_TYPE     = 0x0F000000;
const DWORD FLD_VBI1_PAYLD_LENGTH    = 0x00FF0000;
const DWORD FLD_VBI1_CRI_LENGTH      = 0x0000F000;
const DWORD FLD_VBI1_CRI_MARGIN      = 0x00000F00;
const DWORD FLD_VBI1_CRI_TIME        = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST2_CFG1           = 0x458;
// Reserved [31]
const DWORD FLD_VBI2_CRIWIN          = 0x7F000000;
const DWORD FLD_VBI2_SLICE_DIST      = 0x00F00000;
const DWORD FLD_VBI2_BITINC          = 0x000FFF00;
const DWORD FLD_VBI2_HDELAY          = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST2_CFG2           = 0x45C;
const DWORD FLD_VBI2_FC_LENGTH       = 0x1F000000;
const DWORD FLD_VBI2_FRAME_CODE      = 0x00FFFFFF;

//*****************************************************************************
const DWORD VBI_CUST2_CFG3           = 0x460;
const DWORD FLD_VBI2_HAM_EN          = 0x80000000;
const DWORD FLD_VBI2_FIFO_MODE       = 0x70000000;
const DWORD FLD_VBI2_FORMAT_TYPE     = 0x0F000000;
const DWORD FLD_VBI2_PAYLD_LENGTH    = 0x00FF0000;
const DWORD FLD_VBI2_CRI_LENGTH      = 0x0000F000;
const DWORD FLD_VBI2_CRI_MARGIN      = 0x00000F00;
const DWORD FLD_VBI2_CRI_TIME        = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST3_CFG1           = 0x464;
// Reserved [31]
const DWORD FLD_VBI3_CRIWIN          = 0x7F000000;
const DWORD FLD_VBI3_SLICE_DIST      = 0x00F00000;
const DWORD FLD_VBI3_BITINC          = 0x000FFF00;
const DWORD FLD_VBI3_HDELAY          = 0x000000FF;

//*****************************************************************************
const DWORD VBI_CUST3_CFG2           = 0x468;
const DWORD FLD_VBI3_FC_LENGTH       = 0x1F000000;
const DWORD FLD_VBI3_FRAME_CODE      = 0x00FFFFFF;

//*****************************************************************************
const DWORD VBI_CUST3_CFG3           = 0x46C;
const DWORD FLD_VBI3_HAM_EN          = 0x80000000;
const DWORD FLD_VBI3_FIFO_MODE       = 0x70000000;
const DWORD FLD_VBI3_FORMAT_TYPE     = 0x0F000000;
const DWORD FLD_VBI3_PAYLD_LENGTH    = 0x00FF0000;
const DWORD FLD_VBI3_CRI_LENGTH      = 0x0000F000;
const DWORD FLD_VBI3_CRI_MARGIN      = 0x00000F00;
const DWORD FLD_VBI3_CRI_TIME        = 0x000000FF;

//*****************************************************************************
const DWORD HORIZ_TIM_CTRL           = 0x470;
const DWORD FLD_BGDEL_CNT            = 0xFF000000;
// Reserved [23:22]
const DWORD FLD_HACTIVE_CNT          = 0x003FF000;
// Reserved [11:10]
const DWORD FLD_HBLANK_CNT           = 0x000003FF;

//*****************************************************************************
const DWORD VERT_TIM_CTRL            = 0x474;
const DWORD FLD_V656BLANK_CNT        = 0xFF000000;
// Reserved [23:22]
const DWORD FLD_VACTIVE_CNT          = 0x003FF000;
// Reserved [11:10]
const DWORD FLD_VBLANK_CNT           = 0x000003FF;

//*****************************************************************************
const DWORD SRC_COMB_CFG             = 0x478;
const DWORD FLD_CCOMB_2LN_CHECK      = 0x80000000;
const DWORD FLD_CCOMB_3LN_EN         = 0x40000000;
const DWORD FLD_CCOMB_2LN_EN         = 0x20000000;
const DWORD FLD_CCOMB_3D_EN          = 0x10000000;
// Reserved [27]
const DWORD FLD_LCOMB_3LN_EN         = 0x04000000;
const DWORD FLD_LCOMB_2LN_EN         = 0x02000000;
const DWORD FLD_LCOMB_3D_EN          = 0x01000000;
const DWORD FLD_LUMA_LPF_SEL         = 0x00C00000;
const DWORD FLD_UV_LPF_SEL           = 0x00300000;
const DWORD FLD_BLEND_SLOPE          = 0x000F0000;
const DWORD FLD_CCOMB_REDUCE_EN      = 0x00008000;
// Reserved [14:10]
const DWORD FLD_SRC_DECIM_RATIO      = 0x000003FF;

//*****************************************************************************
const DWORD CHROMA_VBIOFF_CFG        = 0x47C;
const DWORD FLD_VBI_VOFFSET          = 0x1F000000;
// Reserved [23:20]
const DWORD FLD_SC_STEP              = 0x000FFFFF;

//*****************************************************************************
const DWORD FIELD_COUNT              = 0x480;
const DWORD FLD_FIELD_COUNT_FLD      = 0x000003FF;

//*****************************************************************************
const DWORD MISC_TIM_CTRL            = 0x484;
const DWORD FLD_DEBOUNCE_COUNT       = 0xC0000000;
const DWORD FLD_VT_LINE_CNT_HYST     = 0x30000000;
// Reserved [27]
const DWORD FLD_AFD_STAT             = 0x07FF0000;
const DWORD FLD_VPRES_VERT_EN        = 0x00008000;
// Reserved [14:12]
const DWORD FLD_HR32                 = 0x00000800;
const DWORD FLD_TDALGN               = 0x00000400;
const DWORD FLD_TDFIELD              = 0x00000200;
// Reserved [8:6]
const DWORD FLD_TEMPDEC              = 0x0000003F;

//*****************************************************************************
const DWORD DFE_CTRL1                = 0x488;
const DWORD FLD_CLAMP_AUTO_EN        = 0x80000000;
const DWORD FLD_AGC_AUTO_EN          = 0x40000000;
const DWORD FLD_VGA_CRUSH_EN         = 0x20000000;
const DWORD FLD_VGA_AUTO_EN          = 0x10000000;
const DWORD FLD_VBI_GATE_EN          = 0x08000000;
const DWORD FLD_CLAMP_LEVEL          = 0x07000000;
// Reserved [23:22]
const DWORD FLD_CLAMP_SKIP_CNT       = 0x00300000;
const DWORD FLD_AGC_GAIN             = 0x000FFF00;
// Reserved [7:6]
const DWORD FLD_VGA_GAIN             = 0x0000003F;

//*****************************************************************************
const DWORD DFE_CTRL2                = 0x48C;
const DWORD FLD_VGA_ACQUIRE_RANGE    = 0x00FF0000;
const DWORD FLD_VGA_TRACK_RANGE      = 0x0000FF00;
const DWORD FLD_VGA_SYNC             = 0x000000FF;

//*****************************************************************************
const DWORD DFE_CTRL3                = 0x490;
const DWORD FLD_BP_PERCENT           = 0xFF000000;
const DWORD FLD_DFT_THRESHOLD        = 0x00FF0000;
// Reserved [15:12]
const DWORD FLD_SYNC_WIDTH_SEL       = 0x00000600;
const DWORD FLD_BP_LOOP_GAIN         = 0x00000300;
const DWORD FLD_SYNC_LOOP_GAIN       = 0x000000C0;
// Reserved [5:4]
const DWORD FLD_AGC_LOOP_GAIN        = 0x0000000C;
const DWORD FLD_DCC_LOOP_GAIN        = 0x00000003;

//*****************************************************************************
const DWORD PLL_CTRL                 = 0x494;
const DWORD FLD_PLL_KD               = 0xFF000000;
const DWORD FLD_PLL_KI               = 0x00FF0000;
const DWORD FLD_PLL_MAX_OFFSET       = 0x0000FFFF;


//*****************************************************************************
const DWORD HTL_CTRL                 = 0x498;
// Reserved [31:24]
//const DWORD FLD_VCR_DET_LIMIT        = 0x00F00000;
const DWORD FLD_AUTO_LOCK_SPD        = 0x00080000;
const DWORD FLD_MAN_FAST_LOCK        = 0x00040000;
const DWORD FLD_HTL_15K_EN           = 0x00020000;
const DWORD FLD_HTL_500K_EN          = 0x00010000;
const DWORD FLD_HTL_KD               = 0x0000FF00;
const DWORD FLD_HTL_KI               = 0x000000FF;

//*****************************************************************************
const DWORD COMB_CTRL                = 0x49C;
const DWORD FLD_COMB_PHASE_LIMIT     = 0xFF000000;
const DWORD FLD_CCOMB_ERR_LIMIT      = 0x00FF0000;
const DWORD FLD_LUMA_THRESHOLD       = 0x0000FF00;
const DWORD FLD_LCOMB_ERR_LIMIT      = 0x000000FF;

//*****************************************************************************
const DWORD CRUSH_CTRL               = 0x4A0;

⌨️ 快捷键说明

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