diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-23 12:08:26 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-23 12:08:26 +0100 |
| commit | 3fa8f19daf8b36b0703002d78a84e5bb7919849b (patch) | |
| tree | a82c63aac3b415cb5eddba58ba610213e85f9ae1 /src/camera/ov9281.h | |
| parent | 38acf876313c9bf28e41acd8bc29d6115c1e9285 (diff) | |
add support of inno-maker ov9281
Diffstat (limited to 'src/camera/ov9281.h')
| -rw-r--r-- | src/camera/ov9281.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/camera/ov9281.h b/src/camera/ov9281.h index f70db2f..e989d96 100644 --- a/src/camera/ov9281.h +++ b/src/camera/ov9281.h @@ -37,6 +37,7 @@ public: // TODO: image->pixels in separate thread // TODO: respect sender/receiver threads libcamera::Signal<std::shared_ptr<Pixels>> newPixels; + libcamera::Signal<std::shared_ptr<Image>> newImage; private: explicit OV9281(const std::shared_ptr<libcamera::Camera> &camera); @@ -51,7 +52,7 @@ private: // constants private: - static inline constexpr auto pixelFormat{libcamera::formats::R16}; + static inline constexpr auto pixelFormat{libcamera::formats::R8}; static inline constexpr unsigned int bufferCount{2}; static inline constexpr size_t desiredFPS{144}; @@ -64,5 +65,5 @@ private: std::unique_ptr<libcamera::FrameBufferAllocator> m_allocator{nullptr}; // TODO: set exposureTime from outside - int32_t m_exposureTime{1000}; + int32_t m_exposureTime{100}; }; |
