• Camx-Dump Raw Frames


    1.dump eeprom data

    vendor/qcom/proprietary/camx/src/settings/common/camxsettings.xml

    两种方式dump数据:
    一. Push a configuration file to/vendor/etc/camera/camxoverridesettings.txt
    adb shell "echo dumpSensorEEPROMData=TRUE >> /vendor/etc/camera/camxoverridesettings.txt
    二. Set Android properties
    adb shell setprop vendor.debug.camera.dumpSensorEEPROMData 1
    拍张照片后,数据存储在 /data/vendor/camera

    2. dump 3A信息

    camera/camxoverridesettings.txt
    enable3ADebugData=TRUE    //打开 3A EXIF 信息
    dumpSensorEEPROMData=TRUE
    enableTuningMetadata=TRUE  //General switch to enable tuning data dump. See size settings to set a new size or use default
    
    • 1
    • 2
    • 3
    • 4

    3.dump Raw

    3.1 Sensor Raw Dump

    
    autoImageDump=TRUE 
    autoImageDumpMask=1 
    offlineImageDumpOnly=FALSE 
    autoInputImageDumpMask=0x1
    reprocessDump=0
    autoImageDumpIFEoutputPortMask=0xFB8
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    autoImageDump=TRUE 
    autoImageDumpMask=0x1
    offlineImageDumpOnly=FALSE 
    reprocessDump=FALSE
    autoImageDumpIFEoutputPortMask=0xFB8
    
    • 1
    • 2
    • 3
    • 4
    • 5

    3.2 Sensor Raw dump (dump snapshot raw only)

    
    autoImageDump=TRUE 
    autoImageDumpMask=0x4
    offlineImageDumpOnly=FALSE 
    reprocessDump=TRUE
    autoInputImageDumpMask=0x4
    autoImageDumpBPSoutputPortMask=0
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    /data/vendor/camera # ls
    PrecisionFlashData00.bin
    camera_config_dump.bin
    coredump
    p[ZSLSnapshotYUVHAL]_req[1]_batch[0]_BPS[0]_[in]_port[0]_w[4208]_h[3120]_20230423_154333_218623.RAWMIPI10
    p[ZSLSnapshotYUVHAL]_req[2]_batch[0]_BPS[0]_[in]_port[0]_w[4208]_h[3120]_20230423_154348_221985.RAWMIPI10
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    autoImageDump
    BOOl 类型
    1: enable dump
    0: disable dump
    
    • 1
    • 2
    • 3
    • 4
    autoImageDumpMask
                          No dumps                                      = 0x0
                          All output ports for IFE                      = 0x1
                          All output ports for IPE                      = 0x2
                          All output ports for BPS                      = 0x4
                          All JPEG output ports for all JPEG nodes      = 0x8
                          All output ports for FDHw                     = 0x10
                          All output ports for LRME                     = 0x20
                          All output ports for RANSAC                   = 0x40
                          All output ports for all ChiNodes             = 0x80
                          All output ports for CVP                      = 0x100
                          All output ports for TFE                      = 0x200
                          All output ports for OPE                      = 0x400
                          All output ports for QSAT                     = 0x800
                          All other nodes not explicitly listed above   = 0x40000000
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    offlineImageDumpOnly
    Bool 类型.
    Dumps offline processing output images only for all enabled nodes
    以下文件都有对应判断:
    		camxopenode.cpp
    		camxipenode.cpp
    		camxbpsnode.cpp	
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    autoInputImageDumpMask:
    ImageDumpType Will limit dumps to only the specified nodes
    No dumps = 0x0
    All input ports for IFE = 0x1
    All input ports for IPE = 0x2
    All input ports for BPS = 0x4
    All JPEG input ports for all JPEG nodes = 0x8
    All input ports for FDHw = 0x10
    All input ports for LRME = 0x20
    All input ports for RANSAC = 0x40
    All input ports for all ChiNodes = 0x80
    All input ports for CVP = 0x100
    All other nodes not explicitly listed above = 0x40000000
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    autoImageDumpIFEoutputPortMask:
                   IFE:
                        IFEOutputPortFull            = 0x1;
                        IFEOutputPortDS4             = 0x2;
                        IFEOutputPortDS16            = 0x4;
                        IFEOutputPortCAMIFRaw        = 0x8;
                        IFEOutputPortLSCRaw          = 0x10;
                        IFEOutputPortGTMRaw          = 0x20;
                        IFEOutputPortFD              = 0x40;
                        IFEOutputPortPDAF            = 0x80;
                        IFEOutputPortRDI0            = 0x100;
                        IFEOutputPortRDI1            = 0x200;
                        IFEOutputPortRDI2            = 0x400;
                        IFEOutputPortRDI3            = 0x800;
                        IFEOutputPortStatsRS         = 0x1000;
                        IFEOutputPortStatsCS         = 0x2000;
                        IFEOutputPortStatsIHIST      = 0x8000;
                        IFEOutputPortStatsBHIST      = 0x10000;
                        IFEOutputPortStatsHDRBE      = 0x20000;
                        IFEOutputPortStatsHDRBHIST   = 0x40000;
                        IFEOutputPortStatsTLBG       = 0x80000;
                        IFEOutputPortStatsBF         = 0x100000;
                        IFEOutputPortStatsAWBBG      = 0x200000;
                        IFEOutputPortDisplayFull     = 0x400000;
                        IFEOutputPortDisplayDS4      = 0x800000;
                        IFEOutputPortDisplayDS16     = 0x1000000;
                        IFEOutputPortStatsDualPD     = 0x2000000;
                        ALLports                     = 0x3FFBFFF
                        AllPixelOutput               = 0x1C00047
                        AllRawOutput                 = 0xFB8
                        AllRDIOutput                 = 0xF00
                        AllStatsOutput               = 0x3FB000
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    reprocessDump:
    Dumps reprocess input image and metadata
    将重新处理的输入图像和元数据进行转储。
    
    • 1
    • 2
    • 3
  • 相关阅读:
    C++11右值引用
    C#教程15: 数据容器(collection)
    IDEA下载后没有tomcat选项
    yolov6训练自己的数据记录+yolov5对比测试
    java毕业设计在线教学评比平台Mybatis+系统+数据库+调试部署
    CVPR2022 | 重新审视池化:你的感受野不是最理想的
    算法通关村第九关|黄金挑战|有序数组转为二叉搜索树&寻找两个正序数组的中位数
    UE5 C++ 斯坦福 1
    《Effective Java》知识点(4)--泛型
    STR android实现介绍
  • 原文地址:https://blog.csdn.net/h_8410435/article/details/132691425