Classes | Typedefs | Functions
rsimpl::uvc Namespace Reference

Classes

struct  extension_unit
 
struct  guid
 

Typedefs

typedef std::function< void(const unsigned char *data, const int size)> data_channel_callback
 
typedef std::function< void(const void *frame, std::function< void()> continuation)> video_channel_callback
 

Functions

void bulk_transfer (device &device, unsigned char endpoint, void *data, int length, int *actual_length, unsigned int timeout)
 
void claim_aux_interface (device &device, const guid &interface_guid, int interface_number)
 
void claim_interface (device &device, const guid &interface_guid, int interface_number)
 
std::shared_ptr< context > create_context ()
 
void get_control (const device &device, const extension_unit &xu, uint8_t ctrl, void *data, int len)
 
void get_control_with_retry (const device &device, const extension_unit &xu, uint8_t ctrl, void *data, int len)
 
void get_extension_control_range (const device &device, const extension_unit &xu, char control, int *min, int *max, int *step, int *def)
 
int get_product_id (const device &device)
 
int get_pu_control (const device &device, int subdevice, rs_option option)
 
void get_pu_control_range (const device &device, int subdevice, rs_option option, int *min, int *max, int *step, int *def)
 
int get_pu_control_with_retry (const device &device, int subdevice, rs_option option)
 
std::string get_usb_port_id (const device &device)
 
int get_vendor_id (const device &device)
 
bool is_device_connected (device &device, int vid, int pid)
 
bool is_pu_control (rs_option option)
 
std::vector< std::shared_ptr< device > > query_devices (std::shared_ptr< context > context)
 
void set_control (device &device, const extension_unit &xu, uint8_t ctrl, void *data, int len)
 
void set_control_with_retry (device &device, const extension_unit &xu, uint8_t ctrl, void *data, int len)
 
void set_pu_control (device &device, int subdevice, rs_option option, int value)
 
void set_pu_control_with_retry (device &device, int subdevice, rs_option option, int value)
 
void set_subdevice_data_channel_handler (device &device, int subdevice_index, data_channel_callback callback)
 
void set_subdevice_mode (device &device, int subdevice_index, int width, int height, uint32_t fourcc, int fps, video_channel_callback callback)
 
void start_data_acquisition (device &device)
 
void start_streaming (device &device, int num_transfer_bufs)
 
void stop_data_acquisition (device &device)
 
void stop_streaming (device &device)
 

Typedef Documentation

typedef std::function<void(const unsigned char * data, const int size)> rsimpl::uvc::data_channel_callback

Definition at line 57 of file uvc.h.

typedef std::function<void(const void * frame, std::function<void()> continuation)> rsimpl::uvc::video_channel_callback

Definition at line 64 of file uvc.h.

Function Documentation

void rsimpl::uvc::bulk_transfer ( device &  device,
unsigned char  endpoint,
void data,
int  length,
int actual_length,
unsigned int  timeout 
)
void rsimpl::uvc::claim_aux_interface ( device &  device,
const guid interface_guid,
int  interface_number 
)
void rsimpl::uvc::claim_interface ( device &  device,
const guid interface_guid,
int  interface_number 
)
std::shared_ptr<context> rsimpl::uvc::create_context ( )
void rsimpl::uvc::get_control ( const device &  device,
const extension_unit xu,
uint8_t  ctrl,
void data,
int  len 
)
void rsimpl::uvc::get_control_with_retry ( const device &  device,
const extension_unit xu,
uint8_t  ctrl,
void data,
int  len 
)
inline

Definition at line 105 of file uvc.h.

void rsimpl::uvc::get_extension_control_range ( const device &  device,
const extension_unit xu,
char  control,
int min,
int max,
int step,
int def 
)
int rsimpl::uvc::get_product_id ( const device &  device)
int rsimpl::uvc::get_pu_control ( const device &  device,
int  subdevice,
rs_option  option 
)
void rsimpl::uvc::get_pu_control_range ( const device &  device,
int  subdevice,
rs_option  option,
int min,
int max,
int step,
int def 
)
int rsimpl::uvc::get_pu_control_with_retry ( const device &  device,
int  subdevice,
rs_option  option 
)
inline

Definition at line 83 of file uvc.h.

std::string rsimpl::uvc::get_usb_port_id ( const device &  device)
int rsimpl::uvc::get_vendor_id ( const device &  device)
bool rsimpl::uvc::is_device_connected ( device &  device,
int  vid,
int  pid 
)
bool rsimpl::uvc::is_pu_control ( rs_option  option)
inline

Definition at line 46 of file uvc.h.

std::vector<std::shared_ptr<device> > rsimpl::uvc::query_devices ( std::shared_ptr< context >  context)
void rsimpl::uvc::set_control ( device &  device,
const extension_unit xu,
uint8_t  ctrl,
void data,
int  len 
)
void rsimpl::uvc::set_control_with_retry ( device &  device,
const extension_unit xu,
uint8_t  ctrl,
void data,
int  len 
)
inline

Definition at line 94 of file uvc.h.

void rsimpl::uvc::set_pu_control ( device &  device,
int  subdevice,
rs_option  option,
int  value 
)
void rsimpl::uvc::set_pu_control_with_retry ( device &  device,
int  subdevice,
rs_option  option,
int  value 
)
inline

Definition at line 71 of file uvc.h.

void rsimpl::uvc::set_subdevice_data_channel_handler ( device &  device,
int  subdevice_index,
data_channel_callback  callback 
)
void rsimpl::uvc::set_subdevice_mode ( device &  device,
int  subdevice_index,
int  width,
int  height,
uint32_t  fourcc,
int  fps,
video_channel_callback  callback 
)
void rsimpl::uvc::start_data_acquisition ( device &  device)
void rsimpl::uvc::start_streaming ( device &  device,
int  num_transfer_bufs 
)
void rsimpl::uvc::stop_data_acquisition ( device &  device)
void rsimpl::uvc::stop_streaming ( device &  device)


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19