码迷,mamicode.com
首页 > 移动开发 > 详细

Android : 高通平台Camera调试

时间:2019-04-26 14:55:31      阅读:2181      评论:0      收藏:0      [点我收藏+]

标签:txt   roi   near   cpp   关闭   mem   metadata   color   post   

相关平台信息:SDM845/670

1.AF调试部分

(1)通过属性控制:

--AF Log控制--
setprop persist.vendor.camera.logInfoMask 0x8000000 //AF info level log setprop persist.vendor.camera.logVerboseMask 0x8000000 //AF verbose level log

--禁用深度焦点指示--
setprop persist.vendor.camera.af.depthfocus 1

--关闭 PDAF--
setprop persist.vendor.camera.disablePDAF 1

--开启PDLib log 及 PDAF性能日志--
setprop persist.camera.pdaf_logging 1
setprop persist.camera.pdaf_profiling 1

(2)通过camxoverridesettings控制,将需要调试的部分添加到 vendor/etc/camera/camxoverridesettings.txt :

--AF Log控制--
logInfoMask=0x8000000
logVerboseMask=0x8000000

Mask值对应如下:(1 << 27)=0x8000000 即对应AF模块
// The group tag for a given debug print message
typedef UINT32 CamxLogGroup;
static const CamxLogGroup CamxLogGroupNone = (1 << 0); ///< Generic group
static const CamxLogGroup CamxLogGroupSensor = (1 << 1); ///< Sensor
static const CamxLogGroup CamxLogGroupIFace = (1 << 2); ///< IFace
static const CamxLogGroup CamxLogGroupISP = (1 << 3); ///< ISP
static const CamxLogGroup CamxLogGroupPProc = (1 << 4); ///< Post Processor
static const CamxLogGroup CamxLogGroupImgLib = (1 << 5); ///< Image Lib
static const CamxLogGroup CamxLogGroupCPP = (1 << 6); ///< CPP
static const CamxLogGroup CamxLogGroupHAL = (1 << 7); ///< HAL
static const CamxLogGroup CamxLogGroupJPEG = (1 << 8); ///< JPEG
static const CamxLogGroup CamxLogGroupStats = (1 << 9); ///< Stats
static const CamxLogGroup CamxLogGroupCSL = (1 << 10); ///< CSL
static const CamxLogGroup CamxLogGroupApp = (1 << 11); ///< Application
static const CamxLogGroup CamxLogGroupUtils = (1 << 12); ///< Utilities
static const CamxLogGroup CamxLogGroupSync = (1 << 13); ///< Sync
static const CamxLogGroup CamxLogGroupMemSpy = (1 << 14); ///< MemSpy
static const CamxLogGroup CamxLogGroupAssert = (1 << 15); ///< Asserts
static const CamxLogGroup CamxLogGroupCore = (1 << 16); ///< Core
static const CamxLogGroup CamxLogGroupHWL = (1 << 17); ///< HWL
static const CamxLogGroup CamxLogGroupChi = (1 << 18); ///< CHI
static const CamxLogGroup CamxLogGroupDRQ = (1 << 19); ///< DRQ
static const CamxLogGroup CamxLogGroupFD = (1 << 20); ///< FD
static const CamxLogGroup CamxLogGroupIQMod = (1 << 21); ///< IQ module
static const CamxLogGroup CamxLogGroupLRME = (1 << 22); ///< LRME
static const CamxLogGroup CamxLogGroupNCS = (1 << 23); ///< NCS
static const CamxLogGroup CamxLogGroupMeta = (1 << 24); ///< Metadata
static const CamxLogGroup CamxLogGroupAEC = (1 << 25); ///< AEC //0x2000000
static const CamxLogGroup CamxLogGroupAWB = (1 << 26); ///< AWB //0x4000000
static const CamxLogGroup CamxLogGroupAF = (1 << 27); ///< AF //0x8000000 

 

--禁用深度焦点指示--
disableFocusIndication=1

--关闭 PDAF--
disablePDAF=1

--设置 fullsweep 模式--
afFullsweep=0 //fullsweep off
afFullsweep=1 //far to near
afFullsweep=2 //near to far
afFullsweep=3 //both

--Dump EEPROM 保存OTP数据至 /data/misc/camera/-
dumpSensorEEPROMData=1

--3A调试 exif信息--
debugDataSizeAEC=6000
debugDataSizeAWB=550000
debugDataSizeAF=70000

  

 

 

 

Android : 高通平台Camera调试

标签:txt   roi   near   cpp   关闭   mem   metadata   color   post   

原文地址:https://www.cnblogs.com/blogs-of-lxl/p/10774146.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!