Home
last modified time | relevance | path

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

/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp80 this->omxNode = _nl; in SetUp()
89 ASSERT_NE(omxNode, nullptr); in SetUp()
127 omxNode->configureVideoTunnelMode( in SetUp()
142 if (omxNode != nullptr) { in TearDown()
147 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
148 omxNode = nullptr; in TearDown()
163 sp<IOmxNode> omxNode; member in ComponentHidlTest
206 status = omxNode->dispatchMessage(msgin); in TEST_F()
223 status = setRole(omxNode, gEnv->getRole().c_str()); in TEST_F()
234 status = setRole(omxNode, gEnv->getRole().c_str()); in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp87 this->omxNode = _nl; in SetUp()
96 ASSERT_NE(omxNode, nullptr); in SetUp()
156 omxNode->configureVideoTunnelMode( in SetUp()
170 if (omxNode != nullptr) { in TearDown()
175 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
176 omxNode = nullptr; in TearDown()
260 sp<IOmxNode> omxNode; member in VideoDecHidlTest
280 void setDefaultPortParam(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setDefaultPortParam() argument
288 setupRAWPort(omxNode, portIndex, nFrameWidth, nFrameHeight, in setDefaultPortParam()
300 void getInputChannelInfo(sp<IOmxNode> omxNode, OMX_U32 kPortIndexInput, in getInputChannelInfo() argument
[all …]
Dmedia_video_hidl_test_common.h23 void enumerateProfileAndLevel(sp<IOmxNode> omxNode, OMX_U32 portIndex,
27 void setupRAWPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 nFrameWidth,
31 void setupAVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex,
35 void setupHEVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex,
39 void setupMPEG4Port(sp<IOmxNode> omxNode, OMX_U32 portIndex,
43 void setupH263Port(sp<IOmxNode> omxNode, OMX_U32 portIndex,
47 void setupVPXPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 xFramerate);
49 void setupVP8Port(sp<IOmxNode> omxNode, OMX_U32 portIndex,
53 void setupVP9Port(sp<IOmxNode> omxNode, OMX_U32 portIndex,
Dmedia_video_hidl_test_common.cpp54 void enumerateProfileAndLevel(sp<IOmxNode> omxNode, OMX_U32 portIndex, in enumerateProfileAndLevel() argument
64 getPortParam(omxNode, OMX_IndexParamVideoProfileLevelQuerySupported, in enumerateProfileAndLevel()
79 void setupRAWPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 nFrameWidth, in setupRAWPort() argument
85 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setupRAWPort()
97 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setupRAWPort()
102 void setupAVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupAVCPort() argument
109 status = getPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, &param); in setupAVCPort()
124 status = setPortParam(omxNode, OMX_IndexParamVideoAvc, portIndex, &param); in setupAVCPort()
128 void setupHEVCPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupHEVCPort() argument
134 status = getPortParam(omxNode, (OMX_INDEXTYPE)OMX_IndexParamVideoHevc, in setupHEVCPort()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp101 this->omxNode = _nl; in SetUp()
110 ASSERT_NE(omxNode, nullptr); in SetUp()
172 if (omxNode != nullptr) { in TearDown()
177 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
178 omxNode = nullptr; in TearDown()
250 sp<IOmxNode> omxNode; member in VideoEncHidlTest
300 omxNode = node; in DummyBufferSource()
311 sp<IOmxNode> omxNode; member
326 status = omxNode->emptyBuffer(iBuffer[index].id, t, OMX_BUFFERFLAG_EOS, in onOmxExecuting()
424 void requestIDR(sp<IOmxNode> omxNode, OMX_U32 portIndex) { in requestIDR() argument
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp86 this->omxNode = _nl; in SetUp()
95 ASSERT_NE(omxNode, nullptr); in SetUp()
167 if (omxNode != nullptr) { in TearDown()
172 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
173 omxNode = nullptr; in TearDown()
254 sp<IOmxNode> omxNode; member in AudioDecHidlTest
273 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE eEncoding, in setDefaultPortParam() argument
281 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam()
287 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam()
293 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.cpp86 this->omxNode = _nl; in SetUp()
95 ASSERT_NE(omxNode, nullptr); in SetUp()
144 if (omxNode != nullptr) { in TearDown()
149 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TearDown()
150 omxNode = nullptr; in TearDown()
195 sp<IOmxNode> omxNode; member in AudioEncHidlTest
208 void setDefaultPortParam(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setDefaultPortParam() argument
215 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam()
221 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setDefaultPortParam()
228 enumerateProfile(omxNode, portIndex, &arrProfile); in setDefaultPortParam()
[all …]
Dmedia_audio_hidl_test_common.cpp53 void enumerateProfile(sp<IOmxNode> omxNode, OMX_U32 portIndex, in enumerateProfile() argument
61 omxNode, (OMX_INDEXTYPE)OMX_IndexParamAudioProfileQuerySupported, in enumerateProfile()
75 void setupPCMPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupPCMPort() argument
80 status = getPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, &param); in setupPCMPort()
145 status = setPortParam(omxNode, OMX_IndexParamAudioPcm, portIndex, &param); in setupPCMPort()
149 void setupMP3Port(sp<IOmxNode> omxNode, OMX_U32 portIndex, in setupMP3Port() argument
154 status = getPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, &param); in setupMP3Port()
163 status = setPortParam(omxNode, OMX_IndexParamAudioMp3, portIndex, &param); in setupMP3Port()
167 void setupFLACPort(sp<IOmxNode> omxNode, OMX_U32 portIndex, int32_t nChannels, in setupFLACPort() argument
171 status = getPortParam(omxNode, OMX_IndexParamAudioFlac, portIndex, &param); in setupFLACPort()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp67 sp<IOmxNode> omxNode, const char* role) { in setRole() argument
70 return setParam(omxNode, OMX_IndexParamStandardComponentRole, &params); in setRole()
74 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_U32 size) { in setPortBufferSize() argument
78 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize()
84 status = setPortParam(omxNode, OMX_IndexParamPortDefinition, portIndex, in setPortBufferSize()
94 sp<IOmxNode> omxNode, OMX_U32 portIndex, in setVideoPortFormat() argument
105 status = getPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat()
152 status = setPortParam(omxNode, OMX_IndexParamVideoPortFormat, portIndex, in setVideoPortFormat()
159 sp<IOmxNode> omxNode, OMX_U32 portIndex, OMX_AUDIO_CODINGTYPE eEncoding) { in setAudioPortFormat() argument
167 status = getPortParam(omxNode, OMX_IndexParamAudioPortFormat, portIndex, in setAudioPortFormat()
[all …]
Dmedia_hidl_test_common.h224 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in getParam() argument
227 omxNode->getParameter( in getParam()
240 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, T* params) { in setParam() argument
242 return omxNode->setParameter(toRawIndexType(omxIdx), in setParam()
248 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortParam() argument
252 omxNode->getParameter( in getPortParam()
265 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in setPortParam() argument
268 return omxNode->setParameter(toRawIndexType(omxIdx), in setPortParam()
274 sp<IOmxNode> omxNode, OMX_INDEXTYPE omxIdx, OMX_U32 nPortIndex, T* params) { in getPortConfig() argument
278 omxNode->getConfig( in getPortConfig()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/master/
DVtsHalMediaOmxV1_0TargetMasterTest.cpp149 sp<IOmxNode> omxNode = nullptr; in TEST_F() local
158 omxNode = _nl; in TEST_F()
162 if (omxNode == nullptr) { in TEST_F()
167 EXPECT_TRUE((omxNode->freeNode()).isOk()); in TEST_F()
168 omxNode = nullptr; in TEST_F()
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp122 sp<LWOmxNode> omxNode = new LWOmxNode(tOmxNode); in queryOmxCapabilities() local
124 status_t err = SetComponentRole(omxNode, role); in queryOmxCapabilities()
126 omxNode->freeNode(); in queryOmxCapabilities()
142 status_t err = omxNode->getParameter( in queryOmxCapabilities()
176 status_t err = omxNode->getParameter( in queryOmxCapabilities()
185 omxNode, portFormat.eColorFormat, false /* usingNativeWindow */, in queryOmxCapabilities()
204 status_t err = omxNode->getParameter( in queryOmxCapabilities()
229 if (omxNode->configureVideoTunnelMode( in queryOmxCapabilities()
234 } else if (omxNode->setPortMode( in queryOmxCapabilities()
236 omxNode->prepareForAdaptivePlayback( in queryOmxCapabilities()
[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);