📄 test.c
字号:
//// Testing // Verify the number of bytes per frame is correct//void TestFrameSize(void){ U32 count; //Module init CSI_init(); standby_disable(); sensor_reset(); //count on number of bytes per VGA frame IM8803_VGA_init(); count = GetFrameSize(); printk("VGA frame size = %d\n", count); //count on number of bytes per QVGA frame (subsampling) sensor_reset(); IM8803_QVGA_init(); count = GetFrameSize(); printk("QVGA frame size = %d\n", count); //count on number of bytes per QVGA frame (WOI) sensor_reset(); IM8803_QVGA_init4(); count = GetFrameSize(); printk("QVGA frame size = %d\n", count); //count on number of bytes per QQVGA frame sensor_reset(); IM8803_QQVGA_init(); count = GetFrameSize(); printk("QQVGA frame size = %d\n", count); while (1); return;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -