Android13 相机ITS测试与问题分析(二)

三.问题分析

查看测试脚本弄清测试原理-》分析测试log判断fail原因

3.1 FOV 测试fail

测试用例:

从相机支持的尺寸依次拍照计算FOV;

通过标准:

每张图片FOV要符合要求;

解决:修改module模组fov信息;

--- a/vendor/qcom/proprietary/chi-cdk/oem/qcom/module/lce_s5k4h7_module.xml
+++ b/vendor/qcom/proprietary/chi-cdk/oem/qcom/module/lce_s5k4h7_module.xml
@@ -47,17 +47,17 @@
       <!--Lens information -->
       <lensInfo description="Lens Information">
         <!--Focal length of the lens in millimeters. -->
-        <focalLength>5.54</focalLength>
+          <focalLength>2.48</focalLength>
         <!--F-Number of the optical system. -->
-        <fNumber>2.4</fNumber>
+        <fNumber>2.0</fNumber>
         <!--Minimum focus distance in meters. -->
-        <minFocusDistance>0.35</minFocusDistance>
+          <minFocusDistance>0.1</minFocusDistance>
         <!--Total focus distance in meters. -->
-        <maxFocusDistance>10.0</maxFocusDistance>
+          <maxFocusDistance>0.4</maxFocusDistance>
         <!--Horizontal view angle in degrees. -->
-        <horizontalViewAngle>36.51</horizontalViewAngle>
+          <horizontalViewAngle>71.3</horizontalViewAngle>
         <!--Vertical view angle in degrees. -->
-        <verticalViewAngle>27.78</verticalViewAngle>
+          <verticalViewAngle>56.5</verticalViewAngle>
         <!--Maximum Roll Degree. Valid values are: 0 to 359 -->
         <maxRollDegree>360</maxRollDegree>
         <!--Maximum Pitch Degree. Valid values are: 0, 90, 180, 270 -->

3.2 test_latching

测试用例:

拍14张yuv图,分别设置不同gain(ISO)和曝光:第2, 3, 6, 8, 10, 12, 13 增加了ISO或曝光;计算每张图片r,g,b 平均值;

通过标准:每张图像之间的平均 RGB 差异小于 3% 则Pass。

实际结果:第1,3,7,8 张图片G mean值偏小导致Fail;

解决:修改group 寄存器:

0x0104 值改成0x00 即groupHoldOn寄存器:

+++ b/vendor/qcom/proprietary/chi-cdk/oem/qcom/sensor/s5k4h7/s5k4h7_sensor.xml
@@ -695,7 +695,7 @@
             <registerAddr>0x0104</registerAddr>
                 <!--If operation is WRITE, registerData is the data value to be written into the specified register address
                 If operation is READ, registerData is the number of bytes to be read from the specified register address -->
-            <registerData>0x01</registerData>
+            <registerData>0x00</registerData>
                 <!--Register address / data size in bytes -->
             <regAddrType range="[1,4]">2</regAddrType>
                 <!--Register address / data size in bytes -->

填0x00表示关闭,此时gain和shutter同时走N+2;

填0x01表示启动,此时gain走N+1,shutter走N+2

复测:

Pass

3.3 test_post_raw_sensitivity_boost

测试用例:

拍4张raw图,计算图片像素平均值,

拍4张yuv图,计算图片像素平均值,

通过标准:4张raw图亮度逐渐变暗、4张yuv图亮度不变;

log或者测试结果:

第2张raw图亮度偏高,应该是第1张raw图亮度的1/2;

第2、3、4张yuv图亮度偏低;

解决:同test_latching

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值