曙海教育集團論壇3G手機技術專區MTK開發 → 添加mtk sensor驅動


  共有8984人關注過本帖樹形打印

主題:添加mtk sensor驅動

美女呀,離線,留言給我吧!
wangxinxin
  1樓 個性首頁 | 博客 | 信息 | 搜索 | 郵箱 | 主頁 | UC


加好友 發短信
等級:青蜂俠 帖子:1393 積分:14038 威望:0 精華:0 注冊:2010-11-12 11:08:23
添加mtk sensor驅動  發帖心情 Post By: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) ;

支持(0中立(0反對(0單帖管理 | 引用 | 回復 回到頂部

返回版面帖子列表

添加mtk sensor驅動








簽名
主站蜘蛛池模板: 日本二区免费一片黄2019| 男女下面无遮挡一进一出| 亚洲国产精品成人久久久| 欧美亚洲国产一区二区三区| ffee性护士vihaos中国| 国产精品成人无码视频| 色av.com| 久久久久久久亚洲AV无码| 国产成人久久精品二区三区| 色哟哟最新在线观看入口| 久久久久综合国产| 在线看一区二区| 萝li交小说合集| 久久久久久人妻无码| 四虎成人精品无码永久在线| 欧美精品v国产精品v| 91精品久久国产青草| 国产V亚洲V天堂无码久久久| 放荡性漫画全文免费| 日本成人在线看| 人人妻人人澡av天堂香蕉 | 亚洲乱码一区二区三区在线观看 | 三级视频中文字幕| 日韩电影免费观看| 亚洲国产欧洲综合997久久| 欧美成成人免费| 一本之道无吗一二三区| 国产在线视频网| 欧美日韩精品久久免费| 人人澡人人澡人人看添欧美| 久久国产乱子伦精品免费一| 国产精品一区12P| 日韩电影免费在线| 精品国产一区二区| 55夜色66夜色国产精品视频| 久久精品国产一区二区电影| 四虎成人影院网址| 国产经典一区二区三区蜜芽| 特级毛片www| 麻豆亚洲av熟女国产一区二| youjizcom亚洲|