43 size_t num_free_frames;
67 struct libusb_transfer **transfer;
68 size_t active_transfers;
70 libusb_context *usb_ctx;
71 libusb_device_handle *devh;
75 size_t num_alloced_frames;
77 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:211
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:64
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:61
Definition uvc_interface.h:66
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 *timestamp, 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