/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
D | VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 456 android::Vector<BufferInfo>* oBuffer, in portReconfiguration() argument 473 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in portReconfiguration() 475 for (size_t i = 0; i < oBuffer->size(); ++i) { in portReconfiguration() 477 EXPECT_EQ((*oBuffer)[i].owner, client); in portReconfiguration() 480 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration() 485 oBuffer); in portReconfiguration() 518 oBuffer); in portReconfiguration() 523 allocatePortBuffers(omxNode, oBuffer, kPortIndexOutput)); in portReconfiguration() 525 oBuffer); in portReconfiguration() 532 for (size_t i = 0; i < oBuffer->size(); i++) { in portReconfiguration() [all …]
|
D | VtsHalMediaOmxV1_0TargetAudioEncTest.cpp | 279 android::Vector<BufferInfo>* oBuffer) { in waitOnInputConsumption() argument 287 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption() 300 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption() 302 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption() 311 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument 329 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames() 352 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames() 354 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames() 460 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_P() local 464 &oBuffer, kPortIndexInput, in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 376 android::Vector<BufferInfo>* oBuffer, in portReconfiguration() argument 393 iBuffer, oBuffer); in portReconfiguration() 406 oBuffer); in portReconfiguration() 409 for (size_t i = 0; i < oBuffer->size(); ++i) { in portReconfiguration() 411 EXPECT_EQ((*oBuffer)[i].owner, client); in portReconfiguration() 414 omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in portReconfiguration() 419 iBuffer, oBuffer); in portReconfiguration() 449 iBuffer, oBuffer); in portReconfiguration() 455 omxNode, oBuffer, kPortIndexOutput, oPortMode, true)); in portReconfiguration() 457 iBuffer, oBuffer); in portReconfiguration() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 311 android::Vector<BufferInfo> iBuffer, oBuffer; member 595 android::Vector<BufferInfo>* oBuffer, in waitOnInputConsumption() argument 605 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption() 622 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption() 624 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption() 979 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument 1005 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames() 1064 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames() 1066 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames() 1162 omxNode, observer, &buffersource->iBuffer, &buffersource->oBuffer, in TEST_P() [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 415 android::Vector<BufferInfo>* oBuffer, in changeStateLoadedtoIdle() argument 440 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 450 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 456 omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap)); in changeStateLoadedtoIdle() 459 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 474 android::Vector<BufferInfo>* oBuffer, in changeStateIdletoLoaded() argument 494 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 505 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 509 for (size_t i = 0; i < oBuffer->size(); ++i) { in changeStateIdletoLoaded() 510 status = omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in changeStateIdletoLoaded() [all …]
|
D | media_hidl_test_common.h | 370 android::Vector<BufferInfo>* oBuffer, 377 android::Vector<BufferInfo>* oBuffer, 384 android::Vector<BufferInfo>* oBuffer); 401 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput, 407 android::Vector<BufferInfo>* oBuffer, 412 android::Vector<BufferInfo>* oBuffer, bool signalEOS,
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 511 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_P() local 523 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_P() 528 for (size_t i = 0; i < oBuffer.size(); i++) { in TEST_P() 530 dispatchOutputBuffer(omxNode, &oBuffer, i, portMode[1])); in TEST_P() 533 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_P() 547 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_P() 553 changeStateExecutetoIdle(omxNode, observer, &iBuffer, &oBuffer)); in TEST_P() 556 &oBuffer, kPortIndexInput, in TEST_P() 582 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_P() local 599 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_P() [all …]
|