Home
last modified time | relevance | path

Searched refs:buffArray (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp384 android::Vector<BufferInfo>* buffArray, in allocatePortBuffers() argument
389 buffArray->clear(); in allocatePortBuffers()
406 buffArray->push(buffer); in allocatePortBuffers()
576 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray) { in getEmptyBufferID() argument
577 android::Vector<BufferInfo>::iterator it = buffArray->begin(); in getEmptyBufferID()
578 while (it != buffArray->end()) { in getEmptyBufferID()
583 buffArray->erase(it); in getEmptyBufferID()
584 buffArray->push_back(backup); in getEmptyBufferID()
585 return buffArray->size() - 1; in getEmptyBufferID()
589 return buffArray->size(); in getEmptyBufferID()
[all …]
Dmedia_hidl_test_common.h363 android::Vector<BufferInfo>* buffArray,
386 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray);
389 android::Vector<BufferInfo>* buffArray,
394 android::Vector<BufferInfo>* buffArray,
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp797 android::Vector<BufferInfo>* buffArray, in dispatchGraphicBuffer() argument
844 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
845 if ((*buffArray)[i].slot == -1) { in dispatchGraphicBuffer()
846 buffArray->editItemAt(i).slot = slot; in dispatchGraphicBuffer()
847 buffArray->editItemAt(i).omxBuffer.nativeHandle = in dispatchGraphicBuffer()
849 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer = in dispatchGraphicBuffer()
854 EXPECT_NE(i, buffArray->size()); in dispatchGraphicBuffer()
855 if (i == buffArray->size()) return 1; in dispatchGraphicBuffer()
863 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
864 if ((*buffArray)[i].slot == slot) { in dispatchGraphicBuffer()
[all …]