Home
last modified time | relevance | path

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

/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp367 android::Vector<BufferInfo>* oBuffer, in portReconfiguration() argument
384 iBuffer, oBuffer); in portReconfiguration()
397 oBuffer); in portReconfiguration()
400 for (size_t i = 0; i < oBuffer->size(); ++i) { in portReconfiguration()
402 EXPECT_EQ((*oBuffer)[i].owner, client); in portReconfiguration()
405 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration()
410 iBuffer, oBuffer); in portReconfiguration()
440 iBuffer, oBuffer); in portReconfiguration()
446 omxNode, oBuffer, kPortIndexOutput, oPortMode, true)); in portReconfiguration()
448 iBuffer, oBuffer); in portReconfiguration()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp311 android::Vector<BufferInfo> iBuffer, oBuffer; member
540 android::Vector<BufferInfo>* oBuffer, in waitOnInputConsumption() argument
550 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
567 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption()
569 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption()
908 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument
934 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames()
993 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames()
995 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames()
1091 omxNode, observer, &buffersource->iBuffer, &buffersource->oBuffer, in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp277 android::Vector<BufferInfo>* oBuffer) { in waitOnInputConsumption() argument
285 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
298 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption()
300 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption()
309 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument
327 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames()
350 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames()
352 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames()
458 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local
462 &oBuffer, kPortIndexInput, in TEST_F()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp374 android::Vector<BufferInfo>* oBuffer, in changeStateLoadedtoIdle() argument
391 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
399 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
404 omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap)); in changeStateLoadedtoIdle()
407 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
422 android::Vector<BufferInfo>* oBuffer, in changeStateIdletoLoaded() argument
434 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
443 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
446 for (size_t i = 0; i < oBuffer->size(); ++i) { in changeStateIdletoLoaded()
447 status = omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in changeStateIdletoLoaded()
[all …]
Dmedia_hidl_test_common.h314 android::Vector<BufferInfo>* oBuffer,
321 android::Vector<BufferInfo>* oBuffer,
328 android::Vector<BufferInfo>* oBuffer);
345 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput,
351 android::Vector<BufferInfo>* oBuffer,
356 android::Vector<BufferInfo>* oBuffer, bool signalEOS,
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp500 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local
512 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
517 for (size_t i = 0; i < oBuffer.size(); i++) { in TEST_F()
519 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_F()
522 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
536 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
542 changeStateExecutetoIdle(omxNode, observer, &iBuffer, &oBuffer)); in TEST_F()
545 &oBuffer, kPortIndexInput, in TEST_F()
571 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local
588 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
[all …]