camera如何dump image buffer大全
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
- dump Pass1 IMGO output
- Normal Preview, Video Preview/Record and ZSD Preview (using bitmask)
- 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"
- Normal Preview
- 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"
- dump Pass1 RRZO output
- 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"
- dump Pass2 WDMA output
- Normal Preview, Video Preview/Record and ZSD Preview
- 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/
- Normal Preview
- Clear buffer of device
adb shell "rm -rf /sdcard/cameradump_*"
MT6797/MT6763/MT6758
请参考 FAQ18078 6797如何dump pass1和pass2 image buffer