⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ov2640.h

📁 ov2640驱动开发
💻 H
字号:
/* ovpxacamera - header file for ov2640 driver 
 *	
 * Copyrith (c) 2006, OmniVision
 * 	
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 2 of the License, or (at your
 * option) any later version. NO WARRANTY OF ANY KIND is expressed or implied.
 *
 * OmniVision is a trademark of OmniVision Technologies, Inc. 
 *
 *  Version 1.00   Jun.30.2006   david zhu
 *					      david@ovt.com.cn
 */ 

#ifndef _LINUX_OV2640_H_
#define _LINUX_OV2640_H_

#define OV2640_MAX_WIDTH	1600
#define OV2640_MAX_HEIGHT	1200

#define OV2640_MAXLEVEL_BRIGHTNESS	8
#define OV2640_MAXLEVEL_CONTRAST		8
#define OV2640_MAXLEVEL_SHARPNESS	6
#define OV2640_MAXLEVEL_SATURATION 	8
#define OV2640_MAXLEVEL_HUE 			4
#define OV2640_MAXLEVEL_WHITEBALANCE	4
#define OV2640_MAXLEVEL_SPECIALEFFECT	6

#define OV2640_MAXLEVEL_FRAMERATE	15

#define OV2640_MAXLEVEL_ZOOM			22

int camerachip_ip_init( void );

int camerachip_ip_set_format(unsigned int width, unsigned int height, int format);
int camerachip_ip_stream_on( void );
int camerachip_ip_stream_off( void );

int camerachip_ip_flip( int flip );
int camerachip_ip_mirror( int mirror );

int camerachip_ip_brightness(  int brightness );
int camerachip_ip_sharpness(  int sharpness );
int camerachip_ip_hue(  int brightness );
int camerachip_ip_saturation(  int saturation );
int camerachip_ip_contrast(  int contrast );
int camerachip_ip_specialeffect(  int specialeffect );
int camerachip_ip_gamma(  int gamma );

int camerachip_ip_whitebalance( int whitebalance  );
int camerachip_ip_framerate(  int framerate );
int camerachip_ip_lightfrequency( int lightfrequency );

int camerachip_ip_zoom( u8 zoom );

int camerachip_ip_debug( void );

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -