?? ov9650.h
字號:
/*
*
* MX21 OV9650 Driver
*
* cliff.wong@motorola.com3
* 16 Jun, 04
*/
typedef struct
{
int color_format;
int vert_mirror;
int hori_mirror;
int out_width;
int out_height;
int test_pattern_enable;
//0: off, 1: color bar, 2: black, 3: white, 4: gray
int gain_green1;
int gain_blue;
int gain_red;
int gain_green2;
int gain_global;
//gains -- scaled up by SCALEFAC to avoid using floating point
//i.e. 1.0->100
int gamma;
//gamma -- scaled up by SCALEFAC to avoid using floating point
//i.e. 1.0->100
int sharpening;
//sharpening percentage -- 0, 25, 50, 75, 100, 125, 150, 200
int colorsat;
//UV color saturation percentage -- 0, 25, 50, 75, 100, 150, -1(black & white)
int awb_left;
int awb_right;
int awb_top;
int awb_bottom;
int fps;
//frame rate: 0 = disable, i.e. variable frame rate
} OV9650_CFG;
#define SCALEFAC 100
//scale factor -- scaled up by SCALEFAC times to avoid using floating point
//i.e. 1.0->100
#ifndef YUV
#define YUV 1
#endif
#ifndef RGB
#define RGB 0
#endif
//contro commands
#define OV9650_IOC_CONFIG 10
#define OV9650_IOC_I2C_TEST 11
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -