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


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

主題:添加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驅動








簽名
主站蜘蛛池模板: 美女尿口免费影视app| 99精品无人区乱码在线观看| 疯狂的欧美乱大交| 国产在线精品一区二区在线看| 久久久久久亚洲精品中文字幕| 欧美日韩一区二区视频图片| 免费黄色网址在线观看| 金8国欧美系列在线| 国产精品一区二区三| 中文字幕一区二区三区久久网站| 最近中文字幕在线mv视频7| 亚洲男人第一av网站| 豪妇荡乳1一5白玉兰| 国产精品1024永久免费视频| 一区二区精品在线| 最近中字视频在线观看| 亚洲欧洲久久精品| 狠狠躁夜夜躁人人爽天天不| 午夜视频在线观看按摩女| 调教15小男生gay脱裤子| 国产成人精品免高潮在线观看| 337p欧美日本超大胆艺术裸| 在逃生游戏里挨c海棠小说| 一级伦理电线在2019| 日日碰狠狠添天天爽爽爽| 亚洲欧美成人综合久久久| 男生和女生一起差差的视频30分 | 免费又黄又爽1000禁片| 色爱无码av综合区| 国产在线精品无码二区二区| 天天摸日日摸人人看| 国产精品大片天天看片| 91制片厂果冻传媒白晶晶| 夜夜夜精品视频免费| ts20p1hellokittyshoes| 性欧美丰满熟妇XXXX性| 中文字幕日韩三级片| 无翼乌全彩之大雄医生| 久久久无码精品亚洲日韩蜜桃| 日韩专区亚洲精品欧美专区| 久久青青草原亚洲av无码|