mt6735 MT658x平台上,CTS fail issue:Camera CTS通不过testGetWithID
时间:10-02
整理:3721RD
点击:
[DESCRIPTION]
使用不在sensorAvailable List中的YUV sensor 时,或者改动feature table 配置之后
CTS fail issue:
CAMERA CTS 通不过 testGeWithId
(android.media.cts.CamcorderProfileTest)
[ANALYSE]
从log中看,不支持176×144的video size
04-22 08:26:57.365 8361 8374 E CamcorderProfileTest: Size (176x144) is not supported
04-22 08:26:57.366 8361 8374 I TestRunner: failed: testGetWithId(android.media.cts.CamcorderProfileTest)
是使用的sensor 对应的feature table 中video size 提供的不全,未提供176×144的video size导致CTS fail
[SOLUTION]
请参考 Camera php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework&mhal 这个 category 下“ FAQ05993
如何配置MT658x camera的feature table”修改feature table。
在 video size
一项中加入176x144。
#if 1
// Video Size
FTABLE_CONFIG_AS_TYPE_OF_DEFAULT_VALUES(
KEY_AS_(mtkCameraParameters::KEY_VIDEO_SIZE),
SCENE_AS_DEFAULT_SCENE(
ITEM_AS_DEFAULT_("640x480"),
ITEM_AS_VALUES_(
"176x144
", "480x320", "640x480",
"864x480", "1280x720", "1920x1080",
)
),
)
#endif
使用不在sensorAvailable List中的YUV sensor 时,或者改动feature table 配置之后
CTS fail issue:
CAMERA CTS 通不过 testGeWithId
(android.media.cts.CamcorderProfileTest)
[ANALYSE]
从log中看,不支持176×144的video size
04-22 08:26:57.365 8361 8374 E CamcorderProfileTest: Size (176x144) is not supported
04-22 08:26:57.366 8361 8374 I TestRunner: failed: testGetWithId(android.media.cts.CamcorderProfileTest)
是使用的sensor 对应的feature table 中video size 提供的不全,未提供176×144的video size导致CTS fail
[SOLUTION]
请参考 Camera php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework&mhal 这个 category 下“ FAQ05993
如何配置MT658x camera的feature table”修改feature table。
在 video size
一项中加入176x144。
#if 1
// Video Size
FTABLE_CONFIG_AS_TYPE_OF_DEFAULT_VALUES(
KEY_AS_(mtkCameraParameters::KEY_VIDEO_SIZE),
SCENE_AS_DEFAULT_SCENE(
ITEM_AS_DEFAULT_("640x480"),
ITEM_AS_VALUES_(
"176x144
", "480x320", "640x480",
"864x480", "1280x720", "1920x1080",
)
),
)
#endif
