/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() 454 ASSERT_NO_FATAL_FAILURE(freePortBuffers(oBuffer, oPortMode, true)); in portReconfiguration() 456 omxNode, oBuffer, kPortIndexOutput, oPortMode, true)); in portReconfiguration() [all …]
|
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 309 android::Vector<BufferInfo> iBuffer, oBuffer; member 538 android::Vector<BufferInfo>* oBuffer, in waitOnInputConsumption() argument 548 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption() 565 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in waitOnInputConsumption() 567 dispatchOutputBuffer(omxNode, oBuffer, index)); in waitOnInputConsumption() 867 android::Vector<BufferInfo>* oBuffer, uint32_t nFrames, in encodeNFrames() argument 893 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames() 952 if ((index = getEmptyBufferID(oBuffer)) < oBuffer->size()) { in encodeNFrames() 954 dispatchOutputBuffer(omxNode, oBuffer, index)); in encodeNFrames() 1050 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 | 356 android::Vector<BufferInfo>* oBuffer, in changeStateLoadedtoIdle() argument 381 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 391 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 397 omxNode, oBuffer, kPortIndexOutput, pm[1], allocGrap)); in changeStateLoadedtoIdle() 400 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle() 415 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput, in changeStateIdletoLoaded() argument 439 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 450 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded() 454 for (size_t i = 0; i < oBuffer->size(); ++i) { in changeStateIdletoLoaded() 455 status = omxNode->freeBuffer(kPortIndexOutput, (*oBuffer)[i].id); in changeStateIdletoLoaded() [all …]
|
D | media_hidl_test_common.h | 338 android::Vector<BufferInfo>* oBuffer, 345 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput, 353 android::Vector<BufferInfo>* oBuffer); 370 android::Vector<BufferInfo>* oBuffer, OMX_U32 kPortIndexInput, 376 android::Vector<BufferInfo>* oBuffer, 381 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 …]
|