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.cpp313 android::Vector<BufferInfo>* buffArray, in allocatePortBuffers() argument
318 buffArray->clear(); in allocatePortBuffers()
335 buffArray->push(buffer); in allocatePortBuffers()
340 void freePortBuffers(android::Vector<BufferInfo>* buffArray, PortMode portMode, bool allocGrap) { in freePortBuffers() argument
341 for (size_t i = 0; i < buffArray->size(); i++) { in freePortBuffers()
345 android::status_t error = allocator.free((*buffArray)[i].handle); in freePortBuffers()
523 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray) { in getEmptyBufferID() argument
524 android::Vector<BufferInfo>::iterator it = buffArray->begin(); in getEmptyBufferID()
525 while (it != buffArray->end()) { in getEmptyBufferID()
530 buffArray->erase(it); in getEmptyBufferID()
[all …]
Dmedia_hidl_test_common.h328 android::Vector<BufferInfo>* buffArray,
333 void freePortBuffers(android::Vector<BufferInfo>* buffArray, PortMode portMode,
355 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray);
358 android::Vector<BufferInfo>* buffArray,
363 android::Vector<BufferInfo>* buffArray,
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp685 android::Vector<BufferInfo>* buffArray, in dispatchGraphicBuffer() argument
732 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
733 if ((*buffArray)[i].slot == -1) { in dispatchGraphicBuffer()
734 buffArray->editItemAt(i).slot = slot; in dispatchGraphicBuffer()
735 buffArray->editItemAt(i).omxBuffer.nativeHandle = in dispatchGraphicBuffer()
737 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer = in dispatchGraphicBuffer()
742 EXPECT_NE(i, buffArray->size()); in dispatchGraphicBuffer()
743 if (i == buffArray->size()) return 1; in dispatchGraphicBuffer()
751 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
752 if ((*buffArray)[i].slot == slot) { in dispatchGraphicBuffer()
[all …]