📄 ime9650_init.c
字号:
/*
* Copyright 2004 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
#include "IME9650_init.h"
/*
Initialize the EDC configuration structure for Capture
*/
void IME9650_configCapParams(VPORTCAP_Params *chan, IME9650_Params *params, Uint16 sizeID, Uint16 rowsize, Uint16 colsize, Uint16 horizblank, Uint16 vertblank, Uint16 shutterwidth)
{
params->sizeID=sizeID;
params->rowsize = rowsize-1;
params->colsize = colsize-1;
params->horizblank = horizblank;
params->vertblank = vertblank;
params->shutterwidth = shutterwidth;
chan->fldXStop1 = colsize - 1;
chan->fldYStop1 = rowsize<<1;
chan->fldXStop2 = colsize - 1;
chan->fldYStop2 = rowsize<<1;
chan->thrld = (colsize);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -