Home
last modified time | relevance | path

Searched refs:omxNode (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp77 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/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp86 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 …]
Dmedia_video_hidl_test_common.h25 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,
Dmedia_video_hidl_test_common.cpp53 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, &param); in setupAVCPort()
123 status = setPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, &param); 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 …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp100 this->omxNode = _nl; in SetUp()
109 ASSERT_NE(omxNode, nullptr); in SetUp()
168 if (omxNode != nullptr) { in TearDown()
173 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
174 omxNode = nullptr; in TearDown()
249 sp<IOmxNode> omxNode; member in VideoEncHidlTest
299 omxNode = node; in DummyBufferSource()
310 sp<IOmxNode> omxNode; member
325 status = omxNode->emptyBuffer(iBuffer[index].id, t, OMX_BUFFERFLAG_EOS, in onOmxExecuting()
423 void requestIDR(sp<IOmxNode> omxNode, OMX_U32 portIndex) { in requestIDR() argument
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp85 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 …]
Dmedia_audio_hidl_test_common.h25 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,
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp85 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 …]
Dmedia_audio_hidl_test_common.cpp52 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, &param); in setupPCMPort()
144 status = setPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, &param); in setupPCMPort()
148 void setupMP3Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupMP3Port() argument
153 status = getPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, &param); in setupMP3Port()
162 status = setPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, &param); in setupMP3Port()
166 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupFLACPort() argument
170 status = getPortParam(omxNode, OMX_IndexParamAudioFlac, portIndex, &param); in setupFLACPort()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp65 Return<android::hardware::media::omx::V1_0::Status> setRole(sp<IOmxNode> omxNode, in setRole() argument
69 return setParam(omxNode, OMX_IndexParamStandardComponentRole, &params); in setRole()
73 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 size) { in setPortBufferSize() argument
77 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize()
83 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize()
93 sp<IOmxNode> omxNode, OMX_U32 portIndex, in setVideoPortFormat() argument
104 status = getPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat()
151 status = setPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat()
158 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE eEncoding) { in setAudioPortFormat() argument
166 status = getPortParam(omxNode, OMX_IndexParamAudioPortFormat, portIndex, in setAudioPortFormat()
[all …]
Dmedia_hidl_test_common.h238 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in getParam() argument
241 omxNode->getParameter( in getParam()
254 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in setParam() argument
256 return omxNode->setParameter(toRawIndexType(omxIdx), in setParam()
262 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortParam() argument
266 omxNode->getParameter( in getPortParam()
279 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in setPortParam() argument
282 return omxNode->setParameter(toRawIndexType(omxIdx), in setPortParam()
288 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortConfig() argument
292 omxNode->getConfig( in getPortConfig()
[all …]
/hardware/interfaces/media/omx/1.0/
DIOmx.hal61 * @return omxNode The allocated instance of `IOmxNode`.
68 IOmxNode omxNode
DIGraphicBufferSource.hal32 configure(IOmxNode omxNode, Dataspace dataspace) generates (Status status);
/hardware/interfaces/media/omx/1.0/vts/functional/master/
DVtsHalMediaOmxV1_0TargetMasterTest.cpp393 sp<IOmxNode> omxNode = nullptr; in TEST_P() local
402 omxNode = _nl; in TEST_P()
406 if (omxNode == nullptr) { in TEST_P()
411 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TEST_P()
412 omxNode = nullptr; in TEST_P()