main.c
来自「此程序是在blackfin下实现的摄像头程序」· C语言 代码 · 共 30 行
C
30 行
#include "bf5xx.h"
#include <types.h>
uint8_t Sensor_Reg[SENSOR_REG_SIZE];
section ("sdram0")volatile uint16_t VideoInputFrame[LINES_PER_FRAME][PIXEL_PER_LINE];
volatile uint16_t *pDestAddr = &VideoInputFrame[0][0];
/****************************************************************************
* 名称 :main
* 功能 :初始化各函数,实现图象捕捉
****************************************************************************/
int main()
{
int in_loop = 1;
Init_EBIU();
Init_Platform();
printf( "\nPlatform initialize success!\n" );
Init_Po3030();
printf( "\nPo3030 initialize success!\n" );
Video_Frame_Capture( (void*) pDestAddr );
while(in_loop);
return 0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?