Home
last modified time | relevance | path

Searched refs:kPortIndexOutput (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp378 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput, in portReconfiguration() argument
384 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration()
403 toRawCommandType(OMX_CommandPortDisable), kPortIndexOutput); in portReconfiguration()
415 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration()
426 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
435 kPortIndexOutput, &portDef); in portReconfiguration()
436 setDefaultPortParam(omxNode, kPortIndexOutput, in portReconfiguration()
444 toRawCommandType(OMX_CommandPortEnable), kPortIndexOutput); in portReconfiguration()
456 omxNode, oBuffer, kPortIndexOutput, oPortMode, true)); in portReconfiguration()
463 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1101 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
1111 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
1118 status = setVideoPortFormat(omxNode, kPortIndexOutput, eCompressionFormat, in TEST_F()
1128 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
1136 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
1158 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
1164 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_F()
1175 kPortIndexInput, kPortIndexOutput)); in TEST_F()
1185 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
1193 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp458 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput, in portReconfiguration() argument
467 ASSERT_EQ(msg.data.eventData.data1, kPortIndexOutput); in portReconfiguration()
470 kPortIndexOutput); in portReconfiguration()
481 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration()
491 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
506 setDefaultPortParam(omxNode, kPortIndexOutput, in portReconfiguration()
514 toRawCommandType(OMX_CommandPortEnable), kPortIndexOutput); in portReconfiguration()
524 allocatePortBuffers(omxNode, oBuffer, kPortIndexOutput)); in portReconfiguration()
530 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in portReconfiguration()
550 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput, in waitOnInputConsumption() argument
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp380 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
388 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
392 status = setAudioPortFormat(omxNode, kPortIndexOutput, eEncoding); in TEST_F()
401 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
409 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
454 ASSERT_NO_FATAL_FAILURE(setDefaultPortParam(omxNode, kPortIndexOutput, in TEST_F()
463 kPortIndexOutput)); in TEST_F()
484 kPortIndexOutput)); in TEST_F()
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp255 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
268 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
279 status = setAudioPortFormat(omxNode, kPortIndexOutput, in TEST_F()
287 setAudioPortFormat(omxNode, kPortIndexOutput, OMX_AUDIO_CodingPCM); in TEST_F()
294 status = setVideoPortFormat(omxNode, kPortIndexOutput, in TEST_F()
303 status = setVideoPortFormat(omxNode, kPortIndexOutput, in TEST_F()
316 uint32_t kPortIndexInput = 0, kPortIndexOutput = 1; in TEST_F() local
329 kPortIndexOutput = kPortIndexInput + 1; in TEST_F()
332 for (size_t i = kPortIndexInput; i <= kPortIndexOutput; i++) { in TEST_F()
417 if ((compClass == video_encoder && i == kPortIndexOutput) || in TEST_F()
[all …]
/hardware/google/av/media/sfplugin/
DCodec2InfoBuilder.cpp73 constexpr OMX_U32 kPortIndexOutput = 1; variable
138 param.nPortIndex = isEncoder ? kPortIndexOutput : kPortIndexInput; in queryOmxCapabilities()
173 portFormat.nPortIndex = isEncoder ? kPortIndexInput : kPortIndexOutput; in queryOmxCapabilities()
201 param.nPortIndex = isEncoder ? kPortIndexOutput : kPortIndexInput; in queryOmxCapabilities()
230 kPortIndexOutput, OMX_TRUE, 0, &sidebandHandle) == OK) { in queryOmxCapabilities()
235 kPortIndexOutput, IOMX::kPortModeDynamicANWBuffer) == OK || in queryOmxCapabilities()
237 kPortIndexOutput, OMX_TRUE, in queryOmxCapabilities()
246 params.nPortIndex = kPortIndexOutput; in queryOmxCapabilities()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp417 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput, in changeStateLoadedtoIdle() argument
436 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, kPortIndexOutput, &portDefOutput); in changeStateLoadedtoIdle()
457 omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap)); in changeStateLoadedtoIdle()
477 OMX_U32 kPortIndexOutput) { in changeStateIdletoLoaded() argument
490 status = getPortParam(omxNode, OMX_IndexParamPortDefinition, kPortIndexOutput, &portDefOutput); in changeStateIdletoLoaded()
511 status = omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in changeStateIdletoLoaded()
661 OMX_U32 kPortIndexOutput, int64_t timeoutUs) { in flushPorts() argument
682 kPortIndexOutput); in flushPorts()
689 ASSERT_EQ(msg.data.eventData.data2, kPortIndexOutput); in flushPorts()
703 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput, void* args) { in testEOS() argument
[all …]
Dmedia_hidl_test_common.h357 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput,
364 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput);
388 OMX_U32 kPortIndexOutput,
394 OMX_U32 kPortIndexInput, OMX_U32 kPortIndexOutput,
401 OMX_U32 kPortIndexOutput = 1, void* args = nullptr);