|
哪位大侠搞个WINDOWS智能机的CAMERA,麻烦指点一下:
void ov5640::ov5640_Init(IMG_TYPE eSrcFmt, DWORD CamImgWidth, DWORD CamImgHeight, int eCSISDataLaneNum)
这个函数是否是Camera CPU部分的init?
MODULE_STATUS ov5640::InitSensor()
{
DBGMSG(CAMC_FUNC, (_T("[%s] %s\r\n"), MODULE_NAME, _T(__FUNCTION__)));
OutputDebugString(L"Sensor Driver........init Sensor\r\n"); //no here at all
m_oCommIF->Open(CAMERA_WRITE_ADDRESS, IIC_CLOCK);
DBGMSG(CAMC_FUNC, (_T("Write Init Command to Module\r\n")));
m_oCommIF->WriteRegisterSeq(ov5640_init_reg);
m_oCommIF->WriteRegisterSeq(ov5640_sleep_reg);
m_oCommIF->WriteRegisterSeq(ov5640_wakeup_reg);
m_oCommIF->Close();
return MOD_STATUS_SUCCESS;
}
这部分是外挂CAMERA I2C 的处理吗?但我得TRACE 显示没跑这一段啊!
本文来自:我爱研发网(52RD.com) - R&D大本营
详细出处:http://www.52rd.com/bbs/Post.asp?Action=new&BoardID=15 |
|