Monado OpenXR Runtime
|
HSV filter debug code. More...
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_format.h"
#include "tracking/t_tracking.h"
#include <opencv2/opencv.hpp>
Data Structures | |
class | DebugHSV |
Macros | |
#define | HSV0_WIN "HSV Channel #1 (Red)" |
#define | HSV1_WIN "HSV Channel #2 (Purple)" |
#define | HSV2_WIN "HSV Channel #3 (Blue)" |
#define | HSV3_WIN "HSV Channel #4 (White)" |
Functions | |
void | t_debug_hsv_filter_frame0 (struct xrt_frame_sink *xsink, struct xrt_frame *xf) |
void | t_debug_hsv_filter_frame1 (struct xrt_frame_sink *xsink, struct xrt_frame *xf) |
void | t_debug_hsv_filter_frame2 (struct xrt_frame_sink *xsink, struct xrt_frame *xf) |
void | t_debug_hsv_filter_frame3 (struct xrt_frame_sink *xsink, struct xrt_frame *xf) |
void | t_debug_hsv_filter_frame (struct xrt_frame_sink *xsink, struct xrt_frame *xf) |
void | t_debug_hsv_filter_break_apart (struct xrt_frame_node *node) |
void | t_debug_hsv_filter_destroy (struct xrt_frame_node *node) |
int | t_debug_hsv_filter_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *passthrough, struct xrt_frame_sink **out_sink) |
HSV filter debug code.
#define HSV0_WIN "HSV Channel #1 (Red)" |
Referenced by t_debug_hsv_filter_create(), and t_debug_hsv_filter_frame0().
#define HSV1_WIN "HSV Channel #2 (Purple)" |
Referenced by t_debug_hsv_filter_create(), and t_debug_hsv_filter_frame1().
#define HSV2_WIN "HSV Channel #3 (Blue)" |
Referenced by t_debug_hsv_filter_create(), and t_debug_hsv_filter_frame2().
#define HSV3_WIN "HSV Channel #4 (White)" |
Referenced by t_debug_hsv_filter_create(), and t_debug_hsv_filter_frame3().
void t_debug_hsv_filter_break_apart | ( | struct xrt_frame_node * | node | ) |
Referenced by t_debug_hsv_filter_create().
int t_debug_hsv_filter_create | ( | struct xrt_frame_context * | xfctx, |
struct xrt_frame_sink * | passthrough, | ||
struct xrt_frame_sink ** | out_sink | ||
) |
References HSV0_WIN, HSV1_WIN, HSV2_WIN, HSV3_WIN, DebugHSV::passthrough, xrt_frame_sink::push_frame, DebugHSV::sinks, t_debug_hsv_filter_break_apart(), t_debug_hsv_filter_destroy(), t_debug_hsv_filter_frame(), t_debug_hsv_filter_frame0(), t_debug_hsv_filter_frame1(), t_debug_hsv_filter_frame2(), t_debug_hsv_filter_frame3(), T_HSV_DEFAULT_PARAMS, and t_hsv_filter_create().
void t_debug_hsv_filter_destroy | ( | struct xrt_frame_node * | node | ) |
References container_of.
Referenced by t_debug_hsv_filter_create().
void t_debug_hsv_filter_frame | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References xrt_frame_sink::push_frame.
Referenced by t_debug_hsv_filter_create().
void t_debug_hsv_filter_frame0 | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References xrt_frame::data, xrt_frame::height, HSV0_WIN, xrt_frame::stride, and xrt_frame::width.
Referenced by t_debug_hsv_filter_create().
void t_debug_hsv_filter_frame1 | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References xrt_frame::data, xrt_frame::height, HSV1_WIN, xrt_frame::stride, and xrt_frame::width.
Referenced by t_debug_hsv_filter_create().
void t_debug_hsv_filter_frame2 | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References xrt_frame::data, xrt_frame::height, HSV2_WIN, xrt_frame::stride, and xrt_frame::width.
Referenced by t_debug_hsv_filter_create().
void t_debug_hsv_filter_frame3 | ( | struct xrt_frame_sink * | xsink, |
struct xrt_frame * | xf | ||
) |
References xrt_frame::data, xrt_frame::height, HSV3_WIN, xrt_frame::stride, and xrt_frame::width.
Referenced by t_debug_hsv_filter_create().