|
uvc_frame_t * | uvc_allocate_frame (size_t data_bytes) |
| Allocate a frame structure. More...
|
|
void | uvc_close (uvc_device_handle_t *devh) |
| Close a device. More...
|
|
uvc_error_t | uvc_duplicate_frame (uvc_frame_t *in, uvc_frame_t *out) |
| Duplicate a frame, preserving color format. More...
|
|
void | uvc_exit (uvc_context_t *ctx) |
| Closes the UVC context, shutting down any active cameras. More...
|
|
uvc_error_t | uvc_find_device (uvc_context_t *ctx, uvc_device_t **dev, int vid, int pid, const char *sn) |
| Finds a camera identified by vendor, product and/or serial number. More...
|
|
void | uvc_free_device_descriptor (uvc_device_descriptor_t *desc) |
| Frees a device descriptor created with uvc_get_device_descriptor. More...
|
|
void | uvc_free_device_list (uvc_device_t **list, uint8_t unref_devices) |
| Frees a list of device structures created with uvc_get_device_list. More...
|
|
void | uvc_free_frame (uvc_frame_t *frame) |
| Free a frame structure. More...
|
|
uvc_error_t | uvc_get_ae_mode (uvc_device_handle_t *devh, uint8_t *mode, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_ae_priority (uvc_device_handle_t *devh, uint8_t *priority, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_analog_video_lock_status (uvc_device_handle_t *devh, uint8_t *status, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_analog_video_standard (uvc_device_handle_t *devh, uint8_t *video_standard, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_backlight_compensation (uvc_device_handle_t *devh, uint16_t *backlight_compensation, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_brightness (uvc_device_handle_t *devh, int16_t *brightness, enum uvc_req_code req_code) |
|
uint8_t | uvc_get_bus_number (uvc_device_t *dev) |
| Get the number of the bus to which the device is attached. More...
|
|
uvc_error_t | uvc_get_contrast (uvc_device_handle_t *devh, uint16_t *contrast, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_contrast_auto (uvc_device_handle_t *devh, uint8_t *contrast_auto, enum uvc_req_code req_code) |
|
int | uvc_get_ctrl (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl, void *data, int len, enum uvc_req_code req_code) |
| Perform a GET_* request from an extension unit. More...
|
|
int | uvc_get_ctrl_len (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl) |
| Get the length of a control on a terminal or unit. More...
|
|
uvc_device_t * | uvc_get_device (uvc_device_handle_t *devh) |
| Get the uvc_device_t corresponding to an open device. More...
|
|
uint8_t | uvc_get_device_address (uvc_device_t *dev) |
| Get the number assigned to the device within its bus. More...
|
|
uvc_error_t | uvc_get_device_descriptor (uvc_device_t *dev, uvc_device_descriptor_t **desc) |
| Get a descriptor that contains the general information about a deviceFree *desc with uvc_free_device_descriptor when you're done. More...
|
|
uvc_error_t | uvc_get_device_list (uvc_context_t *ctx, uvc_device_t ***list) |
| Get a list of the UVC devices attached to the system. More...
|
|
uvc_error_t | uvc_get_digital_multiplier (uvc_device_handle_t *devh, uint16_t *multiplier_step, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_digital_multiplier_limit (uvc_device_handle_t *devh, uint16_t *multiplier_step, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_digital_roi (uvc_device_handle_t *devh, uint16_t *roi_top, uint16_t *roi_left, uint16_t *roi_bottom, uint16_t *roi_right, uint16_t *auto_controls, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_digital_window (uvc_device_handle_t *devh, uint16_t *window_top, uint16_t *window_left, uint16_t *window_bottom, uint16_t *window_right, uint16_t *num_steps, uint16_t *num_steps_units, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_exposure_abs (uvc_device_handle_t *devh, uint32_t *time, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_exposure_rel (uvc_device_handle_t *devh, int8_t *step, enum uvc_req_code req_code) |
|
const uvc_extension_unit_t * | uvc_get_extension_units (uvc_device_handle_t *devh) |
| Get extension unit descriptors for the open device. More...
|
|
uvc_error_t | uvc_get_focus_abs (uvc_device_handle_t *devh, uint16_t *focus, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_focus_auto (uvc_device_handle_t *devh, uint8_t *state, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_focus_rel (uvc_device_handle_t *devh, int8_t *focus_rel, uint8_t *speed, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_focus_simple_range (uvc_device_handle_t *devh, uint8_t *focus, enum uvc_req_code req_code) |
|
const uvc_format_desc_t * | uvc_get_format_descs (uvc_device_handle_t *) |
| Get format descriptions for the open device. More...
|
|
uvc_error_t | uvc_get_gain (uvc_device_handle_t *devh, uint16_t *gain, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_gamma (uvc_device_handle_t *devh, uint16_t *gamma, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_hue (uvc_device_handle_t *devh, int16_t *hue, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_hue_auto (uvc_device_handle_t *devh, uint8_t *hue_auto, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_input_select (uvc_device_handle_t *devh, uint8_t *selector, enum uvc_req_code req_code) |
|
const uvc_input_terminal_t * | uvc_get_input_terminals (uvc_device_handle_t *devh) |
| Get input terminal descriptors for the open device. More...
|
|
uvc_error_t | uvc_get_iris_abs (uvc_device_handle_t *devh, uint16_t *iris, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_iris_rel (uvc_device_handle_t *devh, uint8_t *iris_rel, enum uvc_req_code req_code) |
|
libusb_device_handle * | uvc_get_libusb_handle (uvc_device_handle_t *devh) |
| Get the underlying libusb device handle for an open deviceThis can be used to access other interfaces on the same device, e.g. a webcam microphone. More...
|
|
const uvc_output_terminal_t * | uvc_get_output_terminals (uvc_device_handle_t *devh) |
| Get output terminal descriptors for the open device. More...
|
|
uvc_error_t | uvc_get_pantilt_abs (uvc_device_handle_t *devh, int32_t *pan, int32_t *tilt, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_pantilt_rel (uvc_device_handle_t *devh, int8_t *pan_rel, uint8_t *pan_speed, int8_t *tilt_rel, uint8_t *tilt_speed, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_power_line_frequency (uvc_device_handle_t *devh, uint8_t *power_line_frequency, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_power_mode (uvc_device_handle_t *devh, enum uvc_device_power_mode *mode, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_privacy (uvc_device_handle_t *devh, uint8_t *privacy, enum uvc_req_code req_code) |
|
const uvc_processing_unit_t * | uvc_get_processing_units (uvc_device_handle_t *devh) |
| Get processing unit descriptors for the open device. More...
|
|
uvc_error_t | uvc_get_roll_abs (uvc_device_handle_t *devh, int16_t *roll, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_roll_rel (uvc_device_handle_t *devh, int8_t *roll_rel, uint8_t *speed, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_saturation (uvc_device_handle_t *devh, uint16_t *saturation, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_scanning_mode (uvc_device_handle_t *devh, uint8_t *mode, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_sharpness (uvc_device_handle_t *devh, uint16_t *sharpness, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_stream_ctrl_format_size (uvc_device_handle_t *devh, uvc_stream_ctrl_t *ctrl, uint32_t fourcc, int width, int height, int fps) |
|
uvc_error_t | uvc_get_white_balance_component (uvc_device_handle_t *devh, uint16_t *blue, uint16_t *red, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_white_balance_component_auto (uvc_device_handle_t *devh, uint8_t *white_balance_component_auto, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_white_balance_temperature (uvc_device_handle_t *devh, uint16_t *temperature, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_white_balance_temperature_auto (uvc_device_handle_t *devh, uint8_t *temperature_auto, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_zoom_abs (uvc_device_handle_t *devh, uint16_t *focal_length, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_get_zoom_rel (uvc_device_handle_t *devh, int8_t *zoom_rel, uint8_t *digital_zoom, uint8_t *speed, enum uvc_req_code req_code) |
|
uvc_error_t | uvc_init (uvc_context_t **ctx, struct libusb_context *usb_ctx) |
| Initializes the UVC context. More...
|
|
uvc_error_t | uvc_open (uvc_device_t *dev, uvc_device_handle_t **devh) |
| Open a UVC device, defaulting to the first interface found. More...
|
|
uvc_error_t | uvc_open2 (uvc_device_t *dev, uvc_device_handle_t **devh, int camera_number) |
| Open a UVC device, specifying the camera number, zero-based. More...
|
|
void | uvc_perror (uvc_error_t err, const char *msg) |
| Print a message explaining an error in the UVC driver. More...
|
|
void | uvc_print_diag (uvc_device_handle_t *devh, FILE *stream) |
| Print camera capabilities and configuration. More...
|
|
void | uvc_print_stream_ctrl (uvc_stream_ctrl_t *ctrl, FILE *stream) |
| Print the values in a stream control block. More...
|
|
uvc_error_t | uvc_probe_stream_ctrl (uvc_device_handle_t *devh, uvc_stream_ctrl_t *ctrl) |
|
void | uvc_ref_device (uvc_device_t *dev) |
| Increment the reference count for a device. More...
|
|
uvc_error_t | uvc_set_ae_mode (uvc_device_handle_t *devh, uint8_t mode) |
|
uvc_error_t | uvc_set_ae_priority (uvc_device_handle_t *devh, uint8_t priority) |
|
uvc_error_t | uvc_set_analog_video_lock_status (uvc_device_handle_t *devh, uint8_t status) |
|
uvc_error_t | uvc_set_analog_video_standard (uvc_device_handle_t *devh, uint8_t video_standard) |
|
uvc_error_t | uvc_set_backlight_compensation (uvc_device_handle_t *devh, uint16_t backlight_compensation) |
|
uvc_error_t | uvc_set_brightness (uvc_device_handle_t *devh, int16_t brightness) |
|
uvc_error_t | uvc_set_contrast (uvc_device_handle_t *devh, uint16_t contrast) |
|
uvc_error_t | uvc_set_contrast_auto (uvc_device_handle_t *devh, uint8_t contrast_auto) |
|
int | uvc_set_ctrl (uvc_device_handle_t *devh, uint8_t unit, uint8_t ctrl, void *data, int len) |
| Perform a SET_CUR request to a terminal or unit. More...
|
|
uvc_error_t | uvc_set_digital_multiplier (uvc_device_handle_t *devh, uint16_t multiplier_step) |
|
uvc_error_t | uvc_set_digital_multiplier_limit (uvc_device_handle_t *devh, uint16_t multiplier_step) |
|
uvc_error_t | uvc_set_digital_roi (uvc_device_handle_t *devh, uint16_t roi_top, uint16_t roi_left, uint16_t roi_bottom, uint16_t roi_right, uint16_t auto_controls) |
|
uvc_error_t | uvc_set_digital_window (uvc_device_handle_t *devh, uint16_t window_top, uint16_t window_left, uint16_t window_bottom, uint16_t window_right, uint16_t num_steps, uint16_t num_steps_units) |
|
uvc_error_t | uvc_set_exposure_abs (uvc_device_handle_t *devh, uint32_t time) |
|
uvc_error_t | uvc_set_exposure_rel (uvc_device_handle_t *devh, int8_t step) |
|
uvc_error_t | uvc_set_focus_abs (uvc_device_handle_t *devh, uint16_t focus) |
|
uvc_error_t | uvc_set_focus_auto (uvc_device_handle_t *devh, uint8_t state) |
|
uvc_error_t | uvc_set_focus_rel (uvc_device_handle_t *devh, int8_t focus_rel, uint8_t speed) |
|
uvc_error_t | uvc_set_focus_simple_range (uvc_device_handle_t *devh, uint8_t focus) |
|
uvc_error_t | uvc_set_gain (uvc_device_handle_t *devh, uint16_t gain) |
|
uvc_error_t | uvc_set_gamma (uvc_device_handle_t *devh, uint16_t gamma) |
|
uvc_error_t | uvc_set_hue (uvc_device_handle_t *devh, int16_t hue) |
|
uvc_error_t | uvc_set_hue_auto (uvc_device_handle_t *devh, uint8_t hue_auto) |
|
uvc_error_t | uvc_set_input_select (uvc_device_handle_t *devh, uint8_t selector) |
|
uvc_error_t | uvc_set_iris_abs (uvc_device_handle_t *devh, uint16_t iris) |
|
uvc_error_t | uvc_set_iris_rel (uvc_device_handle_t *devh, uint8_t iris_rel) |
|
uvc_error_t | uvc_set_pantilt_abs (uvc_device_handle_t *devh, int32_t pan, int32_t tilt) |
|
uvc_error_t | uvc_set_pantilt_rel (uvc_device_handle_t *devh, int8_t pan_rel, uint8_t pan_speed, int8_t tilt_rel, uint8_t tilt_speed) |
|
uvc_error_t | uvc_set_power_line_frequency (uvc_device_handle_t *devh, uint8_t power_line_frequency) |
|
uvc_error_t | uvc_set_power_mode (uvc_device_handle_t *devh, enum uvc_device_power_mode mode) |
|
uvc_error_t | uvc_set_privacy (uvc_device_handle_t *devh, uint8_t privacy) |
|
uvc_error_t | uvc_set_roll_abs (uvc_device_handle_t *devh, int16_t roll) |
|
uvc_error_t | uvc_set_roll_rel (uvc_device_handle_t *devh, int8_t roll_rel, uint8_t speed) |
|
uvc_error_t | uvc_set_saturation (uvc_device_handle_t *devh, uint16_t saturation) |
|
uvc_error_t | uvc_set_scanning_mode (uvc_device_handle_t *devh, uint8_t mode) |
|
uvc_error_t | uvc_set_sharpness (uvc_device_handle_t *devh, uint16_t sharpness) |
|
void | uvc_set_status_callback (uvc_device_handle_t *devh, uvc_status_callback_t cb, void *user_ptr) |
| Set a callback function to receive status updates. More...
|
|
uvc_error_t | uvc_set_white_balance_component (uvc_device_handle_t *devh, uint16_t blue, uint16_t red) |
|
uvc_error_t | uvc_set_white_balance_component_auto (uvc_device_handle_t *devh, uint8_t white_balance_component_auto) |
|
uvc_error_t | uvc_set_white_balance_temperature (uvc_device_handle_t *devh, uint16_t temperature) |
|
uvc_error_t | uvc_set_white_balance_temperature_auto (uvc_device_handle_t *devh, uint8_t temperature_auto) |
|
uvc_error_t | uvc_set_zoom_abs (uvc_device_handle_t *devh, uint16_t focal_length) |
|
uvc_error_t | uvc_set_zoom_rel (uvc_device_handle_t *devh, int8_t zoom_rel, uint8_t digital_zoom, uint8_t speed) |
|
uvc_error_t | uvc_start_iso_streaming (uvc_device_handle_t *devh, uvc_stream_ctrl_t *ctrl, uvc_frame_callback_t *cb, void *user_ptr) |
|
uvc_error_t | uvc_start_streaming (uvc_device_handle_t *devh, uvc_stream_ctrl_t *ctrl, uvc_frame_callback_t *cb, void *user_ptr, uint8_t flags, int num_transfer_buffers) |
|
void | uvc_stop_streaming (uvc_device_handle_t *devh) |
| Stop streaming videoCloses all streams, ends threads and cancels pollers. More...
|
|
void | uvc_stream_close (uvc_stream_handle_t *strmh) |
| Close stream.Closes stream, frees handle and all streaming resources. More...
|
|
uvc_error_t | uvc_stream_ctrl (uvc_stream_handle_t *strmh, uvc_stream_ctrl_t *ctrl) |
| Reconfigure stream with a new stream format.This may be executed whether or not the stream is running. More...
|
|
uvc_error_t | uvc_stream_get_frame (uvc_stream_handle_t *strmh, uvc_frame_t **frame, int32_t timeout_us) |
|
uvc_error_t | uvc_stream_open_ctrl (uvc_device_handle_t *devh, uvc_stream_handle_t **strmh, uvc_stream_ctrl_t *ctrl) |
|
uvc_error_t | uvc_stream_start (uvc_stream_handle_t *strmh, uvc_frame_callback_t *cb, void *user_ptr, uint8_t flags, int num_transfer_buffers) |
|
uvc_error_t | uvc_stream_start_iso (uvc_stream_handle_t *strmh, uvc_frame_callback_t *cb, void *user_ptr) |
|
uvc_error_t | uvc_stream_stop (uvc_stream_handle_t *strmh) |
| Stop stream.Stops stream, ends threads and cancels pollers. More...
|
|
const char * | uvc_strerror (uvc_error_t err) |
| Return a string explaining an error in the UVC driver. More...
|
|
void | uvc_unref_device (uvc_device_t *dev) |
| Decrement the reference count for a device device. More...
|
|