搜索

449

主题

659

帖子

4893

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
4893
QQ
发表于 2021-3-6 11:47:34 8608 浏览 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)
  1.             dump Pass1 IMGO output
  2.             adb shell setprop camera.dumpbuffer.enable 1
  3.             dump Pass2 WDMA output (For Display)
  4.             adb shell setprop camera.dumpbuffer.enable 2
  5.             dump Pass2 WROT output (For Record)
  6.             adb shell setprop camera.dumpbuffer.enable 4
  7.             dump Pass1 IMGO and Pass2 DISPO output
  8.             adb shell setprop camera.dumpbuffer.enable 3
  9.             dump Pass1 IMGO, Pass2 DISPO and Pass2 VIDO output
  10.             adb shell setprop camera.dumpbuffer.enable 7
  11.             dump Pass1 pass2 when take picture (single shot)
  12.             adb shell setprop debug.camera.dump 1
  13.             dump VSS Pass1 Pass2
  14.             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  

  1.     Select camera mode
  2.         Normal Preview
  3.         adb shell "setprop debug.PHO.dump 1"
  4.         Normal Capture
  5.         adb shell "setprop debug.SShot.dump 1"
  6.         Video Preview/Record
  7.         adb shell "setprop debug.VDO.dump 1"
  8.         ZSD Preview
  9.         adb shell "setprop debug.ZSD.dump 1"
  10.     Select dump buffer port
  11.         Normal Preview, Video Preview/Record and ZSD Preview
  12.             dump Pass1 RRZO output
  13.             adb shell "setprop debug.camnode.dump.1 1"
  14.             dump Pass1 IMGO output
  15.             adb shell "setprop debug.camnode.dump.2 1"
  16.             dump Pass2 input
  17.             adb shell "setprop debug.camnode.dump.31 1"
  18.             dump Pass2 WDMA output (For Display)
  19.             adb shell "setprop debug.camnode.dump.41 1"
  20.             dump Pass2 WROT output (For Record)
  21.             adb shell "setprop debug.camnode.dump.43 1"
  22.             dump Pass2 IMG2O output
  23.             adb shell "setprop debug.camnode.dump.45 1"
  24.         Normal capture and ZSD capture
  25.             dump Pass2 WDMA output
  26.             adb shell "setprop debug.camnode.dump.42 1"
  27.             dump Pass2 WROT output
  28.             adb shell "setprop debug.camnode.dump.44 1"
  29.     Pull buffer from device
  30.         Normal Preview
  31.         adb pull /sdcard/cameradump_PHO ./cameradump_PHO/
  32.         Normal Capture
  33.         adb pull /sdcard/cameradump_SShot ./cameradump_SShot/
  34.         Video Preview/Record
  35.         adb pull /sdcard/cameradump_VDO ./cameradump_VDO/
  36.         ZSD Preview
  37.         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
回复

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


登录或注册
快速回复 返回顶部 返回列表