GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
+48
@@ -0,0 +1,48 @@
|
||||
#ifndef __SC4336P_H__
|
||||
#define __SC4336P_H__
|
||||
|
||||
#include "sns_comm.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* sensor fps mode */
|
||||
#define SC4336P_FULL_LINES_MAX 0x7FFF
|
||||
#define SC4336P_VMAX_4M_LINEAR 1500
|
||||
#define SC4336P_FRAME_RATE_MIN 0x34BC
|
||||
#define SC4336P_EXP_OFFSET_LINEAR 10
|
||||
|
||||
#define SC4336P_S_EXP_MAX_DEFAULT_1440P 0xcc
|
||||
|
||||
// the value of the sc4336p exposure register is in half line units, (<< 1) for AE calculation, (>> 1) for EXP reg
|
||||
#define SC4336P_EXP_SHIFT 1
|
||||
|
||||
#define SC4336P_REG_ADDR_EXP_H 0x3e00
|
||||
#define SC4336P_REG_ADDR_EXP_M 0x3e01
|
||||
#define SC4336P_REG_ADDR_EXP_L 0x3e02
|
||||
#define SC4336P_REG_ADDR_AGAIN_H 0x3e08
|
||||
#define SC4336P_REG_ADDR_AGAIN_L 0x3e09
|
||||
#define SC4336P_REG_ADDR_DGAIN_H 0x3e06
|
||||
#define SC4336P_REG_ADDR_DGAIN_L 0x3e07
|
||||
#define SC4336P_REG_ADDR_VMAX_H 0x320e
|
||||
#define SC4336P_REG_ADDR_VMAX_L 0x320f
|
||||
|
||||
typedef enum {
|
||||
SC4336P_REG_EXP_H = 0,
|
||||
SC4336P_REG_EXP_M,
|
||||
SC4336P_REG_EXP_L,
|
||||
SC4336P_REG_AGAIN_H,
|
||||
SC4336P_REG_AGAIN_L,
|
||||
SC4336P_REG_DGAIN_H,
|
||||
SC4336P_REG_DGAIN_L,
|
||||
SC4336P_REG_VMAX_H,
|
||||
SC4336P_REG_VMAX_L,
|
||||
SC4336P_REG_L_MAX_NUM,
|
||||
} sc4336p_reg_info;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __SC4336P_H__
|
||||
Reference in New Issue
Block a user