diff options
Diffstat (limited to 'src/camera/innomakerov9281.h')
| -rw-r--r-- | src/camera/innomakerov9281.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/camera/innomakerov9281.h b/src/camera/innomakerov9281.h index ccfe1ac..7f2d206 100644 --- a/src/camera/innomakerov9281.h +++ b/src/camera/innomakerov9281.h @@ -33,7 +33,11 @@ public: bool setLaserLevel(int value) override; - bool getImage(Image &image); + bool setSomething(int value) override; + + // bool getImage(Image &image); + bool getImage(size_t &image); + // Image &getImage(); public: libcamera::Signal<std::shared_ptr<Pixels>> newPixels; @@ -48,7 +52,12 @@ private: private: int m_cam_fd{-1}; static constexpr uint8_t BUFFER_COUNT{3}; + // #ifdef USER_PTR + Image m_images[BUFFER_COUNT]; + // #else uint8_t *video_buffer_ptr[BUFFER_COUNT]; + // #endif // buffer_t m_buf; std::jthread m_streamThread; + static inline std::jthread m_someThread; }; |
