/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 77 this->omxNode = _nl; in SetUp() 86 ASSERT_NE(omxNode, nullptr); in SetUp() 121 omxNode->configureVideoTunnelMode( in SetUp() 136 if (omxNode != nullptr) { in TearDown() 141 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown() 142 omxNode = nullptr; in TearDown() 160 sp<IOmxNode> omxNode; member in ComponentHidlTest 203 status = omxNode->dispatchMessage(msgin); in TEST_P() 220 status = setRole(omxNode, role_); in TEST_P() 231 status = setRole(omxNode, role_); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 86 this->omxNode = _nl; in SetUp() 95 ASSERT_NE(omxNode, nullptr); in SetUp() 152 omxNode->configureVideoTunnelMode( in SetUp() 166 if (omxNode != nullptr) { in TearDown() 171 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown() 172 omxNode = nullptr; in TearDown() 259 sp<IOmxNode> omxNode; member in VideoDecHidlTest 279 void setDefaultPortParam(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setDefaultPortParam() argument 287 setupRAWPort(omxNode, portIndex, nFrameWidth, nFrameHeight, in setDefaultPortParam() 299 void getInputChannelInfo(sp<IOmxNode> omxNode, OMX_U32 kPortIndexInput, in getInputChannelInfo() argument [all …]
|
D | media_video_hidl_test_common.h | 25 void enumerateProfileAndLevel(sp<IOmxNode> omxNode, OMX_U32 portIndex, 29 void setupRAWPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 nFrameWidth, 33 void setupAVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, 37 void setupHEVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, 41 void setupMPEG4Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, 45 void setupH263Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, 49 void setupVPXPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 xFramerate); 51 void setupVP8Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, 55 void setupVP9Port(sp<IOmxNode> omxNode, OMX_U32 portIndex,
|
D | media_video_hidl_test_common.cpp | 53 void enumerateProfileAndLevel(sp<IOmxNode> omxNode, OMX_U32 portIndex, in enumerateProfileAndLevel() argument 63 getPortParam(omxNode, OMX_IndexParamVideoProfileLevelQuerySupported, in enumerateProfileAndLevel() 78 void setupRAWPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 nFrameWidth, in setupRAWPort() argument 84 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setupRAWPort() 96 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setupRAWPort() 101 void setupAVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupAVCPort() argument 108 status = getPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, ¶m); in setupAVCPort() 123 status = setPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, ¶m); in setupAVCPort() 127 void setupHEVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupHEVCPort() argument 133 status = getPortParam(omxNode, (OMX_INDEXTYPE)OMX_IndexParamVideoHevc, in setupHEVCPort() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 98 this->omxNode = _nl; in SetUp() 107 ASSERT_NE(omxNode, nullptr); in SetUp() 166 if (omxNode != nullptr) { in TearDown() 171 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown() 172 omxNode = nullptr; in TearDown() 247 sp<IOmxNode> omxNode; member in VideoEncHidlTest 297 omxNode = node; in MockBufferSource() 308 sp<IOmxNode> omxNode; member 323 status = omxNode->emptyBuffer(iBuffer[index].id, t, OMX_BUFFERFLAG_EOS, in onOmxExecuting() 366 void requestIDR(sp<IOmxNode> omxNode, OMX_U32 portIndex) { in requestIDR() argument [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 85 this->omxNode = _nl; in SetUp() 94 ASSERT_NE(omxNode, nullptr); in SetUp() 163 if (omxNode != nullptr) { in TearDown() 168 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown() 169 omxNode = nullptr; in TearDown() 253 sp<IOmxNode> omxNode; member in AudioDecHidlTest 272 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE eEncoding, in setDefaultPortParam() argument 280 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam() 286 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam() 292 setupPCMPort(omxNode, portIndex, nChannels, eNumData, nBitPerSample, in setDefaultPortParam() [all …]
|
D | media_audio_hidl_test_common.h | 25 void enumerateProfile(sp<IOmxNode> omxNode, OMX_U32 portIndex, 28 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, 32 void setupMP3Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, 36 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, 39 void setupOPUSPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, 42 void setupAMRPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nBitRate, 45 void setupVORBISPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, 48 void setupAACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex,
|
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 85 this->omxNode = _nl; in SetUp() 94 ASSERT_NE(omxNode, nullptr); in SetUp() 143 if (omxNode != nullptr) { in TearDown() 148 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown() 149 omxNode = nullptr; in TearDown() 197 sp<IOmxNode> omxNode; member in AudioEncHidlTest 210 void setDefaultPortParam(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setDefaultPortParam() argument 217 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam() 223 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam() 230 enumerateProfile(omxNode, portIndex, &arrProfile); in setDefaultPortParam() [all …]
|
D | media_audio_hidl_test_common.cpp | 52 void enumerateProfile(sp<IOmxNode> omxNode, OMX_U32 portIndex, in enumerateProfile() argument 60 omxNode, (OMX_INDEXTYPE)OMX_IndexParamAudioProfileQuerySupported, in enumerateProfile() 74 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupPCMPort() argument 79 status = getPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, ¶m); in setupPCMPort() 144 status = setPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, ¶m); in setupPCMPort() 148 void setupMP3Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupMP3Port() argument 153 status = getPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, ¶m); in setupMP3Port() 162 status = setPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, ¶m); in setupMP3Port() 166 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupFLACPort() argument 170 status = getPortParam(omxNode, OMX_IndexParamAudioFlac, portIndex, ¶m); in setupFLACPort() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.h | 232 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in getParam() argument 235 omxNode->getParameter( in getParam() 248 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in setParam() argument 250 return omxNode->setParameter(toRawIndexType(omxIdx), in setParam() 256 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortParam() argument 260 omxNode->getParameter( in getPortParam() 273 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in setPortParam() argument 276 return omxNode->setParameter(toRawIndexType(omxIdx), in setPortParam() 282 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortConfig() argument 286 omxNode->getConfig( in getPortConfig() [all …]
|
D | media_hidl_test_common.cpp | 59 Return<android::hardware::media::omx::V1_0::Status> setRole(sp<IOmxNode> omxNode, in setRole() argument 63 return setParam(omxNode, OMX_IndexParamStandardComponentRole, ¶ms); in setRole() 67 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 size) { in setPortBufferSize() argument 71 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize() 77 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize() 87 sp<IOmxNode> omxNode, OMX_U32 portIndex, in setVideoPortFormat() argument 98 status = getPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat() 145 status = setPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat() 152 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE eEncoding) { in setAudioPortFormat() argument 160 status = getPortParam(omxNode, OMX_IndexParamAudioPortFormat, portIndex, in setAudioPortFormat() [all …]
|
/hardware/interfaces/media/omx/1.0/ |
D | IOmx.hal | 61 * @return omxNode The allocated instance of `IOmxNode`. 68 IOmxNode omxNode
|
D | IGraphicBufferSource.hal | 32 configure(IOmxNode omxNode, Dataspace dataspace) generates (Status status);
|
/hardware/interfaces/media/omx/1.0/vts/functional/store/ |
D | VtsHalMediaOmxV1_0TargetStoreTest.cpp | 395 sp<IOmxNode> omxNode = nullptr; in TEST_P() local 404 omxNode = _nl; in TEST_P() 408 if (omxNode == nullptr) { in TEST_P() 413 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TEST_P() 414 omxNode = nullptr; in TEST_P()
|