SRSDK  0.10.39
Loading...
Searching...
No Matches
interlacer.h File Reference

Go to the source code of this file.

Data Structures

struct  leia_interlacer
 The main entity used for performing interlacing on Leia devices. More...
 
struct  leia_interlacer_init_configuration
 leia_interlacer's initial configuration. More...
 
struct  leia_interlacer_gui_configuration
 
struct  leia_interlacer_single_view_mode_listener
 

Macros

#define leia_interlacer_enable_act_VERSION   (1)
 
#define leia_interlacer_is_act_enabled_VERSION   (1)
 
#define leia_interlacer_init_zone_plate_VERSION   (1)
 
#define leia_interlacer_set_zone_plate_VERSION   (1)
 
#define leia_interlacer_get_zone_plate_results_VERSION   (3)
 
#define leia_interlacer_set_support_circle_phase_VERSION   (1)
 
#define leia_interlacer_write_zone_plate_results_VERSION   (3)
 
#define leia_interlacer_set_camera_rectification_parameters_VERSION   (2)
 
#define leia_interlacer_set_camera_angles_VERSION   (2)
 
#define leia_interlacer_set_dovern_VERSION   (1)
 
#define leia_interlacer_enable_phase_correction_VERSION   (1)
 
#define leia_interlacer_invert_phase_correction_VERSION   (1)
 
#define leia_interlacer_enable_don_correction_VERSION   (1)
 
#define leia_interlacer_set_n_VERSION   (1)
 
#define leia_interlacer_set_act_coef_VERSION   (1)
 
#define leia_interlacer_get_act_coef_VERSION   (1)
 
#define leia_interlacer_initialize_gui_VERSION   (1)
 
#define leia_interlacer_set_gui_visibility_VERSION   (1)
 
#define leia_interlacer_is_gui_visible_VERSION   (1)
 
#define leia_interlacer_process_gui_input_wndproc_VERSION   (1)
 
#define leia_interlacer_process_gui_input_ndk_VERSION   (1)
 
#define leia_interlacer_process_gui_motion_input_VERSION   (1)
 
#define leia_interlacer_shutdown_gui_VERSION   (1)
 
#define leia_interlacer_set_calibration_pattern_VERSION   (1)
 
#define leia_interlacer_set_gamma_VERSION   (1)
 

Typedefs

typedef leia_bool(* leia_interlacer_get_zone_plate_results) (struct leia_interlacer *, float *slant, float *pitch, float *phc, float *dOverN, float *n)
 
typedef void(* leia_interlacer_set_support_circle_phase) (struct leia_interlacer *, float phase)
 
typedef leia_bool(* leia_interlacer_write_zone_plate_results) (struct leia_interlacer *, float slant, float pitch, float phc, float dOverN, float n)
 
typedef void(* leia_interlacer_set_camera_rectification_parameters) (struct leia_interlacer *, leia_bool isFront, float deltaThetaX, float deltaThetaY, float deltaThetaZ, float calibrationTargetDistanceMm)
 
typedef void(* leia_interlacer_set_camera_angles) (struct leia_interlacer *, leia_bool isLeft, float thetaXFpc, float thetaYFpc, float thetaZFpc)
 
typedef void(* leia_interlacer_set_dovern) (struct leia_interlacer *, float dOverN)
 
typedef void(* leia_interlacer_enable_phase_correction) (struct leia_interlacer *, leia_bool enable)
 
typedef void(* leia_interlacer_invert_phase_correction) (struct leia_interlacer *, leia_bool invert)
 
typedef void(* leia_interlacer_enable_don_correction) (struct leia_interlacer *, leia_bool enable)
 
typedef void(* leia_interlacer_set_n) (struct leia_interlacer *, float n)
 
typedef void(* leia_interlacer_set_act_coef) (struct leia_interlacer *, float n)
 
typedef float(* leia_interlacer_get_act_coef) (struct leia_interlacer *)
 

Enumerations

enum  { LEIA_INTERLACER_MAX_LAYERS = 16 , LEIA_INTERLACER_MAX_VIEWS = 12 }
 

Functions

LEIA_NODISCARD LEIASDK_API struct leia_interlacer_init_configurationleia_interlacer_init_configuration_alloc ()
 
LEIASDK_API void leia_interlacer_init_configuration_set_is_protected (struct leia_interlacer_init_configuration *, leia_bool)
 Whether we are using a protected OpenGL context.
 
LEIASDK_API void leia_interlacer_init_configuration_set_use_atlas_for_views (struct leia_interlacer_init_configuration *, leia_bool)
 If we should use atlas by default.
 
LEIASDK_API void leia_interlacer_init_configuration_free (struct leia_interlacer_init_configuration *)
 
LEIASDK_API float leia_interlacer_get_phc (struct leia_interlacer *)
 
LEIASDK_API void leia_interlacer_set_phc (struct leia_interlacer *, float phase)
 
LEIASDK_API void leia_interlacer_set_enable_user_matrix (struct leia_interlacer *interlacer, leia_bool enabled)
 
LEIASDK_API void leia_interlacer_get_user_matrix (struct leia_interlacer *interlacer, LEIA_FLOAT_SLICE(16) transformMatrix)
 
LEIASDK_API void leia_interlacer_set_user_matrix (struct leia_interlacer *interlacer, LEIA_CONST_FLOAT_SLICE(16) transformMatrix)