[][src]Crate uvc_src

Re-exports

pub use self::uvc_error as uvc_error_t;

Structs

_IO_FILE
_IO_codecvt
_IO_marker
_IO_wide_data
libusb_context
libusb_device_handle
timespec
timeval
uvc_context

Context, equivalent to libusb's contexts.

uvc_device

UVC device.

uvc_device_descriptor

Structure representing a UVC device descriptor.

uvc_device_handle

Handle on an open UVC device.

uvc_extension_unit

Custom processing or camera-control functions

uvc_format_desc

Format descriptor

uvc_frame

An image frame received from the UVC device @ingroup streaming

uvc_frame_desc

Frame descriptor

uvc_input_terminal

Representation of the interface that brings data into the UVC device

uvc_output_terminal
uvc_processing_unit

Represents post-capture processing functions

uvc_selector_unit

Represents selector unit to connect other units

uvc_still_ctrl
uvc_still_frame_desc
uvc_still_frame_res
uvc_stream_ctrl

Streaming mode, includes all information needed to select stream @ingroup streaming

uvc_stream_handle

Handle on an open UVC stream.

uvc_streaming_interface

Constants

uvc_ct_ctrl_selector_UVC_CT_AE_MODE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_AE_PRIORITY_CONTROL
uvc_ct_ctrl_selector_UVC_CT_CONTROL_UNDEFINED
uvc_ct_ctrl_selector_UVC_CT_DIGITAL_WINDOW_CONTROL
uvc_ct_ctrl_selector_UVC_CT_EXPOSURE_TIME_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_EXPOSURE_TIME_RELATIVE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_FOCUS_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_FOCUS_AUTO_CONTROL
uvc_ct_ctrl_selector_UVC_CT_FOCUS_RELATIVE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_FOCUS_SIMPLE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_IRIS_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_IRIS_RELATIVE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_PANTILT_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_PANTILT_RELATIVE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_PRIVACY_CONTROL
uvc_ct_ctrl_selector_UVC_CT_REGION_OF_INTEREST_CONTROL
uvc_ct_ctrl_selector_UVC_CT_ROLL_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_ROLL_RELATIVE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_SCANNING_MODE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_ZOOM_ABSOLUTE_CONTROL
uvc_ct_ctrl_selector_UVC_CT_ZOOM_RELATIVE_CONTROL
uvc_device_power_mode_UVC_VC_VIDEO_POWER_MODE_DEVICE_DEPENDENT
uvc_device_power_mode_UVC_VC_VIDEO_POWER_MODE_FULL
uvc_error_UVC_ERROR_ACCESS

Access denied

uvc_error_UVC_ERROR_BUSY

Resource busy

uvc_error_UVC_ERROR_CALLBACK_EXISTS

Resource has a callback (can't use polling and async)

uvc_error_UVC_ERROR_INTERRUPTED

System call interrupted

uvc_error_UVC_ERROR_INVALID_DEVICE

Device is not UVC-compliant

uvc_error_UVC_ERROR_INVALID_MODE

Mode not supported

uvc_error_UVC_ERROR_INVALID_PARAM

Invalid parameter

uvc_error_UVC_ERROR_IO

Input/output error

uvc_error_UVC_ERROR_NOT_FOUND

Entity not found

uvc_error_UVC_ERROR_NOT_SUPPORTED

Operation not supported

uvc_error_UVC_ERROR_NO_DEVICE

No such device

uvc_error_UVC_ERROR_NO_MEM

Insufficient memory

uvc_error_UVC_ERROR_OTHER

Undefined error

uvc_error_UVC_ERROR_OVERFLOW

Overflow

uvc_error_UVC_ERROR_PIPE

Pipe error

uvc_error_UVC_ERROR_TIMEOUT

Operation timed out

uvc_error_UVC_SUCCESS

Success (no error)

uvc_et_type_UVC_COMPONENT_CONNECTOR
uvc_et_type_UVC_COMPOSITE_CONNECTOR
uvc_et_type_UVC_EXTERNAL_VENDOR_SPECIFIC
uvc_et_type_UVC_SVIDEO_CONNECTOR
uvc_frame_format_UVC_FRAME_FORMAT_ANY

Any supported format

uvc_frame_format_UVC_FRAME_FORMAT_BA81

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_BGR

24-bit RGB

uvc_frame_format_UVC_FRAME_FORMAT_BY8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_COMPRESSED

Any supported format

uvc_frame_format_UVC_FRAME_FORMAT_COUNT

Number of formats understood

uvc_frame_format_UVC_FRAME_FORMAT_GRAY8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_GRAY16

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_MJPEG

Motion-JPEG (or JPEG) encoded images

uvc_frame_format_UVC_FRAME_FORMAT_NV12

YUV420: NV12

uvc_frame_format_UVC_FRAME_FORMAT_RGB

24-bit RGB

uvc_frame_format_UVC_FRAME_FORMAT_SBGGR8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_SGBRG8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_SGRBG8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_SRGGB8

Greyscale images

uvc_frame_format_UVC_FRAME_FORMAT_UNCOMPRESSED

Any supported format

uvc_frame_format_UVC_FRAME_FORMAT_UNKNOWN
uvc_frame_format_UVC_FRAME_FORMAT_UYVY

YUYV/YUV2/YUV422: YUV encoding with one luminance value per pixel and one UV (chrominance) pair for every two pixels.

uvc_frame_format_UVC_FRAME_FORMAT_YUYV

YUYV/YUV2/YUV422: YUV encoding with one luminance value per pixel and one UV (chrominance) pair for every two pixels.

uvc_it_type_UVC_ITT_CAMERA
uvc_it_type_UVC_ITT_MEDIA_TRANSPORT_INPUT
uvc_it_type_UVC_ITT_VENDOR_SPECIFIC
uvc_ot_type_UVC_OTT_DISPLAY
uvc_ot_type_UVC_OTT_MEDIA_TRANSPORT_OUTPUT
uvc_ot_type_UVC_OTT_VENDOR_SPECIFIC
uvc_pu_ctrl_selector_UVC_PU_ANALOG_LOCK_STATUS_CONTROL
uvc_pu_ctrl_selector_UVC_PU_ANALOG_VIDEO_STANDARD_CONTROL
uvc_pu_ctrl_selector_UVC_PU_BACKLIGHT_COMPENSATION_CONTROL
uvc_pu_ctrl_selector_UVC_PU_BRIGHTNESS_CONTROL
uvc_pu_ctrl_selector_UVC_PU_CONTRAST_AUTO_CONTROL
uvc_pu_ctrl_selector_UVC_PU_CONTRAST_CONTROL
uvc_pu_ctrl_selector_UVC_PU_CONTROL_UNDEFINED
uvc_pu_ctrl_selector_UVC_PU_DIGITAL_MULTIPLIER_CONTROL
uvc_pu_ctrl_selector_UVC_PU_DIGITAL_MULTIPLIER_LIMIT_CONTROL
uvc_pu_ctrl_selector_UVC_PU_GAIN_CONTROL
uvc_pu_ctrl_selector_UVC_PU_GAMMA_CONTROL
uvc_pu_ctrl_selector_UVC_PU_HUE_AUTO_CONTROL
uvc_pu_ctrl_selector_UVC_PU_HUE_CONTROL
uvc_pu_ctrl_selector_UVC_PU_POWER_LINE_FREQUENCY_CONTROL
uvc_pu_ctrl_selector_UVC_PU_SATURATION_CONTROL
uvc_pu_ctrl_selector_UVC_PU_SHARPNESS_CONTROL
uvc_pu_ctrl_selector_UVC_PU_WHITE_BALANCE_COMPONENT_AUTO_CONTROL
uvc_pu_ctrl_selector_UVC_PU_WHITE_BALANCE_COMPONENT_CONTROL
uvc_pu_ctrl_selector_UVC_PU_WHITE_BALANCE_TEMPERATURE_AUTO_CONTROL
uvc_pu_ctrl_selector_UVC_PU_WHITE_BALANCE_TEMPERATURE_CONTROL
uvc_req_code_UVC_GET_CUR
uvc_req_code_UVC_GET_DEF
uvc_req_code_UVC_GET_INFO
uvc_req_code_UVC_GET_LEN
uvc_req_code_UVC_GET_MAX
uvc_req_code_UVC_GET_MIN
uvc_req_code_UVC_GET_RES
uvc_req_code_UVC_RC_UNDEFINED
uvc_req_code_UVC_SET_CUR
uvc_status_attribute_UVC_STATUS_ATTRIBUTE_FAILURE_CHANGE
uvc_status_attribute_UVC_STATUS_ATTRIBUTE_INFO_CHANGE
uvc_status_attribute_UVC_STATUS_ATTRIBUTE_UNKNOWN
uvc_status_attribute_UVC_STATUS_ATTRIBUTE_VALUE_CHANGE
uvc_status_class_UVC_STATUS_CLASS_CONTROL
uvc_status_class_UVC_STATUS_CLASS_CONTROL_CAMERA
uvc_status_class_UVC_STATUS_CLASS_CONTROL_PROCESSING
uvc_term_type_UVC_TT_STREAMING
uvc_term_type_UVC_TT_VENDOR_SPECIFIC
uvc_vs_desc_subtype_UVC_VS_COLORFORMAT
uvc_vs_desc_subtype_UVC_VS_FORMAT_DV
uvc_vs_desc_subtype_UVC_VS_FORMAT_FRAME_BASED
uvc_vs_desc_subtype_UVC_VS_FORMAT_MJPEG
uvc_vs_desc_subtype_UVC_VS_FORMAT_MPEG2TS
uvc_vs_desc_subtype_UVC_VS_FORMAT_STREAM_BASED
uvc_vs_desc_subtype_UVC_VS_FORMAT_UNCOMPRESSED
uvc_vs_desc_subtype_UVC_VS_FRAME_FRAME_BASED
uvc_vs_desc_subtype_UVC_VS_FRAME_MJPEG
uvc_vs_desc_subtype_UVC_VS_FRAME_UNCOMPRESSED
uvc_vs_desc_subtype_UVC_VS_INPUT_HEADER
uvc_vs_desc_subtype_UVC_VS_OUTPUT_HEADER
uvc_vs_desc_subtype_UVC_VS_STILL_IMAGE_FRAME
uvc_vs_desc_subtype_UVC_VS_UNDEFINED

Functions

uvc_allocate_frame
uvc_any2rgb
uvc_any2bgr
uvc_close
uvc_duplicate_frame
uvc_exit
uvc_find_device
uvc_find_devices
uvc_free_device_descriptor
uvc_free_device_list
uvc_free_frame
uvc_get_ae_mode
uvc_get_ae_priority
uvc_get_analog_video_lock_status
uvc_get_analog_video_standard
uvc_get_backlight_compensation
uvc_get_brightness
uvc_get_bus_number
uvc_get_camera_terminal
uvc_get_contrast
uvc_get_contrast_auto
uvc_get_ctrl
uvc_get_ctrl_len
uvc_get_device
uvc_get_device_address
uvc_get_device_descriptor
uvc_get_device_list
uvc_get_digital_multiplier
uvc_get_digital_multiplier_limit
uvc_get_digital_roi
uvc_get_digital_window
uvc_get_exposure_abs
uvc_get_exposure_rel
uvc_get_extension_units
uvc_get_focus_abs
uvc_get_focus_auto
uvc_get_focus_rel
uvc_get_focus_simple_range
uvc_get_format_descs
uvc_get_gain
uvc_get_gamma
uvc_get_hue
uvc_get_hue_auto
uvc_get_input_select
uvc_get_input_terminals
uvc_get_iris_abs
uvc_get_iris_rel
uvc_get_libusb_handle
uvc_get_output_terminals
uvc_get_pantilt_abs
uvc_get_pantilt_rel
uvc_get_power_line_frequency
uvc_get_power_mode
uvc_get_privacy
uvc_get_processing_units
uvc_get_roll_abs
uvc_get_roll_rel
uvc_get_saturation
uvc_get_scanning_mode
uvc_get_selector_units
uvc_get_sharpness
uvc_get_still_ctrl_format_size
uvc_get_stream_ctrl_format_size
uvc_get_white_balance_component
uvc_get_white_balance_component_auto
uvc_get_white_balance_temperature
uvc_get_white_balance_temperature_auto
uvc_get_zoom_abs
uvc_get_zoom_rel
uvc_init
uvc_mjpeg2rgb
uvc_mjpeg2gray
uvc_open
uvc_perror
uvc_print_diag
uvc_print_stream_ctrl
uvc_probe_still_ctrl
uvc_probe_stream_ctrl
uvc_ref_device
uvc_set_ae_mode
uvc_set_ae_priority
uvc_set_analog_video_lock_status
uvc_set_analog_video_standard
uvc_set_backlight_compensation
uvc_set_brightness
uvc_set_button_callback
uvc_set_contrast
uvc_set_contrast_auto
uvc_set_ctrl
uvc_set_digital_multiplier
uvc_set_digital_multiplier_limit
uvc_set_digital_roi
uvc_set_digital_window
uvc_set_exposure_abs
uvc_set_exposure_rel
uvc_set_focus_abs
uvc_set_focus_auto
uvc_set_focus_rel
uvc_set_focus_simple_range
uvc_set_gain
uvc_set_gamma
uvc_set_hue
uvc_set_hue_auto
uvc_set_input_select
uvc_set_iris_abs
uvc_set_iris_rel
uvc_set_pantilt_abs
uvc_set_pantilt_rel
uvc_set_power_line_frequency
uvc_set_power_mode
uvc_set_privacy
uvc_set_roll_abs
uvc_set_roll_rel
uvc_set_saturation
uvc_set_scanning_mode
uvc_set_sharpness
uvc_set_status_callback
uvc_set_white_balance_component
uvc_set_white_balance_component_auto
uvc_set_white_balance_temperature
uvc_set_white_balance_temperature_auto
uvc_set_zoom_abs
uvc_set_zoom_rel
uvc_start_iso_streaming
uvc_start_streaming
uvc_stop_streaming
uvc_stream_close
uvc_stream_ctrl
uvc_stream_get_frame
uvc_stream_open_ctrl
uvc_stream_start
uvc_stream_start_iso
uvc_stream_stop
uvc_strerror
uvc_trigger_still
uvc_unref_device
uvc_uyvy2rgb
uvc_uyvy2bgr
uvc_yuyv2rgb
uvc_yuyv2bgr
uvc_yuyv2y
uvc_yuyv2uv

Type Definitions

FILE
_IO_lock_t
__int8_t
__int16_t
__int32_t
__off64_t
__off_t
__suseconds_t
__syscall_slong_t
__time_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
size_t
uvc_button_callback_t

A callback function to accept button events @ingroup device

uvc_context_t
uvc_ct_ctrl_selector

Camera terminal control selector (A.9.4)

uvc_device_descriptor_t

Structure representing a UVC device descriptor.

uvc_device_handle_t
uvc_device_power_mode
uvc_device_t
uvc_error

UVC error types, based on libusb errors @ingroup diag

uvc_et_type

External terminal type (B.4)

uvc_extension_unit_t

Custom processing or camera-control functions

uvc_format_desc_t

Format descriptor

uvc_frame_callback_t

A callback function to handle incoming assembled UVC frames @ingroup streaming

uvc_frame_desc_t

Frame descriptor

uvc_frame_format

Color coding of stream, transport-independent @ingroup streaming

uvc_frame_t

An image frame received from the UVC device @ingroup streaming

uvc_input_terminal_t

Representation of the interface that brings data into the UVC device

uvc_it_type

Input terminal type (B.2)

uvc_ot_type

Output terminal type (B.3)

uvc_output_terminal_t
uvc_processing_unit_t

Represents post-capture processing functions

uvc_pu_ctrl_selector

Processing unit control selector (A.9.5)

uvc_req_code

UVC request code (A.8)

uvc_selector_unit_t

Represents selector unit to connect other units

uvc_status_attribute
uvc_status_callback_t

A callback function to accept status updates @ingroup device

uvc_status_class
uvc_still_ctrl_t
uvc_still_frame_desc_t
uvc_still_frame_res_t
uvc_stream_ctrl_t

Streaming mode, includes all information needed to select stream @ingroup streaming

uvc_stream_handle_t
uvc_term_type

USB terminal type (B.1)

uvc_vs_desc_subtype

VideoStreaming interface descriptor subtype (A.6)

Unions

uvc_format_desc__bindgen_ty_1

Format specifier

uvc_format_desc__bindgen_ty_2

Format-specific data