|
typedef std::optional< cv::Rect > | rect_t |
|
using | push_frame_cb_t = std::function< void(bnb::full_image_t image)> |
|
enum | camera_format { RGBA,
YUV
} |
|
using | push_frame_cb_t = std::function< void(bnb::full_image_t image)> |
|
|
| camera_video_mocker (const camera_base::push_frame_cb_t &cb, uint32_t frame_rate, const std::string &input_file, const rect_t &clip_area) |
|
| camera_video_mocker (const camera_base::push_frame_cb_t &cb, const std::string &input_file, const rect_t &clip_area=std::nullopt) |
|
void | set_device_by_index (uint32_t device_index) override |
|
void | set_device_by_id (const std::string &device_id) override |
|
| camera_base_mocker (const push_frame_cb_t &cb, uint32_t frame_rate=30) |
|
void | set_frame_rate (uint32_t frame_rate) |
|
| camera_base (push_frame_cb_t cb) |
|
const std::vector< camera_device_description > | get_connected_devices () const |
|
size_t | get_current_device_index () const |
|
|
static camera_format | current_format = camera_format::RGBA |
|
void | start () override |
|
virtual void | abort () |
|
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 |
|
Definition at line 20 of file video_mocker.hpp.
The documentation for this class was generated from the following file: