立即注册
查看: 621|回复: 1

[展讯开发资料] 紫光展锐Android 9.0 testInputSurface_Grid_Handler

已绑定手机
发表于 2023-5-9 16:27:59 | 显示全部楼层 |阅读模式 来自 广东省深圳市南山区
问题描述(Issue Description)
[CTS\GTS\VTS…Test Step] :
− cd Android-vts/tools
− ./vts-tradefed
− run cts-on-gsi
[CTS/GTS/VTS Version] : VTS 9.0 R14
[GMS/GSI Version]: all
[Security Patch]: 2020-09
[Testing Result]:
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_Grid_Handler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_Grid_NoHandler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_NoGrid_Handler fail
CtsMediaTestCases --android.media.cts.HeifWriterTest#testInputSurface_NoGrid_NoHandler fail
CtsMediaTestCases --android.media.cts.MediaMetadataRetrieverTest#testGetImageAtIndex fail

问题分析(Analysis)
07-30 12:21:07.795 364 489 E FrameDecoder: Unable to convert from format 0x00000015 to 0x7f00a000
07-30 12:21:07.795 364 489 E FrameDecoder: failed to get video frame (err -1010)
The input data of this case should be OMX_COLOR_Format32BitRGBA8888 color format, and the ColorConverter in
Frameworks only support color format conversion from OMX_COLOR_FormatYUV420Planar to
OMX_COLOR_Format32BitRGBA8888, does not support from OMX_COLOR_FormatYUV420SemiPlanar to OMX_COLOR_Format32BitRGBA8888.
But the video hardware decoder of UNISOC device can output YUV data with OMX_COLOR_FormatYUV420SemiPlanar color format, it can not output OMX_COLOR_FormatYUV420Planar color format.
The parameters rgb_buf + 0, rgb_buf + 1, rgb_buf + 2 in the function NV12ToARGBRow_C correspond to the three color components of RGB, but the order of the parameters transmitted in the function YuvPixel is BGR. So this case failed.

解决方案(Solution)
[Solution]:
adding the above issue in the VTS Waiver 9.0_R14 hotlist , waiver approved on VTS 9.0_R14.

[Patch Link]:
NA

结果谷歌反馈信息
谷歌确认此弃权YESdmulabagal@google.com
<dmulabagal@google.co
m> #10Sep 30, 2020
03:53AM
Marked as fixed.
Hi
ken.wang@unisoc.corppartner.
google.com,
As per this bug
https://b.corp.google.co
m/issues/157862405#co
mment10 and reference
bug
https://b.corp.google.co
m/issues/129908793#co
mment32. adding the
above issue in the VTS
Waiver 9.0_R14 hotlist ,
waiver approved on VTS
Google Issue:
https://partnerissuetracker.corp.google.com/issues/169374264



结果详情(如果结果是YES)
使用来自 Partner Android Build (PAB) dashboard 的最新 CTS/GSI/VT S dev builds,来验证失败的测试,测试失败不再发生。NANA


游客,如果您要查看本帖隐藏内容请回复

已绑定手机
发表于 2023-5-9 18:14:33 | 显示全部楼层 来自 湖南省长沙市
谢谢分享!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

合作/建议

TEL: 19168984579

工作时间:
周一到周五 9:00-11:30 13:30-19:30
  • 扫一扫关注公众号
  • 扫一扫打开小程序
Copyright © 2013-2024 一牛网 版权所有 All Rights Reserved. 帮助中心|隐私声明|联系我们|手机版|粤ICP备13053961号|营业执照|EDI证
在本版发帖搜索
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表