Merge "Reserves memory for external buffers" into rvc-dev
This commit is contained in:
commit
5f86b51408
1 changed files with 1 additions and 0 deletions
|
@ -2262,6 +2262,7 @@ TEST_P(EvsHidlTest, CameraStreamExternalBuffering) {
|
||||||
|
|
||||||
// Allocate buffers to use
|
// Allocate buffers to use
|
||||||
hidl_vec<BufferDesc> buffers;
|
hidl_vec<BufferDesc> buffers;
|
||||||
|
buffers.resize(kBuffersToHold);
|
||||||
for (auto i = 0; i < kBuffersToHold; ++i) {
|
for (auto i = 0; i < kBuffersToHold; ++i) {
|
||||||
unsigned pixelsPerLine;
|
unsigned pixelsPerLine;
|
||||||
buffer_handle_t memHandle = nullptr;
|
buffer_handle_t memHandle = nullptr;
|
||||||
|
|
Loading…
Reference in a new issue