43 size_t num_free_frames;
69 struct libusb_transfer **transfer;
70 size_t active_transfers;
72 libusb_context *usb_ctx;
73 libusb_device_handle *devh;
77 size_t num_alloced_frames;
79 void *get_frame_timestamp_user_data;
u_logging_level
Logging level enum.
Definition u_logging.h:45
int64_t timepoint_ns
Integer timestamp type.
Definition u_time.h:77
Wrapper around OS threading native functions.
A wrapper around a native mutex.
Definition os_threading.h:69
Allows more safely to debug sink inputs and outputs.
Definition u_sink.h:214
Definition uvc_internal.h:26
int frame_id
Current frame ID.
Definition uvc_internal.h:52
bool skip_frame
true if we're skipping the current frame
Definition uvc_internal.h:58
size_t frame_collected
Number of bytes collected from the current frame.
Definition uvc_internal.h:56
struct xrt_frame * cur_frame
Frame data destination.
Definition uvc_internal.h:47
size_t frame_size
Total size of a full frame in bytes.
Definition uvc_internal.h:50
int alt_setting
USB streaming alt_setting.
Definition uvc_internal.h:66
uint64_t sequence_id
The current sequence ID of this stream.
Definition uvc_internal.h:60
struct xrt_frame_sink * sink
Target sink.
Definition uvc_internal.h:38
uint32_t cur_pts
Current PTS being accumulated.
Definition uvc_internal.h:54
timepoint_ns skip_frame_start
Time at which we started skipping frames.
Definition uvc_internal.h:63
Definition uvc_interface.h:69
A interface object used for destroying a frame graph.
Definition xrt_frame.h:87
A object that is sent frames.
Definition xrt_frame.h:58
Basic frame data structure - holds a pointer to buffer.
Definition xrt_frame.h:25
Definition xrt_frameserver.h:44
Frameserver that generates frames.
Definition xrt_frameserver.h:70
Basic logging functionality.
xrt_frame_sink converters and other helpers.
Public interface for userspace UVC frameserver implementation.
bool(* get_frame_timestamp_t)(void *user_data, timepoint_ns *out_timestamp, uint64_t *out_sequence_id, timepoint_ns frame_start_ns, uint32_t pts)
Called to get the timestamp of a specific frame, if a callee has a more precise way of timestamping f...
Definition uvc_interface.h:60