15#include <linux/videodev2.h>
24#define V4L2_TRACE(d, ...) U_LOG_IFL_T(d->log_level, __VA_ARGS__)
25#define V4L2_DEBUG(d, ...) U_LOG_IFL_D(d->log_level, __VA_ARGS__)
26#define V4L2_INFO(d, ...) U_LOG_IFL_I(d->log_level, __VA_ARGS__)
27#define V4L2_WARN(d, ...) U_LOG_IFL_W(d->log_level, __VA_ARGS__)
28#define V4L2_ERROR(d, ...) U_LOG_IFL_E(d->log_level, __VA_ARGS__)
30#define NUM_V4L2_BUFFERS 32
49 struct v4l2_buffer v_buf;
105 uint32_t used_frames;
115 pthread_t stream_thread;
118 uint32_t num_descriptors;
u_logging_level
Logging level enum.
Definition: u_logging.h:40
xrt_fs_capture_type
Enum describing which type of capture we are doing.
Definition: xrt_frameserver.h:57
Allows more safely to debug sink inputs and outputs.
Definition: u_sink.h:185
Definition: v4l2_driver.h:62
Definition: v4l2_driver.h:44
void * mem
Data might be at an offset, so we need base memory.
Definition: v4l2_driver.h:47
A single open v4l2 capture device, starts its own thread and waits on it.
Definition: v4l2_driver.h:80
Descriptor of a v4l2 source.
Definition: v4l2_interface.h:34
Definition: v4l2_driver.h:53
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
Controlling the camera capture parameters.
Definition: xrt_frameserver.h:34
Frameserver that generates frames.
Definition: xrt_frameserver.h:70
Basic logging functionality.
xrt_frame_sink converters and other helpers.
static struct v4l2_fs * v4l2_fs(struct xrt_fs *xfs)
Cast to derived type.
Definition: v4l2_driver.h:132
Frameserver interface for video drivers.