Home
last modified time | relevance | path

Searched refs:portMode (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp141 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in SetUp()
218 portMode[1] == PortMode::PRESET_BYTE_BUFFER) { in handleMessage()
254 PortMode portMode[2]; member in VideoDecHidlTest
793 portMode[0] = PortMode::PRESET_BYTE_BUFFER; in TEST_F()
794 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_F()
795 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_F()
797 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
799 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_F()
800 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
810 getDefaultColorFormat(omxNode, kPortIndexOutput, portMode[1], in TEST_F()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1081 PortMode portMode[2]; in TEST_F() local
1082 portMode[0] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_F()
1083 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_F()
1084 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_F()
1086 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
1092 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_F()
1181 PortMode portMode[2]; in TEST_F() local
1182 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_F()
1183 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_F()
1185 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp503 PortMode portMode[2]; in TEST_F() local
504 initPortMode(portMode, isSecure, compClass); in TEST_F()
505 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_F()
507 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_F()
513 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_F()
519 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_F()
533 dispatchInputBuffer(omxNode, &iBuffer, i, 0, 0, 0, portMode[0])); in TEST_F()
574 PortMode portMode[2]; in TEST_F() local
575 initPortMode(portMode, isSecure, compClass); in TEST_F()
576 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp263 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument
266 if (portMode == PortMode::PRESET_SECURE_BUFFER) { in allocateBuffer()
279 } else if (portMode == PortMode::PRESET_BYTE_BUFFER || in allocateBuffer()
280 portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer()
289 if (portMode != PortMode::PRESET_BYTE_BUFFER) { in allocateBuffer()
303 if (portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer()
318 } else if (portMode == PortMode::PRESET_ANW_BUFFER) { in allocateBuffer()
344 OMX_U32 portIndex, PortMode portMode, bool allocGrap) { in allocatePortBuffers() argument
357 portDef.nBufferSize, portMode)); in allocatePortBuffers()
358 if (allocGrap && portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocatePortBuffers()
[all …]
Dmedia_hidl_test_common.h304 OMX_U32 nBufferSize, PortMode portMode);
309 PortMode portMode = PortMode::PRESET_BYTE_BUFFER,
316 PortMode* portMode = nullptr,
335 PortMode portMode = PortMode::PRESET_BYTE_BUFFER);
341 PortMode portMode = PortMode::PRESET_BYTE_BUFFER);
357 bool& eosFlag, PortMode* portMode = nullptr,
/hardware/interfaces/usb/1.0/default/
DUsb.cpp218 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()