Merge "Reserves memory for external buffers" into rvc-dev

This commit is contained in:
TreeHugger Robot 2020-06-22 18:16:48 +00:00 committed by Android (Google) Code Review
commit 5f86b51408

View file

@ -2262,6 +2262,7 @@ TEST_P(EvsHidlTest, CameraStreamExternalBuffering) {
// Allocate buffers to use
hidl_vec<BufferDesc> buffers;
buffers.resize(kBuffersToHold);
for (auto i = 0; i < kBuffersToHold; ++i) {
unsigned pixelsPerLine;
buffer_handle_t memHandle = nullptr;