/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 378 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 …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 1101 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/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 458 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 …]
|
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 380 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/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 255 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/ |
D | Codec2InfoBuilder.cpp | 73 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/ |
D | media_hidl_test_common.cpp | 417 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 …]
|
D | media_hidl_test_common.h | 357 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);
|