13 #error "This header is C++-only." 16 #include <opencv2/opencv.hpp> 47 xrt_frame_reference(&frame, NULL);
58 bool second_view =
false;
108 frame->
data + 3 * cols,
125 xrt_frame_reference(&frame, NULL);
Definition: xrt_defines.h:65
uint32_t width
Definition: xrt_frame.h:30
struct xrt_frame_sink * sink
Definition: t_helper_debug_sink.hpp:31
~HelperDebugSink()
Definition: t_helper_debug_sink.hpp:45
void(* push_frame)(struct xrt_frame_sink *sink, struct xrt_frame *frame)
Push a frame into the sink.
Definition: xrt_frame.h:56
Kind
Definition: t_helper_debug_sink.hpp:23
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:86
void refresh(struct xrt_frame *xf)
Definition: t_helper_debug_sink.hpp:51
A object that is sent frames.
Definition: xrt_frame.h:51
Definition: t_helper_debug_sink.hpp:20
Definition: xrt_defines.h:88
Definition: t_helper_debug_sink.hpp:25
HelperDebugSink(Kind kind)
Definition: t_helper_debug_sink.hpp:38
Basic frame data structure - holds a pointer to buffer.
Definition: xrt_frame.h:24
cv::Mat rgb[2]
Definition: t_helper_debug_sink.hpp:34
uint64_t source_sequence
sequence id
Definition: xrt_frame.h:41
uint8_t * data
Definition: xrt_frame.h:34
Side by side.
Definition: xrt_defines.h:89
void submit()
Definition: t_helper_debug_sink.hpp:114
uint32_t height
Definition: xrt_frame.h:31
struct xrt_frame * frame
Definition: t_helper_debug_sink.hpp:32
enum xrt_stereo_format stereo_format
Definition: xrt_frame.h:37
Kind kind
Definition: t_helper_debug_sink.hpp:30
void u_frame_create_one_off(enum xrt_format f, uint32_t width, uint32_t height, struct xrt_frame **out_frame)
Creates a single non-pooled frame, when the reference reaches zero it is freed.
Definition: u_frame.c:26
Definition: t_helper_debug_sink.hpp:26
size_t stride
Definition: xrt_frame.h:32