首页 > 其他 > 详细

Camera-hal参数调整

时间:2016-07-07 17:12:17      阅读:249      评论:0      收藏:0      [点我收藏+]
路径:
vendor/mediatek/proproetary/custom/mt6735/hal/D1/imgsensor/对应的SENSOR目录
.../D1/flashlight/flash_tuning_custom_cct.cpp
.../D1/lens/src/lens_para_SensorDrive.cpp
 
 
全黑条件下,照片偏红,要调整闪光灯。
调整闪光灯方法:(使用Eng版本)
    1. adb shell 
    2. setprop z.flash_ratio 1
    3. 全黑环境下,请将手机固定,对着白墙10cm,固定.
    4. 点击拍照,然后手机会自动打闪2(Duty num)次(其中不要任何人员靠近,避免影响光源).
    5. 手机停止拍照以后,/storage/sdcard0中生成eng_code.txt 和 fwb_code.txt文件.
根据eng_code.txt修改flash_tuning_custom_cct.cpp(主摄像头)中的engTab数组。
根据fwb_code.txt修改camera_flash_awb_para_ov13850mipiraw.h中的//Flash AWB calibration二维数组。
编译libcameracustom.so
push 到手机/system/lib/下。
 
eng_code.txt 和 fwb_code.txt中数据的多少与flash_tuning_custom.cpp(主摄像头)中:
para.dutyNum = 多少有关。

Camera-hal参数调整

原文:http://www.cnblogs.com/Ph-one/p/5650565.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!