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.cpp456 android::Vector<BufferInfo>* iBuffer, in portReconfiguration() argument
474 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in portReconfiguration()
485 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
518 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
525 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
547 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
559 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
564 portReconfiguration(omxNode, observer, iBuffer, oBuffer, in waitOnInputConsumption()
571 for (; i < iBuffer->size(); i++) { in waitOnInputConsumption()
572 if ((*iBuffer)[i].owner != client) break; in waitOnInputConsumption()
[all …]
DVtsHalMediaOmxV1_0TargetAudioEncTest.cpp276 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
285 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
291 for (; i < iBuffer->size(); i++) { in waitOnInputConsumption()
292 if ((*iBuffer)[i].owner != client) break; in waitOnInputConsumption()
294 if (i == iBuffer->size()) break; in waitOnInputConsumption()
308 android::Vector<BufferInfo>* iBuffer, in encodeNFrames() argument
327 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in encodeNFrames()
334 if ((index = getEmptyBufferID(iBuffer)) < iBuffer->size()) { in encodeNFrames()
336 static_cast<void*>((*iBuffer)[index].mMemory->getPointer())); in encodeNFrames()
338 static_cast<int>((*iBuffer)[index].mMemory->getSize())); in encodeNFrames()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp376 android::Vector<BufferInfo>* iBuffer, in portReconfiguration() argument
394 iBuffer, oBuffer); in portReconfiguration()
406 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, in portReconfiguration()
420 iBuffer, oBuffer); in portReconfiguration()
450 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.cpp312 android::Vector<BufferInfo> iBuffer, oBuffer; member
320 if ((index = getEmptyBufferID(&iBuffer)) < iBuffer.size()) { in onOmxExecuting()
322 CodecBuffer t = iBuffer[index].omxBuffer; in onOmxExecuting()
326 status = omxNode->emptyBuffer(iBuffer[index].id, t, OMX_BUFFERFLAG_EOS, in onOmxExecuting()
331 iBuffer.editItemAt(index).owner = component; in onOmxExecuting()
359 for (i = 0; i < iBuffer.size(); i++) { in onInputBufferEmptied()
360 if (iBuffer[i].id == buffer) { in onInputBufferEmptied()
361 iBuffer.editItemAt(i).owner = client; in onInputBufferEmptied()
595 android::Vector<BufferInfo>* iBuffer, in waitOnInputConsumption() argument
606 observer->dequeueMessage(&msg, DEFAULT_TIMEOUT_Q, iBuffer, oBuffer); in waitOnInputConsumption()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp415 android::Vector<BufferInfo>* iBuffer, in changeStateLoadedtoIdle() argument
441 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
447 omxNode, iBuffer, kPortIndexInput, pm[0], allocGrap)); in changeStateLoadedtoIdle()
451 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
460 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateLoadedtoIdle()
474 android::Vector<BufferInfo>* iBuffer, in changeStateIdletoLoaded() argument
495 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
499 for (size_t i = 0; i < iBuffer->size(); ++i) { in changeStateIdletoLoaded()
500 status = omxNode->freeBuffer(kPortIndexInput, (*iBuffer)[i].id); in changeStateIdletoLoaded()
506 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, iBuffer, oBuffer); in changeStateIdletoLoaded()
[all …]
Dmedia_hidl_test_common.h355 android::Vector<BufferInfo>* iBuffer,
362 android::Vector<BufferInfo>* iBuffer,
369 android::Vector<BufferInfo>* iBuffer,
386 android::Vector<BufferInfo>* iBuffer,
392 android::Vector<BufferInfo>* iBuffer,
397 android::Vector<BufferInfo>* iBuffer,
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp514 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local
526 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
536 ASSERT_NO_FATAL_FAILURE(flushPorts(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
545 for (size_t i = 0; i < iBuffer.size(); i++) { in TEST_F()
547 dispatchInputBuffer(omxNode, &iBuffer, i, 0, 0, 0, portMode[0])); 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()
558 ASSERT_NO_FATAL_FAILURE(changeStateIdletoLoaded(omxNode, observer, &iBuffer, in TEST_F()
585 android::Vector<BufferInfo> iBuffer, oBuffer; in TEST_F() local
602 changeStateLoadedtoIdle(omxNode, observer, &iBuffer, &oBuffer, in TEST_F()
[all …]