资源简介
网上买的imx290驱动,用在海思3516D平台,imx291和290驱动是一样的
代码片段和文件信息
#if !defined(__IMX290_CMOS_H_)
#define __IMX290_CMOS_H_
#include
#include
#include
#include “hi_comm_sns.h“
#include “hi_comm_video.h“
#include “hi_sns_ctrl.h“
#include “mpi_isp.h“
#include “mpi_ae.h“
#include “mpi_awb.h“
#include “mpi_af.h“
#include “imx290_def.h“
#ifdef __cplusplus
#if __cplusplus
extern “C“{
#endif
#endif /* End of #ifdef __cplusplus */
#define IMX290_ID 290
/****************************************************************************
* local variables *
****************************************************************************/
#define FULL_LINES_MAX (0x3FFFF)
#define SHS1_ADDR (0x220)
#define SHS2_ADDR (0x224)
#define GAIN_ADDR (0x214)
#define HCG_ADDR (0x209)
#define VMAX_ADDR (0x218)
#define HMAX_ADDR (0x21c)
#define RHS1_ADDR (0x230)
#define VMAX_IMX290_1080P30_LINE (1133)
#define VMAX_IMX290_1080P60_LINE (1125)
#define VMAX_IMX290_720P120_LINE (750)
#define VMAX_IMX290_720P60_WDR (750)
#if SENSOR_IMX290_LINE_WDR_12BIT
#define VMAX_IMX290_1080P30_WDR (1125)
#else
#define VMAX_IMX290_1080P30_WDR (1190)
#endif
static HI_U32 gu32BRL = 1109;
static HI_U32 gu32RHS1_Max = (VMAX_IMX290_1080P30_WDR - 1109) * 2 - 21;
static HI_BOOL bInit = HI_FALSE;
HI_BOOL bSensorInit = HI_FALSE;
static HI_U32 gu32FullLinesStd = VMAX_IMX290_1080P30_LINE;
static HI_U32 gu32FullLines = VMAX_IMX290_1080P30_LINE;
static HI_U32 gu32PreFullLines = VMAX_IMX290_1080P30_LINE;
WDR_MODE_E genSensorMode = WDR_MODE_NONE;
HI_U8 gu8SensorImageMode = SENSOR_IMX290_1080P_30FPS_MODE;
static HI_U8 gu8HCGReg = 0x01;
static HI_BOOL gbFPSUp = HI_FALSE;
static HI_BOOL gbVMAXDelay = HI_FALSE;
ISP_SNS_REGS_INFO_S g_stSnsRegsInfo = {0};
ISP_SNS_REGS_INFO_S g_stPreSnsRegsInfo = {0};
static HI_U32 au32WDRIntTime[2] = {0};
#define PATHLEN_MAX 256
#define CMOS_CFG_INI “imx290_cfg.ini“
static char pcName[PATHLEN_MAX] = “configs/imx290_cfg.ini“;
/* 2to1 WDR*/
static ISP_AE_ROUTE_EX_S gstAERouteExAttr =
{
14
{
{2 1024 1024 1024 0}
{9 1024 1024 1024 0} //for ghost
{9 3584 1024 1024 0}
{43 3584 1024 1024 0} //for flicker
{43 5120 1024 1024 0}
{65536 5120 1024 1024 0} //for noise
{65536 5120 1024 4096 0}
{65536 10240 1024 4096 0} //balance sensor input and isp gain
{65536 10240 1024 8192 0}
{65536 14336 1024 8192 0}
{65536 14336 1024 10240 0}
{65536 32768 1024 10240 0}
{65536 32768 1024 16384 0}
{65536 8153234 1024 16384 0}
}
};
static HI_S32 cmos_get_ae_default(AE_SENSOR_DEFAULT_S *pstAeSnsDft)
{
if (HI_NULL == pstAeSnsDft)
{
printf(“null pointer when get ae default value!\n“);
return -1;
}
pstAeSnsDft->u32LinesPer500ms = gu32FullLinesStd * 30 / 2;
pstAeSnsDft->u32FullLinesStd = gu32FullLinesStd
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1409214 2017-01-05 10:26 imx290\IMX290LQR-C_TechnicalDatasheet_E_Rev0.7.0.pdf
文件 791188 2017-01-05 10:26 imx290\IMX290LQR_IMX291LQR_SupportPackage_(E)_Rev.2.0.pdf
....... 59658 2016-01-06 14:17 imx290\sony_imx290\imx290_cmos.c
....... 662 2015-07-20 11:23 imx290\sony_imx290\imx290_def.h
....... 25459 2015-07-20 13:58 imx290\sony_imx290\imx290_sensor_ctl.c
文件 1614 2015-05-05 21:42 imx290\sony_imx290\Makefile
文件 16800 2017-01-05 10:26 imx290\sony_imx290.rar
文件 0 2017-01-05 10:28 imx290\密码 jovision.txt
目录 0 2017-01-05 10:28 imx290\sony_imx290
目录 0 2017-01-05 15:21 imx290
----------- --------- ---------- ----- ----
2304595 10
相关资源
- 索尼IMX290LQR-C规格书datasheet及设计指南
- imx290-302-305-265-285-327-385-sensor手册.ra
- Hi3518EV20X/Hi3516CV200经济型HD IP Camera
- 海思 hi 3516 ev100的开发详细文档
- Hi3516AV100_xxxSPC070最新版SDK开发包
- IMX291-DataSheet
- 海思 hi3516C v300 PQTools_V4.14.1 isp调试
- 华为海思 HI3516A Soc datasheet
- Hi3516CV300 专业型HD IP Camera Soc用户指南
- Hi3516 SDK 中文文档.rar
- 海思Hi3516dv300芯片用户指南中文
- hi3516a uart1 转rs485
- Hi3516DV300SDK链接.txt
- Hi3516AV200和Hi3519V101最新sdk Hi3519_V10
- Hi3516C V300R001C01SPC002 SDK开发包
- sony IMX290 driver (SPI)
- Hi3516D的串口485应用
- Hi3516A_V100R001C01SPC040 sdk 百度云 海思开
- Hi3516E V100DMEB_VER_C_PCB产品简介
- Hi3516A/Hi3516D Linux开发环境用户指南
- Hi3516A V100R001C01SPC080 sdk 百度云
- Hi3516DV100资料
- sony imx290 driver
- IMX290 datasheet
- 海思HI3516EV200 SDK 网盘链接
- Hi3516EV300 专业型HD IP Camera SoC产品简介
- 海思芯片Hi35xx系列配置对比.xlsx
- hi3516a adv7180驱动代码
- hi3516aSensor驱动模板lm_xxx.tar.gz
评论
共有 条评论