Searched refs:buffArray (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | media_hidl_test_common.cpp | 313 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 …]
|
D | media_hidl_test_common.h | 327 android::Vector<BufferInfo>* buffArray, 332 void freePortBuffers(android::Vector<BufferInfo>* buffArray, PortMode portMode, 354 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray); 357 android::Vector<BufferInfo>* buffArray, 362 android::Vector<BufferInfo>* buffArray,
|
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
D | VtsHalMediaOmxV1_0TargetVideoEncTest.cpp | 682 android::Vector<BufferInfo>* buffArray, in dispatchGraphicBuffer() argument 729 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer() 730 if ((*buffArray)[i].slot == -1) { in dispatchGraphicBuffer() 731 buffArray->editItemAt(i).slot = slot; in dispatchGraphicBuffer() 732 buffArray->editItemAt(i).omxBuffer.nativeHandle = in dispatchGraphicBuffer() 734 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer = in dispatchGraphicBuffer() 739 EXPECT_NE(i, buffArray->size()); in dispatchGraphicBuffer() 740 if (i == buffArray->size()) return 1; in dispatchGraphicBuffer() 748 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer() 749 if ((*buffArray)[i].slot == slot) { in dispatchGraphicBuffer() [all …]
|