?? drvparams.c
字號:
///////////////////////////////////
//FILE NAME:
//
//
///////////////////////////////////
#include <vport.h>
#include <vportcap.h>
#include <jpegdec.h>
#include <csl_edma.h>
#include <csl_dat.h>
#include <tsk.h>
#include <JpgDecvcapparams.h>
//extern EDC_Fxns TE3320_Fxns;
VPORTCAP_Params JPEGDEC_vCapParamsChan = {
VPORT_MODE_YCBCR_8BIT, /* cmode:4 */
VPORT_FLDOP_PROGRESSIVE, /* fldOp:3 */
VPORT_SCALING_DISABLE, /* scale:1 */
VPORT_RESMPL_DISABLE, /* resmpl:1 */
VPORTCAP_BPK_10BIT_ZERO_EXTENDED, /*bpk10Bit:2 */
VPORTCAP_HRST_END_HSYNC, /*hCtRst:1 ??*/
VPORTCAP_VRST_END_VSYNC, /*vCtRst:1 ??*/
VPORTCAP_FLDD_DISABLE, /*fldDect:1 */
VPORTCAP_EXC_ENABLE, /*extCtl:1 */
VPORTCAP_FINV_DISABLE, /* fldInv:1 */
0, /*fldXStrt1 ??*/
1, /*fldYStrt1 ??*/
0, /*fldXStrt2 */
1, /*fldYStrt2 */
LINE_SZ-1, /*fldXStop1 ??*/
NUM_LINES, /*fldYStop1 ??*/
LINE_SZ, /*fldXStop2 */
NUM_LINES, /*fldYStop2 */
(LINE_SZ>>3), /*thrld ?? */
3, /*numFrmBufs*/
8, /*alignment */
VPORT_FLDS_SEPARATED, /*mergeFlds ??*/
NULL, /*segId */
EDMA_OPT_PRI_HIGH, /*edmaPri */
8
};
VPORT_PortParams JPEGDEC_vCapParamsPort = {
FALSE, /* enableDualChan; */
VPORT_POLARITY_ACTIVE_LOW, /* vport control pin 1 polarity ??*/
VPORT_POLARITY_ACTIVE_LOW, /* vport control pin 2 polarity ?? */
VPORT_POLARITY_ACTIVE_HIGH, /* vport control pin 3 polarity */
&TE3320_Fxns,
INV,
};
TE3320_ConfParams JPEGDEC_vCapParamsTE3320 = {
0x0804, /*MODE:little endian,32bits*/
0x00C6, /*CNTL:54MHz pixel clock,single output*/
0x0005, /*MCNT1:row addr= 12bits,column addr = 9bits*/
0x00D2, /*MCNT2:SDRAM 8K refresh frequency*/
0x0000, /*IFACT:*/
0xFFFF, /*IMASK:decode processing complete,and one image expansion complete*/
0x0100, /*Y2RP1:*/
0x0000,
0x0167,
0x0100,
0x0258,
0x02B7,
0x0100,
0x01C6,
0x0000,
0x0190, /*H_BLANK:XXX pixels*/
0x0096, /*V_BLANK:XXX Hsync*/
0x0000, /*Y_VALUE:*/
0x0000, /*X_VALUE:*/
0x0000, /*J_FORMAT*/
0x0000, /*J_DIS_MODE:*/
0x0000, /*VERSION:*/
0x0000 /*soft reset*/
};
Uint32 * pJpgbuf = NULL;
int len4Jpgdw = 0;
SEM_Handle hSem4Sendjpg = NULL;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -