欧美日韩一区二区高清,久久视频这里只有精品,超黄网站在线观看,成人av影院在线观看

Rss & SiteMap

曙海教育集團(tuán)論壇 http://www.bjzhda.cn

曙海教育集團(tuán)論壇
共1 條記錄, 每頁顯示 10 條, 頁簽: [1]
[瀏覽完整版]

標(biāo)題:添加mtk sensor驅(qū)動

1樓
wangxinxin 發(fā)表于:2010-12-2 10:22:39
MTK SENSOR
1)SENSOR_ID
The sequence number of the sensor that is ported in maui system, starts from 100. It is used for CCT (Camera Calibration Tool) and map to corresponding sensors parmeters when we calibrate sensor!¡¥s setting. It shouldbe assigned by MTK, The mapping is defined in ..\mcu\media\camera_v2\include\camera_para_v2.h.

2) CAMERA_SENSOR_REG_DEFAULT_VALUE
The default value format follows the structure  of sensor_para_struct and sensor_reg_para. For default registers are determined and by sensor porting engineer and the values are put in camera_sensor_para.c. It is strongly recommended not to modify them exclude senor porting engineers.

3) CAMERA_SENSOR_CCT_DEFAULT_VALUE
The default value format follows the structure of sensor_para_struct and sensor_reg_para introduced in

typedef struct {
sensor_reg_struct reg[ENGINEER_END];
sensor_reg_struct cct[FACTORY_END_ADDR];
} sensor_data_struct;

typedef struct {
kal_uint32 addr;
kal_uint32 para;
} sensor_reg_struct;

For default registers are determined and by camera tuning engineer and the values are put in camera_tuning_para.c. It is strongly recommended not to modify them exclude camera tuning engineers.

Functions:
void image_sensor_func_config(void)
void (* sensor_init)(void); //kal_int8 init_MT9T012(void)
  void (* get_sensor_id)(kal_uint8 *sensor_write_id, kal_uint8 *sensor_read_id); //void get_MT9T012_id(kal_uint8 *sensor_write_id, kal_uint8 *sensor_read_id)
  void (* get_sensor_size)(kal_uint16 *sensor_width, kal_uint16 *sensor_height);
  //void get_MT9D011_size(kal_uint16 *sensor_width, kal_uint16 *sensor_height)
     void (* get_sensor_period) (kal_uint16 *pixel_number, kal_uint16 *line_number);
  //void get_MT9T012_period(kal_uint16 *pixel_number, kal_uint16 *line_number)
  void (* sensor_preview_setting)(image_sensor_exposure_window_struct *image_window, image_sensor_config_struct *sensor_config_data);
  //void MT9T012_preview(image_sensor_exposure_window_struct *image_window, image_sensor_config_struct *sensor_config_data)
   void (* sensor_capture_setting)(image_sensor_exposure_window_struct *image_window, image_sensor_config_struct *sensor_config_data);
   //void MT9T012_capture(image_sensor_exposure_window_struct *image_window, image_sensor_config_struct *sensor_config_data)
   
void (* write_sensor_reg)(kal_uint8 cmd, kal_uint8 para);
//void write_MT9T012_reg(kal_uint32 addr, kal_uint32 para)
kal_uint8 (* read_sensor_reg)(kal_uint8 cmd); //kal_uint32 read_MT9T012_reg(kal_uint32 addr)

void (* set_sensor_eshutter)(kal_uint16 eshutter); //void set_MT9T012_shutter(kal_uint16 shutter)

    kal_uint16 (* set_sensor_gain) (kal_uint16 gain);
    //kal_uint16 set_MT9T012_gain(kal_uint16 gain)
     void (* set_camera_night_mode) (kal_bool enable); //void MT9T012_night_mode(kal_bool enable)
     void (* sensor_power_off) (void);
     //void power_off_MT9T012(void)
     void (* set_flashlight) (kal_bool enable)
     //void set_flashlight (kal_bool enable)
     kal_uint32 (* yuv_sensor_setting)(kal_uint32 cmd, kal_uint32 para);
     //kal_uint32 OV760_yuv_sensor_setting(kal_uint32 cmd, kal_uint32 para)
     void camera_para_to_sensor(void) ;
     void sensor_to_camera_para(void) ;
共1 條記錄, 每頁顯示 10 條, 頁簽: [1]

Copyright © 2000 - 2009 曙海教育集團(tuán)
Powered By 曙海教育集團(tuán) Version 2.2
Processed in .01563 s, 2 queries.
主站蜘蛛池模板: 朝阳县| 永济市| 张家港市| 江孜县| 临夏县| 思茅市| 鹤山市| 怀仁县| 永昌县| 开原市| 宝鸡市| 连城县| 普洱| 青神县| 博野县| 遂昌县| 永仁县| 汉沽区| 田林县| 农安县| 南安市| 云浮市| 寿宁县| 修水县| 炉霍县| 定南县| 开封市| 洪泽县| 曲阜市| 伊川县| 英超| 普兰县| 绥棱县| 玉树县| 甘南县| 宝鸡市| 津南区| 河间市| 南通市| 通辽市| 同江市|