[VTS10.0_r3]VtsHalMediaOmxV1_0Host

问题描述

VtsHalMediaOmxV1_0Host

VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.Flush_M_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortModeConfig_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.StateTransitions_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Idle_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX3_video_decoder.divx3(default)_64bit
VtsHalMediaOmxV1_0Host#ComponentHidlTest.PortEnableDisable_Execute_OMX.MTK.VIDEO.DECODER.DIVX_video_decoder.divx(default)_64bit
Fail:
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:359
Expected equality of these values:
  status
    Which is: 4-byte object <EA-FF FF-FF>
  ::android::hardware::media::omx::V1_0::Status::OK
    Which is: 4-byte object <00-00 00-00>
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:399
Expected: allocateBuffer(omxNode, &buffer, portIndex, portDef.nBufferSize, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/common/media_hidl_test_common.cpp:457
Expected: allocatePortBuffers( omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap) doesn't generate new fatal failures in the current thread.
  Actual: it does.
hardware/interfaces/media/omx/1.0/vts/functional/component/VtsHalMediaOmxV1_0TargetComponentTest.cpp:527
Expected: changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, kPortIndexInput, kPortIndexOutput, portMode) doesn't generate new fatal failures in the current thread.
  Actual: it does.

从log可以看出沒有divx license:

Line 22818: 03-12 07:45:10.007   706   814 E VPUD    : DivX license so is missed

解决方案

疑除xml and cfg的divx decoder:

 

device/mediatek/mt6779/media_codecs_mediatek_video.xml

alps/device/mediatek/mt6765/mtk_omx_core.cfg

 

MTK_ENABLE_DIVX_DECODER同时设置为no

 

以上还是无法解决请提供xml and cfg档

adb pull /vendor/etc/media_codecs_mediatek_video.xml

adb pull /vendor/etc/mtk_omx_core.cfg

作者: RESSRC

个人资源站

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据