开启 3A exif信息
adb shell “echo enable3ADebugData=TRUE >>
/vendor/etc/camera/camxoverridesettings.txt”
开启 AWB log
方法1:
adb shell setprop persist.vendor.camera.logVerboseMask 0x04000000
adb shell setprop persist.vendor.camera.logEntryExitMask 0x04000000
adb shell setprop persist.vendor.camera.logInfoMask 0x04000000
方法2:
adb root
adb remount
adb shell “echo logVerboseMask=0x04000000 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logEntryExitMask=0x04000000 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logInfoMask=0x04000000 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启 AEC log
方法1:
adb shell setprop persist.vendor.camera.logVerboseMask 0x02000000
adb shell setprop persist.vendor.camera.logEntryExitMask 0x02000000
adb shell setprop persist.vendor.camera.logInfoMask 0x02000000
方法2:
adb root
adb remount
adb shell “echo logVerboseMask= 0x02000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logEntryExitMask= 0x02000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logInfoMask= 0x02000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启 AF log
方法1:
adb shell setprop persist.vendor.camera.logVerboseMask 0x08000000
adb shell setprop persist.vendor.camera.logEntryExitMask 0x08000000
adb shell setprop persist.vendor.camera.logInfoMask 0x08000000
方法2:
adb root
adb remount
adb shell “echo logVerboseMask= 0x08000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logEntryExitMask= 0x08000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logInfoMask= 0x08000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启 3A全部 log
方法1:
adb shell setprop persist.vendor.camera.logVerboseMask 0x0E000000
adb shell setprop persist.vendor.camera.logEntryExitMask 0x0E000000
adb shell setprop persist.vendor.camera.logInfoMask 0x0E000000
方法2:
adb root
adb remount
adb shell “echo logVerboseMask= 0x0E000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logEntryExitMask= 0x0E000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logInfoMask= 0x0E000000>>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启 sensor log
方法1:
adb shell setprop persist.vendor.camera.logVerboseMask 0x2
adb shell setprop persist.vendor.camera.logInfoMask 0x2
方法2:
adb root
adb remount
adb shell “echo logVerboseMask=0x2 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo logInfoMask=0x2 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启 dumpEEPROM
方法1://不需要重启
adb shell setprop vendor.debug.camera.dumpSensorEEPROMData TRUE
方法2:
adb root
adb remount
adb shell “echo dumpSensorEEPROMData=TRUE >>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
开启dump metadata:
方法1:
adb shell setprop persist.vendor.camera.debugdata.enableTuningMetadata TRUE
方法2:
adb root
adb remount
adb shell “echo enableTuningMetadata=TRUE >>
/vendor/etc/camera/camxoverridesettings.txt”
adb reboot
重启手机之后拍摄jpg图片,然后进行如下操作:
/your/own/pos/Chromatix7\Simulator\Spectra280\QualcommSpectraSim280.exe -
metaparse xxx.jpg
Dump Raw图
adb shell “echo reprocessDump=TRUE>>
/vendor/etc/camera/camxoverridesettings.txt”
Dump outputimages
adb shell “echo autoImageDump=TRUE>>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo autoImageDumpMask=0x8>>
/vendor/etc/camera/camxoverridesettings.txt”
No dumps = 0x0
All output ports for IFE = 0x1
All output ports for IPE = 0x2
All output ports for BPS = 0x4
All JPEG output ports for all JPEG nodes = 0x8
All other nodes not explicitly listed above = 0x40000000
Dumps offline processing output images
// enable dump file just for capture mode
adb shell “echo offlineImageDumpOnly=TRUE>>
/vendor/etc/camera/camxoverridesettings.txt”
执行AE scan
adb shell “echo logVerboseMask=0x2000002 >>
/vendor/etc/camera/camxoverridesettings.txt”
adb shell “echo enableAEScan=16 >>
/vendor/etc/camera/camxoverridesettings.txt”
开启AF Fullsweep:(不需要重启)
adb shell setprop vendor.debug.camera.af.fullsweep 3
REM 0 - Disabled
REM 1 - InfinityToMacro
REM 2 - MacroToInfinity
REM 3 - BothDirection
手动AF位置:(不需要重启)
adb shell setprop vendor.debug.camera.af.manual Logical
Disabled: Disable Manual Lens Movement,
DAC: Enable Control via DAC,
Logical: Enable Control via Logical Position
adb shell setprop vendor.debug.camera.af.ctrl.lenspos 500
Dual LED 矫正:
adb shell setprop vendor.debug.camera.dualLEDCalibrationMode
DualLEDCalibrationTuning
DualLEDCalibrationDisabled :Dual LED Calibration is disabled
DualLEDCalibrationTuning :Dual LED is being tuned for the golden module
DualLEDCalibrationCalibration :Dual LED is being calibrated
Enable EIS V2
方法1:
adb shell setprop persist.vendor.camera.eisv2enable TRUE
方法2:
adb shell “echo EISV2Enable=1 >> /vendor/etc/camera/camxoverridesettings.txt”
EIS V2 Margin
方法1:
adb shell setprop persist.vendor.camera.eisv2margin 0.2
方法2:
adb shell “echo EISV2Margin=0.2 >>
/vendor/etc/camera/camxoverridesettings.txt”
EIS V2 Frame Delay
方法1:
adb shell setprop persist.vendor.camera.eisv2framedelay 3
方法2:
adb shell “echo eisv2framedelay =3 >>
/vendor/etc/camera/camxoverridesettings.txt”
Enable EIS V3
方法1:
adb shell setprop persist.vendor.camera.eisv3enable TRUE
方法2:
adb shell “echo EISV3Enable=1 >> /vendor/etc/camera/camxoverridesettings.txt”
EIS V3 Margin
方法1:
adb shell setprop persist.vendor.camera.eisv3margin 0.2
方法2:
adb shell “echo eisv3margin =0.2 >>
/vendor/etc/camera/camxoverridesettings.txt”
EIS V3 Frame Delay
方法1:
adb shell setprop persist.vendor.camera.eisv3framedelay 3
方法2:
adb shell “echo eisv3framedelay =3 >>
/vendor/etc/camera/camxoverridesettings.txt”
开启MFNR功能:
adb shell “echo advanceFeatureMask=0x3 >>
/vendor/etc/camera/camxoverridesettings.txt”
通过源码查看 persist定义
vendor\qcom\proprietary\camx\src\core\g_camxsettings.h
vendor/qcom/proprietary/camx/src/utils/camxtypes.h
注: camx仓需要单独申请让高通释放
关于 LogVerBoseMask的定义
camxtype.h文件中定义了各个mask值:
// 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
static const CamxLogGroup CamxLogGroupAWB = (1 << 26); ///< AWB
static const CamxLogGroup CamxLogGroupAF = (1 << 27); ///< AF
通过如上定义,若要开启对应的 通过如上定义,只要 LogVerBoseMask赋予对应的值即可
【3A指令】
最新推荐文章于 2024-02-26 23:04:52 发布