1.af除錯部分
(1)通過屬性控制:
--af log控制--setprop persist.vendor.camera.loginfomask 0x8000000 //af info level log(2)通過camxoverridesettings控制,將需要除錯的部分新增到 vendor/etc/camera/camxoverridesettings.txt :setprop persist.vendor.camera.lo**erbosemask 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
--af log控制--loginfomask=0x8000000lo**erbosemask=0x8000000
mask值對應如下:(1 << 27)=0x8000000 即對應af模組
// the group tag for a given debug print messagetypedef 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 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 //0x4000000static 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篇
之前一段時間有幸在高通android平台上除錯2款camera sensor,一款是ov的5m yuv sensor,支援jpeg out,同時也支援af,除錯比較比較簡單,因為別的專案已經在使用了,只是把相關的驅動移植過來就好 另一款是samsung的一款比較新的3m yuv ff sensor,...
高通Android平台硬體除錯之Camera篇
之前一段時間有幸在高通android平台上除錯2款camera sensor,一款是ov的5m yuv sensor,支援jpeg out,同時也支援af,除錯比較比較簡單,因為別的專案已經在使用了,只是把相關的驅動移植過來就好 另一款是samsung的一款比較新的3m yuv ff sensor,...
高通 android平台LCD驅動分析
目前手機晶元廠家提供的原始碼裡包含整個lcd驅動框架,一般廠家會定義乙個 fb.c的原始檔,註冊乙個平台裝置和平台驅動,在驅動的probe函式中來呼叫register framebuffer 從而生成 dev fbx的裝置節點。這裡最重要的資料結構是fb ops,它包括fb開啟 引數設定 畫圖 配置...