/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 367 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 …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 311 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/ |
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 277 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/ |
D | media_hidl_test_common.cpp | 374 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 …]
|
D | media_hidl_test_common.h | 314 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/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 500 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 …]
|