?? camera.c
字號:
/************************************************ * Camera utilities interface --Ingeic ************************************************/#include "camera.h"#include "jz4740.h"//#ifndef NULL//#define NULL 0//#endif//extern void black_white_negative_mode (void);extern void negative_mode (void);extern void antique_mode (void);extern void black_white_mode (void);extern void normal_mode (void);extern void de_night_mode(void);extern void de_night_mode(void);//extern void init_sensor(void);/* Init and open camera */void camera_open(img_param_t *img){ cim_init(img); udelay(100); init_sensor(img); cim_start();}/* Close camera */void camera_close(void){ cim_close();}/* Disable CIM modules and stop to capture data */void camera_pause(void) { cim_stop();}/* Cotinue to capture data from sensor */void camera_continue(void) { cim_start();}/* Camera enter night mode*/void enter_night_mode(void) { cim_stop(); night_mode(); cim_start();}/* Camera exit night mode*/void exit_night_mode(void) { cim_stop(); de_night_mode(); cim_start();}/* Camera enter normal mode*/void enter_normal_mode(void) { cim_stop(); normal_mode(); cim_start();}/* Camera enter black & white mode*/void enter_black_white_mode(void) { cim_stop(); black_white_mode(); cim_start();}/* Camera enter antique mode*/void enter_antique_mode(void) { cim_stop(); antique_mode(); cim_start();}/* Camera enter negative mode*/void enter_negative_mode(void) { cim_stop(); negative_mode(); cim_start();}/* Camera enter black & white negative mode*//*void enter_black_white_negative_mode(void) { cim_stop(); black_white_negative_mode(); cim_start();}*/
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -