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.cpp140 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
803 portMode[0] = PortMode::PRESET_BYTE_BUFFER; in TEST_P()
804 portMode[1] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P()
805 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P()
807 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P()
809 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P()
810 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P()
820 getDefaultColorFormat(omxNode, kPortIndexOutput, portMode[1], in TEST_P()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp1040 PortMode portMode[2]; in TEST_P() local
1041 portMode[0] = PortMode::DYNAMIC_ANW_BUFFER; in TEST_P()
1042 portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P()
1043 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P()
1045 status = omxNode->setPortMode(kPortIndexOutput, portMode[1]); in TEST_P()
1051 kPortIndexInput, kPortIndexOutput, portMode)); in TEST_P()
1062 kPortIndexOutput, portMode)); in TEST_P()
1140 PortMode portMode[2]; in TEST_P() local
1141 portMode[0] = portMode[1] = PortMode::PRESET_BYTE_BUFFER; in TEST_P()
1142 status = omxNode->setPortMode(kPortIndexInput, portMode[0]); in TEST_P()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp514 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/
Dmedia_hidl_test_common.cpp233 OMX_U32 nBufferSize, PortMode portMode) { in allocateBuffer() argument
236 if (portMode == PortMode::PRESET_SECURE_BUFFER) { in allocateBuffer()
249 } else if (portMode == PortMode::PRESET_BYTE_BUFFER || in allocateBuffer()
250 portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer()
259 if (portMode != PortMode::PRESET_BYTE_BUFFER) { in allocateBuffer()
273 if (portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocateBuffer()
288 } else if (portMode == PortMode::PRESET_ANW_BUFFER) { in allocateBuffer()
314 OMX_U32 portIndex, PortMode portMode, bool allocGrap) { in allocatePortBuffers() argument
327 portDef.nBufferSize, portMode)); in allocatePortBuffers()
328 if (allocGrap && portMode == PortMode::DYNAMIC_ANW_BUFFER) { in allocatePortBuffers()
[all …]
Dmedia_hidl_test_common.h325 OMX_U32 nBufferSize, PortMode portMode);
330 PortMode portMode = PortMode::PRESET_BYTE_BUFFER,
333 void freePortBuffers(android::Vector<BufferInfo>* buffArray, PortMode portMode,
340 PortMode* portMode = nullptr,
346 OMX_U32 kPortIndexOutput, PortMode* portMode = nullptr,
360 PortMode portMode = PortMode::PRESET_BYTE_BUFFER);
366 PortMode portMode = PortMode::PRESET_BYTE_BUFFER);
382 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()