12#include <opencv2/opencv.hpp>
15namespace xrt::auxiliary::tracking {
31 uint64_t timestamp_ns;
38 cv::Mat matrix = cv::Mat();
66 fillInFields(cv::Mat mat,
xrt_format format,
const Params ¶ms);
Additional optional parameters for frame creation.
Definition: t_frame_cv_mat_wrapper.hpp:28
This class implements the xrt_frame interface, allowing interfacing to cv::Mat from C code.
Definition: t_frame_cv_mat_wrapper.hpp:24
static void wrapL8(const cv::Mat &mat, xrt_frame **fm_out, Params params={})
Wraps the given cv::Mat assuming it's a 8bit format matrix.
Definition: t_frame_cv_mat_wrapper.cpp:99
static void wrapR8G8B8(const cv::Mat &mat, xrt_frame **fm_out, Params params={})
Wraps the given cv::Mat assuming it's a 24bit RGB format matrix.
Definition: t_frame_cv_mat_wrapper.cpp:82
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:203
Definition: u_pacing_compositor.c:54
Basic frame data structure - holds a pointer to buffer.
Definition: xrt_frame.h:25
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:176