#include <backend-v4l2.h>
|
void | close (stream_profile) override |
|
std::string | fourcc_to_string (uint32_t id) const |
|
std::string | get_device_location () const override |
|
power_state | get_power_state () const override |
|
std::vector< stream_profile > | get_profiles () const override |
|
bool | get_pu (rs2_option opt, int32_t &value) const override |
|
control_range | get_pu_range (rs2_option option) const override |
|
usb_spec | get_usb_specification () const override |
|
bool | get_xu (const extension_unit &xu, uint8_t control, uint8_t *data, int size) const override |
|
control_range | get_xu_range (const extension_unit &xu, uint8_t control, int len) const override |
|
void | init_xu (const extension_unit &) override |
|
void | lock () const override |
|
void | poll () |
|
void | probe_and_commit (stream_profile profile, frame_callback callback, int buffers) override |
|
void | set_power_state (power_state state) override |
|
bool | set_pu (rs2_option opt, int32_t value) override |
|
bool | set_xu (const extension_unit &xu, uint8_t control, const uint8_t *data, int size) override |
|
void | signal_stop () |
|
void | start_callbacks () override |
|
void | stop_callbacks () override |
|
void | stream_on (std::function< void(const notification &n)> error_handler) override |
|
void | unlock () const override |
|
| v4l_uvc_device (const uvc_device_info &info, bool use_memory_map=false) |
|
| ~v4l_uvc_device () override |
|
virtual | ~uvc_device ()=default |
|
Definition at line 255 of file backend-v4l2.h.
librealsense::platform::v4l_uvc_device::v4l_uvc_device |
( |
const uvc_device_info & |
info, |
|
|
bool |
use_memory_map = false |
|
) |
| |
librealsense::platform::v4l_uvc_device::~v4l_uvc_device |
( |
| ) |
|
|
override |
void librealsense::platform::v4l_uvc_device::acquire_metadata |
( |
buffers_mgr & |
buf_mgr, |
|
|
fd_set & |
fds, |
|
|
bool |
compressed_format = false |
|
) |
| |
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::allocate_io_buffers |
( |
size_t |
num | ) |
|
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::capture_loop |
( |
| ) |
|
|
overrideprotectedvirtual |
std::string librealsense::platform::v4l_uvc_device::get_device_location |
( |
| ) |
const |
|
inlineoverridevirtual |
power_state librealsense::platform::v4l_uvc_device::get_power_state |
( |
| ) |
const |
|
inlineoverridevirtual |
std::vector< stream_profile > librealsense::platform::v4l_uvc_device::get_profiles |
( |
| ) |
const |
|
overridevirtual |
bool librealsense::platform::v4l_uvc_device::get_pu |
( |
rs2_option |
opt, |
|
|
int32_t & |
value |
|
) |
| const |
|
overridevirtual |
usb_spec librealsense::platform::v4l_uvc_device::get_usb_specification |
( |
| ) |
const |
|
inlineoverridevirtual |
bool librealsense::platform::v4l_uvc_device::has_metadata |
( |
| ) |
const |
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::lock |
( |
| ) |
const |
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::map_device_descriptor |
( |
| ) |
|
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::negotiate_kernel_buffers |
( |
size_t |
num | ) |
const |
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::poll |
( |
| ) |
|
void librealsense::platform::v4l_uvc_device::prepare_capture_buffers |
( |
| ) |
|
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::set_power_state |
( |
power_state |
state | ) |
|
|
overridevirtual |
bool librealsense::platform::v4l_uvc_device::set_pu |
( |
rs2_option |
opt, |
|
|
int32_t |
value |
|
) |
| |
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::signal_stop |
( |
| ) |
|
void librealsense::platform::v4l_uvc_device::start_callbacks |
( |
| ) |
|
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::stop_callbacks |
( |
| ) |
|
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::stop_data_capture |
( |
| ) |
|
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::stream_on |
( |
std::function< void(const notification &n)> |
error_handler | ) |
|
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::streamoff |
( |
| ) |
const |
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::streamon |
( |
| ) |
const |
|
overrideprotectedvirtual |
void librealsense::platform::v4l_uvc_device::unlock |
( |
| ) |
const |
|
overridevirtual |
void librealsense::platform::v4l_uvc_device::unmap_device_descriptor |
( |
| ) |
|
|
overrideprotectedvirtual |
buffers_mgr librealsense::platform::v4l_uvc_device::_buf_dispatch |
|
protected |
std::vector<std::shared_ptr<buffer> > librealsense::platform::v4l_uvc_device::_buffers |
|
protected |
std::string librealsense::platform::v4l_uvc_device::_device_path = "" |
|
protected |
int librealsense::platform::v4l_uvc_device::_fd = 0 |
|
private |
std::vector<int> librealsense::platform::v4l_uvc_device::_fds |
|
protected |
std::atomic<bool> librealsense::platform::v4l_uvc_device::_is_alive |
|
protected |
std::atomic<bool> librealsense::platform::v4l_uvc_device::_is_capturing |
|
protected |
std::atomic<bool> librealsense::platform::v4l_uvc_device::_is_started |
|
protected |
int librealsense::platform::v4l_uvc_device::_max_fd = 0 |
|
protected |
std::string librealsense::platform::v4l_uvc_device::_name = "" |
|
protected |
std::unique_ptr<named_mutex> librealsense::platform::v4l_uvc_device::_named_mtx |
|
protected |
int librealsense::platform::v4l_uvc_device::_stop_pipe_fd[2] |
|
private |
std::unique_ptr<std::thread> librealsense::platform::v4l_uvc_device::_thread |
|
protected |
bool librealsense::platform::v4l_uvc_device::_use_memory_map |
|
protected |
The documentation for this class was generated from the following files: