以文本方式查看主題

-  曙海教育集團論壇  (http://www.scb-ycwb.com/bbs/index.asp)
--  MTK開發(fā)  (http://www.scb-ycwb.com/bbs/list.asp?boardid=43)
----  添加mtk sensor驅(qū)動  (http://www.scb-ycwb.com/bbs/dispbbs.asp?boardid=43&id=1985)

--  作者:wangxinxin
--  發(fā)布時間:2010-12-2 10:22:39
--  添加mtk sensor驅(qū)動
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) ;
主站蜘蛛池模板: 欧美人与物VIDEOS另类| 免费a级毛片无码| 成年人在线免费| 日韩视频在线免费观看| 波多野结衣一区二区三区高清在线| 91免费看国产| 一本大道香蕉大无线视频| 久久男人av资源网站| 内射中出日韩无国产剧情| 国产精品爽爽ⅴa在线观看| 妞干网视频在线观看| 日本按摩高潮a级中文片| 男女猛烈无遮掩免费视频| 18禁男女爽爽爽午夜网站免费| chinese麻豆自制国产| 亚州无吗黄瓜视频有直播的不| 亚洲日韩精品无码AV海量| 交换配乱淫粗大东北大坑性事| 再深点灬再大点灬舒服| 四虎最新免费观看网址| 国产中文字幕在线观看视频| 国产在线视频国产永久视频| 国产女王丨vk| 国产亚洲自拍一区| 国产色综合天天综合网| 成人毛片18岁女人毛片免费看| 无码少妇一区二区三区芒果| 欧美日韩一区二区综合| 羞羞漫画页面免费入口欢迎你| 色婷五月综激情亚洲综合| 老司机精品导航| 精品无人区麻豆乱码1区2区| 激情欧美日韩一区二区| 男女交性特一级| 男人天堂网www| 欧美人与物VIDEOS另类| 日本不卡一二三| 欧美A∨在线观看| 无码A级毛片免费视频内谢| 成人午夜私人影院入口| 在线观看噜噜噜私人影院|