?? dm642_vcapparamscif.c
字號(hào):
/* ======================================================================== */
/* NAME */
/* dm642_vcapparamsCIF.c */
/* DESCRIPTION */
/* This file contains configuration parameters of video capture port. */
/* QCIF: 176*144 */
/* CIF : 352*288 */
/* 4CIF: 704*576 */
/* "@(#) DDK 1.10.00.21 06-26-03 (ddk-b10)" */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2004 Wintech Digital System Technology Corp. */
/* All Rights Reserved. */
/* ======================================================================== */
#include <vport.h>
#include <vportcap.h>
#include <tvp5150a.h>
#include <csl_edma.h>
#include "dm642_vcapparams.h"
#define LINE_SZ 720
#define NUM_LINES 288
VPORTCAP_Params EVMDM642_vCapParamsChan = {
VPORT_MODE_BT656_8BIT, /* cmode:3 */
VPORT_FLDOP_FRAME,/*VPORT_FLDOP_FLD1, */ /* fldOp:3 */
VPORT_SCALING_DISABLE, /* scale:1 */
VPORT_RESMPL_DISABLE, /* resmpl:1 */
VPORTCAP_BPK_10BIT_ZERO_EXTENDED, /*bpk10Bit:2 */
VPORTCAP_HRST_SAV, /*hCtRst:1 */
VPORTCAP_VRST_END_VBLK,//VPORTCAP_VRST_EAV_V0, /*vCtRst:1 */
VPORTCAP_FLDD_ENABLE, /*fldDect:1 */
VPORTCAP_EXC_DISABLE, /*extCtl:1 */
VPORTCAP_FINV_ENABLE, /* fldInv:1 */
0, /*fldXStrt1 */
1, /*fldYStrt1 */
0, /*fldXStrt2 */
1, //15, /*fldYStrt2 */
LINE_SZ-1, /*fldXStop1 */
NUM_LINES, //+14, /*fldYStop1 */
LINE_SZ-1, /*fldXStop2 */
NUM_LINES, //+14, /*fldYStop2 */
(LINE_SZ>>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_LOW, /* vport control pin 1 polarity */
VPORT_POLARITY_ACTIVE_LOW, /* vport control pin 2 polarity */
VPORT_POLARITY_ACTIVE_LOW, /* vport control pin 3 polarity */
&TVP5150A_Fxns,
INV,
};
TVP5150A_ConfParams EVMDM642_vCapParamsTVP5150A = {
//TVP5150A_MODE_NTSC720,
TVP5150A_MODE_PAL601,//TVP5150A_MODE_PAL720,
TVP5150A_AFMT_COMPOSITE,
// TRUE,
TRUE,
INV
};
/* ======================================================================== */
/* End of file: dm642_vcapparamsCIF.c */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2004 Wintech Digital System Technology Corp. */
/* All Rights Reserved. */
/* ======================================================================== */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -