Monado OpenXR Runtime
Data Structures | Macros | Functions
t_hsv_filter.c File Reference

A simple HSV filter. More...

#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_debug.h"
#include "util/u_frame.h"
#include "util/u_format.h"
#include "tracking/t_tracking.h"
#include <stdio.h>
#include <assert.h>
Include dependency graph for t_hsv_filter.c:

Data Structures

struct  t_hsv_filter
 

Macros

#define MOD_180(v)   ((uint32_t)(v) % 180)
 
#define NUM_CHANNELS   4
 

Functions

void t_hsv_build_convert_table (struct t_hsv_filter_params *params, struct t_convert_table *t)
 
void t_hsv_build_large_table (struct t_hsv_filter_params *params, struct t_hsv_filter_large_table *t)
 
void t_hsv_build_optimized_table (struct t_hsv_filter_params *params, struct t_hsv_filter_optimized_table *t)
 
int t_hsv_filter_create (struct xrt_frame_context *xfctx, struct t_hsv_filter_params *params, struct xrt_frame_sink *sinks[4], struct xrt_frame_sink **out_sink)
 

Detailed Description

A simple HSV filter.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ MOD_180

#define MOD_180 (   v)    ((uint32_t)(v) % 180)

◆ NUM_CHANNELS

#define NUM_CHANNELS   4

Function Documentation

◆ t_hsv_build_convert_table()

void t_hsv_build_convert_table ( struct t_hsv_filter_params params,
struct t_convert_table t 
)

◆ t_hsv_build_large_table()

void t_hsv_build_large_table ( struct t_hsv_filter_params params,
struct t_hsv_filter_large_table t 
)

◆ t_hsv_build_optimized_table()

void t_hsv_build_optimized_table ( struct t_hsv_filter_params params,
struct t_hsv_filter_optimized_table t 
)

◆ t_hsv_filter_create()

int t_hsv_filter_create ( struct xrt_frame_context xfctx,
struct t_hsv_filter_params params,
struct xrt_frame_sink sinks[4],
struct xrt_frame_sink **  out_sink 
)