libuvc
|
Setup routines used to construct UVC access contexts. More...
Functions | |
uvc_error_t | uvc_init (uvc_context_t **pctx, struct libusb_context *usb_ctx) |
Initializes the UVC context. More... | |
void | uvc_exit (uvc_context_t *ctx) |
Closes the UVC context, shutting down any active cameras. More... | |
Setup routines used to construct UVC access contexts.
uvc_error_t uvc_init | ( | uvc_context_t ** | pctx, |
struct libusb_context * | usb_ctx | ||
) |
Initializes the UVC context.
[out] | pctx | The location where the context reference should be stored. |
[in] | usb_ctx | Optional USB context to use |
void uvc_exit | ( | uvc_context_t * | ctx | ) |
Closes the UVC context, shutting down any active cameras.
If no USB context was provided to uvc_init, the UVC-specific USB context will be destroyed.
ctx | UVC context to shut down |