Banuba SDK
Loading...
Searching...
No Matches
camera_win.hpp
1#pragma once
2
3#include <bnb/types/base_types.hpp>
4#include <bnb/spal/camera/base.hpp>
5
6#if BNB_OS_WINDOWS
7
8namespace bnb
9{
10 class camera_win : public camera_base
11 {
12 public:
13 explicit camera_win(const camera_base::push_frame_cb_t& cb, size_t index);
14 ~camera_win() override;
15
16 void set_device_by_index(uint32_t index) override;
17 void set_device_by_id(const std::string& device_id) override;
18 void start() override;
19
20 private:
21 struct impl;
22 std::unique_ptr<impl> m_impl;
23 };
24} // namespace bnb
25
26#endif