Android 系统(256)---camera如何dump image buffer大全

camera如何dump image buffer大全

 MT6572/MT6589/MT6582/MT6592 

  1. Select dump buffer port
    1. Normal Preview, Video Preview/Record and ZSD Preview (using bitmask)
      1. dump Pass1 IMGO output
        adb shell setprop camera.dumpbuffer.enable 1
      2. dump Pass2 WDMA output (For Display)
        adb shell setprop camera.dumpbuffer.enable 2
      3. dump Pass2 WROT output (For Record)
        adb shell setprop camera.dumpbuffer.enable 4
      4. dump Pass1 IMGO and Pass2 DISPO output
        adb shell setprop camera.dumpbuffer.enable 3
      5. dump Pass1 IMGO, Pass2 DISPO and Pass2 VIDO output
        adb shell setprop camera.dumpbuffer.enable 7
      6. dump Pass1 pass2 when take picture (single shot)

        adb shell setprop debug.camera.dump 1

      7. dump VSS Pass1 Pass2

        adb shell setprop camera.vss.dumpbuffer.enable 1

  2. Pull buffer from device
    adb pull /sdcard/camera_dump/
  3. Clear buffer of device
    adb shell rm -rf /sdcard/camera_dump/



MT6595 /MT6795/MT6752 /MT6735 /MT6753/MT6755/MT6750  

  1. Select camera mode
    1. Normal Preview
      adb shell "setprop debug.PHO.dump 1"
    2. Normal Capture
      adb shell "setprop debug.SShot.dump 1"
    3. Video Preview/Record
      adb shell "setprop debug.VDO.dump 1"
    4. ZSD Preview
      adb shell "setprop debug.ZSD.dump 1"
  2. Select dump buffer port
    1. Normal Preview, Video Preview/Record and ZSD Preview
      1. dump Pass1 RRZO output
        adb shell "setprop debug.camnode.dump.1 1"
      2. dump Pass1 IMGO output
        adb shell "setprop debug.camnode.dump.2 1"
      3. dump Pass2 input
        adb shell "setprop debug.camnode.dump.31 1"
      4. dump Pass2 WDMA output (For Display)
        adb shell "setprop debug.camnode.dump.41 1"
      5. dump Pass2 WROT output (For Record)
        adb shell "setprop debug.camnode.dump.43 1"
      6. dump Pass2 IMG2O output
        adb shell "setprop debug.camnode.dump.45 1"
    2. Normal capture and ZSD capture
      1. dump Pass2 WDMA output
        adb shell "setprop debug.camnode.dump.42 1"
      2. dump Pass2 WROT output
        adb shell "setprop debug.camnode.dump.44 1"
  3. Pull buffer from device
    1. Normal Preview
      adb pull /sdcard/cameradump_PHO ./cameradump_PHO/
    2. Normal Capture
      adb pull /sdcard/cameradump_SShot ./cameradump_SShot/
    3. Video Preview/Record
      adb pull /sdcard/cameradump_VDO ./cameradump_VDO/
    4. ZSD Preview
      adb pull /sdcard/cameradump_ZSD ./cameradump_ZSD/
  4. Clear buffer of device
    adb shell "rm -rf /sdcard/cameradump_*"

MT6797/MT6763/MT6758

       请参考 FAQ18078  6797如何dump pass1和pass2 image buffer

猜你喜欢

转载自blog.csdn.net/zhangbijun1230/article/details/81414396