/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 457 android::Vector<BufferInfo>* oBuffer, in portReconfiguration() argument 474 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in portReconfiguration() 476 for (size_t i = 0; i < oBuffer->size(); ++i) { in portReconfiguration() 478 EXPECT_EQ((*oBuffer)[i].owner, client); in portReconfiguration() 481 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration() 486 oBuffer); in portReconfiguration() 519 oBuffer); in portReconfiguration() 524 allocatePortBuffers(omxNode, oBuffer, kPortIndexOutput)); in portReconfiguration() 526 oBuffer); in portReconfiguration() 533 for (size_t i = 0; i < oBuffer->size(); i++) { in portReconfiguration() [all …]
|
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/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 377 android::Vector<BufferInfo>* oBuffer, in portReconfiguration() argument 394 iBuffer, oBuffer); in portReconfiguration() 407 oBuffer); in portReconfiguration() 410 for (size_t i = 0; i < oBuffer->size(); ++i) { in portReconfiguration() 412 EXPECT_EQ((*oBuffer)[i].owner, client); in portReconfiguration() 415 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration() 420 iBuffer, oBuffer); in portReconfiguration() 450 iBuffer, oBuffer); in portReconfiguration() 456 omxNode, oBuffer, kPortIndexOutput, oPortMode, true)); in portReconfiguration() 458 iBuffer, oBuffer); in portReconfiguration() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 312 android::Vector<BufferInfo> iBuffer, oBuffer; member 596 android::Vector<BufferInfo>* oBuffer, in waitOnInputConsumption() argument 606 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption() 623 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption() 625 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption() 980 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument 1006 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames() 1065 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames() 1067 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames() 1163 omxNode, observer, &buffersource->iBuffer, &buffersource->oBuffer, in TEST_F() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 416 android::Vector<BufferInfo>* oBuffer, in changeStateLoadedtoIdle() argument 441 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 451 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 457 omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap)); in changeStateLoadedtoIdle() 460 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 475 android::Vector<BufferInfo>* oBuffer, in changeStateIdletoLoaded() argument 495 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 506 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 510 for (size_t i = 0; i < oBuffer->size(); ++i) { in changeStateIdletoLoaded() 511 status = omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in changeStateIdletoLoaded() [all …]
|
D | media_hidl_test_common.h | 356 android::Vector<BufferInfo>* oBuffer, 363 android::Vector<BufferInfo>* oBuffer, 370 android::Vector<BufferInfo>* oBuffer); 387 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput, 393 android::Vector<BufferInfo>* oBuffer, 398 android::Vector<BufferInfo>* oBuffer, bool signalEOS,
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 514 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local 526 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F() 531 for (size_t i = 0; i < oBuffer.size(); i++) { in TEST_F() 533 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_F() 536 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_F() 550 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_F() 556 changeStateExecutetoIdle(omxNode, observer, &iBuffer, &oBuffer)); in TEST_F() 559 &oBuffer, kPortIndexInput, in TEST_F() 585 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local 602 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F() [all …]
|