微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt6735 CTS Fail:testAllocationFromCameraFlexibleYuv fail

mt6735 CTS Fail:testAllocationFromCameraFlexibleYuv fail

时间:10-02 整理:3721RD 点击:
CTS Fail:test Allocation FROM CAMERA Flexible Yuv fail
[DESCRIPTION]
android L版本CTS要求有较多变化,其中如下两种case会造成此项fail:
Case 1: 最大picture size 小于 最大preview size
Log:
19:23:46.789 13805 13922 E AndroidRuntime: java.lang.IllegalArgumentException:
previewSize must not be wider than activeArray
Case 2: 配置的preview size的宽高不满足2的整数倍(平台要求要设置为16整数倍)
Log:
19:19:17.037 3812 3847 E Legacy-CameraDevice-JNI: produceFrame: Dimens 1936 x 1089 are
not divisible by 2.
Case 3: 最大preview size和picture size比例要一致
Log:
08-03 16:17:51.278 14452 14469 I TestRunner: junit.php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework.AssertionFailedError:
Input allocation data was not updated

[SOLUTION]
请根据此FAQ: 如何配置L版本camera的feature table
找到对应camera的feature table,然后对其里面的preview size和picture size进行配置.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top