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

📄 tvp5150.c

📁 ZPAV (H265) DM64XX(TI) demo ZPAV (H265) 是 音视频 压缩解压 协议
💻 C
字号:

/*
///////////////////////////////////////////////////////////////////////////////
//                                                                           //
//   Copyright (C) 2006-2008  Beijing,  pengzhen  (pengzhenxp@yahoo.com.cn)  //
//                                                                           //
///////////////////////////////////////////////////////////////////////////////
*/

//#include <vport.h>
//#include <vportcap.h>
//#include <csl_edma.h>
#include <TVP5150.h> 

VPORTCAP_Params m_ViParams = {
    VPORT_MODE_BT656_8BIT, /* cmode:3  */
    VPORT_FLDOP_FRAME,     /* fldOp:3  */    //VPORT_FLDOP_FRAME  //VPORT_FLDOP_PROGRESSIVE //VPORT_FLDOP_FLD1  

    VPORT_SCALING_DISABLE, /* scale:1  */   //VPORT_SCALING_ENABLE  //VPORT_RESMPL_DISABLE 
    VPORT_RESMPL_DISABLE,  /* resmpl:1 */   //VPORT_RESMPL_ENABLE  //VPORT_RESMPL_DISABLE
    VPORTCAP_BPK_10BIT_ZERO_EXTENDED, /*bpk10Bit:2   */

    VPORTCAP_HRST_END_HBLK,  /*hCtRst:1  */
    VPORTCAP_VRST_END_VSYNC, /*vCtRst:1  */
    VPORTCAP_FLDD_DISABLE,   /*fldDect:1 */
    VPORTCAP_EXC_DISABLE,    /*extCtl:1  */   
    VPORTCAP_FINV_DISABLE,   /* fldInv:1 */
    
    8,         /*fldXStrt1 */  //704=720-8-8
    1,         /*fldYStrt1 */  
    8,         /*fldXStrt2 */  
    1,         /*fldYStrt2 */
    
    720-8-1,   /*fldXStop1 */
    288,       /*fldYStop1 */
    
    720-8-1,     /*fldXStop2 */
    288,       /*fldYStop2 */
    
    (704>>3),              /*thrld     */
    3,                     /*numFrmBufs*/
    128,                   /*alignment */
    VPORT_FLDS_MERGED,     /*mergeFlds */
    NULL,                  /*segId     */            
    EDMA_OPT_PRI_HIGH,     /*edmaPri   */
    8,                     /* irqId    */ 
};

VPORT_PortParams EVMDM642_vCapParamsPort = {
    FALSE,                       /*  enableDualChan;     */ 
    VPORT_POLARITY_ACTIVE_HIGH, /* vport control pin 1 polarity    */
    VPORT_POLARITY_ACTIVE_HIGH, /* vport control pin 2 polarity    */
    VPORT_POLARITY_ACTIVE_HIGH, /* vport control pin 3 polarity    */
    &TVP5150_Fxns,
    INV,
};    

TVP5150_ConfParams m_ViTVP5150 = {
  TVP5150_AFMT_COMPOSITE,
  INV,                   /*handleI2C */
};    


⌨️ 快捷键说明

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