Searched refs:portMode (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 140 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in SetUp() 223 portMode[1] == PortMode::PRESET_BYTE_BUFFER) { in handleMessage() 263 PortMode portMode[2]; member in VideoDecHidlTest 802 portMode[0] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 803 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P() 804 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 806 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 808 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 809 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 819 getDefaultColorFormat(omxNode, kPortIndexOutput, portMode[1], in TEST_P() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 1152 PortMode portMode[2]; in TEST_P() local 1153 portMode[0] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P() 1154 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 1155 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 1157 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 1163 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_P() 1252 PortMode portMode[2]; in TEST_P() local 1253 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P() 1254 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 1256 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 514 PortMode portMode[2]; in TEST_P() local 515 initPortMode(portMode, isSecure, compClass); in TEST_P() 516 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() 518 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P() 524 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_P() 530 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_P() 544 dispatchInputBuffer(omxNode, &iBuffer, i, 0, 0, 0, portMode[0])); in TEST_P() 585 PortMode portMode[2]; in TEST_P() local 586 initPortMode(portMode, isSecure, compClass); in TEST_P() 587 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 304 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument 307 if (portMode == PortMode::PRESET_SECURE_BUFFER) { in allocateBuffer() 320 } else if (portMode == PortMode::PRESET_BYTE_BUFFER || in allocateBuffer() 321 portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer() 330 if (portMode != PortMode::PRESET_BYTE_BUFFER) { in allocateBuffer() 344 if (portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer() 359 } else if (portMode == PortMode::PRESET_ANW_BUFFER) { in allocateBuffer() 385 OMX_U32 portIndex, PortMode portMode, bool allocGrap) { in allocatePortBuffers() argument 398 portDef.nBufferSize, portMode)); in allocatePortBuffers() 399 if (allocGrap && portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocatePortBuffers() [all …]
|
D | media_hidl_test_common.h | 360 OMX_U32 nBufferSize, PortMode portMode); 365 PortMode portMode = PortMode::PRESET_BYTE_BUFFER, 372 PortMode* portMode = nullptr, 391 PortMode portMode = PortMode::PRESET_BYTE_BUFFER); 397 PortMode portMode = PortMode::PRESET_BYTE_BUFFER); 413 bool& eosFlag, PortMode* portMode = nullptr,
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 218 Status getPortModeHelper(const std::string portName, PortMode& portMode) { in getPortModeHelper() argument 229 portMode = PortMode::DRP; in getPortModeHelper() 231 portMode = PortMode::UFP; in getPortModeHelper() 233 portMode = PortMode::DFP; in getPortModeHelper()
|