Monado OpenXR Runtime
Data Structures | Macros | Functions | Variables
t_debug_hsv_picker.cpp File Reference

HSV Picker Debugging 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>
Include dependency graph for t_debug_hsv_picker.cpp:

Data Structures

class  DebugHSVPicker
 

Macros

#define PICK_WIN   "HSV Picker Debugger"
 
#define max(a, b)   (a > b ? a : b)
 
#define min(a, b)   (a < b ? a : b)
 

Functions

void t_debug_hsv_picker_frame (struct xrt_frame_sink *xsink, struct xrt_frame *xf)
 
void t_debug_hsv_picker_break_apart (struct xrt_frame_node *node)
 
void t_debug_hsv_picker_destroy (struct xrt_frame_node *node)
 
int t_debug_hsv_picker_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *passthrough, struct xrt_frame_sink **out_sink)
 

Variables

const int max_value_H = 360 / 2
 
const int max_value = 256
 

Detailed Description

HSV Picker Debugging code.

Author
Pete Black pblac.nosp@m.k@co.nosp@m.llabo.nosp@m.ra.c.nosp@m.om
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ max

#define max (   a,
 
)    (a > b ? a : b)

◆ min

#define min (   a,
 
)    (a < b ? a : b)

◆ PICK_WIN

#define PICK_WIN   "HSV Picker Debugger"

Function Documentation

◆ t_debug_hsv_picker_break_apart()

void t_debug_hsv_picker_break_apart ( struct xrt_frame_node node)

◆ t_debug_hsv_picker_create()

int t_debug_hsv_picker_create ( struct xrt_frame_context xfctx,
struct xrt_frame_sink passthrough,
struct xrt_frame_sink **  out_sink 
)

◆ t_debug_hsv_picker_destroy()

void t_debug_hsv_picker_destroy ( struct xrt_frame_node node)

References container_of.

Referenced by t_debug_hsv_picker_create().

◆ t_debug_hsv_picker_frame()

void t_debug_hsv_picker_frame ( struct xrt_frame_sink xsink,
struct xrt_frame xf 
)

Variable Documentation

◆ max_value

const int max_value = 256

◆ max_value_H

const int max_value_H = 360 / 2