I am following the main.cpp generated by the ISP tutorial settings.
/*
* main implementation: use this 'C' sample to create your own application
*
*/
#include "oal.h"
#include "isp_gen.h"
#include "isp_user_define.h"
#include "ov10635_surround_c.h"
int main(int, char **)
{
/* OAL initialization */
OAL_Initialize();
/**********************************************************************
The ISP_CALL is placeholder for calling the graph.
The definition of ISP_CALL is generated by graph tool to perform
all the manipulations with created process.
The user can change this code using other methods for process manipulation
generated by graph tool.
**********************************************************************/
ISP_CALL();
return 0;
}
/**********************************************************************
The io_config is placeholder for calling the initialization of Input/Output.
io_config is called from the code generated by graph tool.
The user should add the code to execute all steps to initialize
DDR buffers.
**********************************************************************/
void io_config(sdi_grabber *lpGrabber)
{
/* Insert the code to initialize DDR buffers */
sdi_FdmaIO *lpFdma = (sdi_FdmaIO*)lpGrabber->IoGet(SEQ_OTHRIX_FDMA);
SDI_ImageDescriptor lFrmDesc = SDI_ImageDescriptor(WIDTH_DDR, HEIGHT_DDR, RGB888);
lpFdma->DdrBufferDescSet(FDMA_IX_FDMA1, lFrmDesc);
lpFdma->DdrBuffersAlloc(FDMA_IX_FDMA1, DDR_OUT_BUFFER_CNT);
}
/**********************************************************************
The camera_config is placeholder for calling the initialization of camera.
camera_config is called from the code generated by graph tool.
The user should add the code to execute all steps to initialize
the camera installed in his board.
**********************************************************************/
void camera_config()
{
/* Insert the code to initialize the camera */
}
But it can't be used. Do you need to fill in the functions inside? Where can I find these fills? Configuration of ov10640.