Home
last modified time | relevance | path

Searched refs:iBuffer (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/audio/
DVtsHalMediaOmxV1_0TargetAudioDecTest.cpp455 android::Vector<BufferInfo>* iBuffer, in portReconfiguration() argument
473 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in portReconfiguration()
484 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
517 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
524 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
546 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
558 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
563 portReconfiguration(omxNode, observer, iBuffer, oBuffer, in waitOnInputConsumption()
570 for (; i < iBuffer->size(); i++) { in waitOnInputConsumption()
571 if ((*iBuffer)[i].owner != client) break; in waitOnInputConsumption()
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp278 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
287 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
293 for (; i < iBuffer->size(); i++) { in waitOnInputConsumption()
294 if ((*iBuffer)[i].owner != client) break; in waitOnInputConsumption()
296 if (i == iBuffer->size()) break; in waitOnInputConsumption()
310 android::Vector<BufferInfo>* iBuffer, in encodeNFrames() argument
329 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames()
336 if ((index = getEmptyBufferID(iBuffer)) < iBuffer->size()) { in encodeNFrames()
338 static_cast<void*>((*iBuffer)[index].mMemory->getPointer())); in encodeNFrames()
340 static_cast<int>((*iBuffer)[index].mMemory->getSize())); in encodeNFrames()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp375 android::Vector<BufferInfo>* iBuffer, in portReconfiguration() argument
393 iBuffer, oBuffer); in portReconfiguration()
405 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
419 iBuffer, oBuffer); in portReconfiguration()
449 iBuffer, oBuffer); in portReconfiguration()
458 iBuffer, oBuffer); in portReconfiguration()
503 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
514 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
518 omxNode, observer, iBuffer, oBuffer, kPortIndexInput, in waitOnInputConsumption()
524 for (; i < iBuffer->size(); i++) { in waitOnInputConsumption()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp309 android::Vector<BufferInfo> iBuffer, oBuffer; member
317 if ((index = getEmptyBufferID(&iBuffer)) < iBuffer.size()) { in onOmxExecuting()
319 CodecBuffer t = iBuffer[index].omxBuffer; in onOmxExecuting()
323 status = omxNode->emptyBuffer(iBuffer[index].id, t, OMX_BUFFERFLAG_EOS, in onOmxExecuting()
328 iBuffer.editItemAt(index).owner = component; in onOmxExecuting()
356 for (i = 0; i < iBuffer.size(); i++) { in onInputBufferEmptied()
357 if (iBuffer[i].id == buffer) { in onInputBufferEmptied()
358 iBuffer.editItemAt(i).owner = client; in onInputBufferEmptied()
537 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
548 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp355 android::Vector<BufferInfo>* iBuffer, in changeStateLoadedtoIdle() argument
381 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
387 omxNode, iBuffer, kPortIndexInput, pm[0], allocGrap)); in changeStateLoadedtoIdle()
391 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
400 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
414 android::Vector<BufferInfo>* iBuffer, in changeStateIdletoLoaded() argument
439 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
443 for (size_t i = 0; i < iBuffer->size(); ++i) { in changeStateIdletoLoaded()
444 status = omxNode->freeBuffer(kPortIndexInput, (*iBuffer)[i].id); in changeStateIdletoLoaded()
450 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
[all …]
Dmedia_hidl_test_common.h337 android::Vector<BufferInfo>* iBuffer,
344 android::Vector<BufferInfo>* iBuffer,
352 android::Vector<BufferInfo>* iBuffer,
369 android::Vector<BufferInfo>* iBuffer,
375 android::Vector<BufferInfo>* iBuffer,
380 android::Vector<BufferInfo>* iBuffer,
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp511 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_P() local
523 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_P()
533 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_P()
542 for (size_t i = 0; i < iBuffer.size(); i++) { in TEST_P()
544 dispatchInputBuffer(omxNode, &iBuffer, i, 0, 0, 0, portMode[0])); 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()
555 ASSERT_NO_FATAL_FAILURE(changeStateIdletoLoaded(omxNode, observer, &iBuffer, in TEST_P()
582 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_P() local
599 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_P()
[all …]