5 #include "../backend.h" 7 #include "../usb/usb-messenger.h" 8 #include "../usb/usb-enumerator.h" 9 #include "../concurrency.h" 30 struct profile_and_callback
44 virtual void start_callbacks()
override;
45 virtual void stop_callbacks()
override;
49 virtual power_state get_power_state()
const override;
60 virtual std::vector<stream_profile> get_profiles()
const override;
62 virtual void lock()
const override;
63 virtual void unlock()
const override;
65 virtual std::string get_device_location()
const override;
66 virtual usb_spec get_usb_specification()
const override;
71 void close_uvc_device();
73 usb_status probe_stream_ctrl(
const std::shared_ptr<uvc_stream_ctrl_t>& control);
75 usb_status query_stream_ctrl(
const std::shared_ptr<uvc_stream_ctrl_t>& control,
uint8_t probe,
int req);
76 std::vector<uvc_format_t> get_available_formats_all()
const;
83 void stop_stream_cleanup(
const stream_profile& profile, std::vector<profile_and_callback>::iterator& elem);
84 void check_connection()
const;
88 void set_data_usb(
uvc_req_code action,
int control,
int unit,
int value)
const;
90 void listen_to_interrupts();
static const textual_icon lock
static const textual_icon unlock
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
GLsizei const GLchar *const * string
def info(name, value, persistent=False)
GLint GLint GLsizei GLint GLenum format
const base::type::char_t * unit
void( uvc_frame_callback_t)(struct librealsense::platform::frame_object *frame, void *user_ptr)
GLenum GLuint GLenum GLsizei length
const uint8_t DEFAULT_V4L2_FRAME_BUFFERS