![]() |
Banuba SDK
|
Public Types | |
| enum class | camera_format { RGBA , YUV } |
| using | push_frame_cb_t = std::function<void(bnb::full_image_t image)> |
Public Member Functions | |
| camera_base (push_frame_cb_t cb) | |
| virtual void | set_device_by_index (uint32_t index)=0 |
| virtual void | set_device_by_id (const std::string &device_id)=0 |
| virtual void | start ()=0 |
| const std::vector< camera_device_description > | get_connected_devices () const |
| size_t | get_current_device_index () const |
Static Public Attributes | |
| static camera_format | current_format = camera_format::RGBA |
Protected Member Functions | |
| virtual void | abort () |
Protected Attributes | |
| push_frame_cb_t | m_push_frame_cb |
| std::atomic_bool | m_is_abort_requested |
| std::vector< camera_device_description > | m_connected_devices |
| size_t | m_device_index |
| using bnb::camera_base::push_frame_cb_t = std::function<void(bnb::full_image_t image)> |
|
strong |
|
inlineexplicit |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlinestatic |
|
protected |
|
protected |