|
发表于 2021-3-6 11:47:34
15771 浏览 0 回复
MTK 平台camera如何dump image buffer大全
[DESCRIPTION]
camera如何dump image buffer大全
[SOLUTION]
MT6572/MT6589/MT6582/MT6592
Select dump buffer port
Normal Preview, Video Preview/Record and ZSD Preview (using bitmask)
- dump Pass1 IMGO output
- adb shell setprop camera.dumpbuffer.enable 1
- dump Pass2 WDMA output (For Display)
- adb shell setprop camera.dumpbuffer.enable 2
- dump Pass2 WROT output (For Record)
- adb shell setprop camera.dumpbuffer.enable 4
- dump Pass1 IMGO and Pass2 DISPO output
- adb shell setprop camera.dumpbuffer.enable 3
- dump Pass1 IMGO, Pass2 DISPO and Pass2 VIDO output
- adb shell setprop camera.dumpbuffer.enable 7
- dump Pass1 pass2 when take picture (single shot)
- adb shell setprop debug.camera.dump 1
- dump VSS Pass1 Pass2
- adb shell setprop camera.vss.dumpbuffer.enable 1
复制代码 Pull buffer from device
adb pull /sdcard/camera_dump/
Clear buffer of device
adb shell rm -rf /sdcard/camera_dump/
MT6595 /MT6795/MT6752 /MT6735 /MT6753/MT6755/MT6750
- Select camera mode
- Normal Preview
- adb shell "setprop debug.PHO.dump 1"
- Normal Capture
- adb shell "setprop debug.SShot.dump 1"
- Video Preview/Record
- adb shell "setprop debug.VDO.dump 1"
- ZSD Preview
- adb shell "setprop debug.ZSD.dump 1"
- Select dump buffer port
- Normal Preview, Video Preview/Record and ZSD Preview
- dump Pass1 RRZO output
- adb shell "setprop debug.camnode.dump.1 1"
- dump Pass1 IMGO output
- adb shell "setprop debug.camnode.dump.2 1"
- dump Pass2 input
- adb shell "setprop debug.camnode.dump.31 1"
- dump Pass2 WDMA output (For Display)
- adb shell "setprop debug.camnode.dump.41 1"
- dump Pass2 WROT output (For Record)
- adb shell "setprop debug.camnode.dump.43 1"
- dump Pass2 IMG2O output
- adb shell "setprop debug.camnode.dump.45 1"
- Normal capture and ZSD capture
- dump Pass2 WDMA output
- adb shell "setprop debug.camnode.dump.42 1"
- dump Pass2 WROT output
- adb shell "setprop debug.camnode.dump.44 1"
- Pull buffer from device
- Normal Preview
- adb pull /sdcard/cameradump_PHO ./cameradump_PHO/
- Normal Capture
- adb pull /sdcard/cameradump_SShot ./cameradump_SShot/
- Video Preview/Record
- adb pull /sdcard/cameradump_VDO ./cameradump_VDO/
- ZSD Preview
- adb pull /sdcard/cameradump_ZSD ./cameradump_ZSD/
复制代码
Clear buffer of device
adb shell "rm -rf /sdcard/cameradump_*"
MT6797/MT6763/MT6758
请参考 FAQ18078 6797如何dump pass1和pass2 image buffer
MT6762
P1Node Dump 两种方法:
1.仅可dump IMGO
1. adb shell setprop debug.camera.dump.en 1
adb shell setprop debug.camera.dump.p1.imgo 1
2. adb pull sdcard/camera_dump .
2.既有IMGO也有RRZO
1. sdcard目录下,新建raw文件夹
2. adb root
3. adb shell setenforce 0
4. adb shell setprop debug.camera.dump.en 1
adb shell setprop debug.feature.forceEnableIMGO 1
adb shell setprop debug.p1.pureraw_dump 100
5. adb pull sdcard/raw
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|