Home
last modified time | relevance | path

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

/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.cpp65 android::Vector<BufferInfo>* buffArray, in allocatePortBuffers() argument
70 buffArray->clear(); in allocatePortBuffers()
90 buffArray->push(buffer); in allocatePortBuffers()
136 buffArray->push(buffer); in allocatePortBuffers()
285 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray) { in getEmptyBufferID() argument
286 android::Vector<BufferInfo>::iterator it = buffArray->begin(); in getEmptyBufferID()
287 while (it != buffArray->end()) { in getEmptyBufferID()
292 buffArray->erase(it); in getEmptyBufferID()
293 buffArray->push_back(backup); in getEmptyBufferID()
294 return buffArray->size() - 1; in getEmptyBufferID()
[all …]
Dmedia_hidl_test_common.h263 android::Vector<BufferInfo>* buffArray,
284 size_t getEmptyBufferID(android::Vector<BufferInfo>* buffArray);
287 android::Vector<BufferInfo>* buffArray,
292 android::Vector<BufferInfo>* buffArray,
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoDecTest.cpp400 android::Vector<BufferInfo>* buffArray, in allocateGraphicBuffers() argument
443 EXPECT_EQ(buffArray->size(), count); in allocateGraphicBuffers()
454 buffArray->editItemAt(i).omxBuffer.nativeHandle = _n2[i]; in allocateGraphicBuffers()
455 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.width = in allocateGraphicBuffers()
457 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.height = in allocateGraphicBuffers()
459 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.stride = _n1; in allocateGraphicBuffers()
460 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.format = in allocateGraphicBuffers()
462 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.usage = in allocateGraphicBuffers()
464 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.layerCount = in allocateGraphicBuffers()
466 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer.id = in allocateGraphicBuffers()
[all …]
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp780 android::Vector<BufferInfo>* buffArray, in dispatchGraphicBuffer() argument
827 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
828 if ((*buffArray)[i].slot == -1) { in dispatchGraphicBuffer()
829 buffArray->editItemAt(i).slot = slot; in dispatchGraphicBuffer()
830 buffArray->editItemAt(i).omxBuffer.nativeHandle = in dispatchGraphicBuffer()
832 buffArray->editItemAt(i).omxBuffer.attr.anwBuffer = in dispatchGraphicBuffer()
837 EXPECT_NE(i, buffArray->size()); in dispatchGraphicBuffer()
838 if (i == buffArray->size()) return 1; in dispatchGraphicBuffer()
846 for (i = 0; i < buffArray->size(); i++) { in dispatchGraphicBuffer()
847 if ((*buffArray)[i].slot == slot) { in dispatchGraphicBuffer()
[all …]