libuvc
|
Interpretation of devices, error codes and negotiated stream parameters. More...
Typedefs | |
typedef enum uvc_error | uvc_error_t |
UVC error types, based on libusb errors. | |
Enumerations | |
enum | uvc_error { UVC_SUCCESS = 0 , UVC_ERROR_IO = -1 , UVC_ERROR_INVALID_PARAM = -2 , UVC_ERROR_ACCESS = -3 , UVC_ERROR_NO_DEVICE = -4 , UVC_ERROR_NOT_FOUND = -5 , UVC_ERROR_BUSY = -6 , UVC_ERROR_TIMEOUT = -7 , UVC_ERROR_OVERFLOW = -8 , UVC_ERROR_PIPE = -9 , UVC_ERROR_INTERRUPTED = -10 , UVC_ERROR_NO_MEM = -11 , UVC_ERROR_NOT_SUPPORTED = -12 , UVC_ERROR_INVALID_DEVICE = -50 , UVC_ERROR_INVALID_MODE = -51 , UVC_ERROR_CALLBACK_EXISTS = -52 , UVC_ERROR_OTHER = -99 } |
UVC error types, based on libusb errors. More... | |
Functions | |
void | uvc_perror (uvc_error_t err, const char *msg) |
Print a message explaining an error in the UVC driver. More... | |
const char * | uvc_strerror (uvc_error_t err) |
Return a string explaining an error in the UVC driver. More... | |
void | uvc_print_stream_ctrl (uvc_stream_ctrl_t *ctrl, FILE *stream) |
Print the values in a stream control block. More... | |
void | uvc_print_diag (uvc_device_handle_t *devh, FILE *stream) |
Print camera capabilities and configuration. More... | |
void | uvc_print_frameformats (uvc_device_handle_t *devh) |
Print all possible frame configuration. More... | |
Interpretation of devices, error codes and negotiated stream parameters.
enum uvc_error |
UVC error types, based on libusb errors.
void uvc_perror | ( | uvc_error_t | err, |
const char * | msg | ||
) |
Print a message explaining an error in the UVC driver.
err | UVC error code |
msg | Optional custom message, prepended to output |
const char* uvc_strerror | ( | uvc_error_t | err | ) |
Return a string explaining an error in the UVC driver.
err | UVC error code |
void uvc_print_stream_ctrl | ( | uvc_stream_ctrl_t * | ctrl, |
FILE * | stream | ||
) |
Print the values in a stream control block.
devh | UVC device |
stream | Output stream (stderr if NULL) |
void uvc_print_diag | ( | uvc_device_handle_t * | devh, |
FILE * | stream | ||
) |
Print camera capabilities and configuration.
devh | UVC device |
stream | Output stream (stderr if NULL) |
void uvc_print_frameformats | ( | uvc_device_handle_t * | devh | ) |
Print all possible frame configuration.
devh | UVC device |
stream | Output stream (stderr if NULL) |