diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-19 18:42:39 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-11-19 18:42:39 +0100 |
| commit | 0d91425d3b10249aa3942d3151daf0a1e41e7b22 (patch) | |
| tree | bca3980355f6cda7b6344d21f141b8efb11a993d /src/camera/veyeimx287m.h | |
| parent | 33467d4924e2b7c63316435764c6909e681f7007 (diff) | |
minor refactoring
Diffstat (limited to 'src/camera/veyeimx287m.h')
| -rw-r--r-- | src/camera/veyeimx287m.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/camera/veyeimx287m.h b/src/camera/veyeimx287m.h index 03b7df9..7946d2f 100644 --- a/src/camera/veyeimx287m.h +++ b/src/camera/veyeimx287m.h @@ -101,14 +101,12 @@ private: struct buffer { - unsigned int idx{std::numeric_limits<unsigned int>::max()}; - unsigned int padding[VIDEO_MAX_PLANES]{ - std::numeric_limits<unsigned int>::max()}; - unsigned int size[VIDEO_MAX_PLANES]{ - std::numeric_limits<unsigned int>::max()}; - void *mem[VIDEO_MAX_PLANES]{nullptr}; + unsigned int padding[VIDEO_MAX_PLANES]{std::numeric_limits<unsigned int>::max()}; + unsigned int size[VIDEO_MAX_PLANES]{std::numeric_limits<unsigned int>::max()}; + // void *mem[VIDEO_MAX_PLANES]{nullptr}; + void *mem{nullptr}; }; - std::vector<buffer> buffers; + std::vector<buffer> m_buffers; // std::mutex m_queueMtx; std::mutex m_camMtx; |
