Monado OpenXR Runtime
wmr_camera.h File Reference

Interface to read WMR cameras. More...

#include "util/u_debug.h"
#include "util/u_logging.h"
#include "xrt/xrt_config_have.h"
#include "xrt/xrt_frame.h"
#include "xrt/xrt_prober.h"
#include "wmr_config.h"
Include dependency graph for wmr_camera.h:

Go to the source code of this file.

Data Structures

struct  wmr_camera_open_config
 

Functions

struct wmr_camerawmr_camera_open (struct wmr_camera_open_config *config)
 
void wmr_camera_free (struct wmr_camera *cam)
 
bool wmr_camera_start (struct wmr_camera *cam)
 Starts the cameras. More...
 
bool wmr_camera_stop (struct wmr_camera *cam)
 
int wmr_camera_set_exposure_gain (struct wmr_camera *cam, uint8_t camera_id, uint16_t exposure, uint8_t gain)
 Set manual exposure and gain values. More...
 

Detailed Description

Interface to read WMR cameras.

Author
Jan Schmidt jan@c.nosp@m.entr.nosp@m.icula.nosp@m.r.co.nosp@m.m

Function Documentation

◆ wmr_camera_set_exposure_gain()

int wmr_camera_set_exposure_gain ( struct wmr_camera cam,
uint8_t  camera_id,
uint16_t  exposure,
uint8_t  gain 
)

Set manual exposure and gain values.

Parameters
camCamera container
camera_idWhich camera to affect
exposureTime the shutter is open, observed values 60-6000.
gainAmplification of the analog signal, observed values: 16-255.

Referenced by update_expgain().

◆ wmr_camera_start()

bool wmr_camera_start ( struct wmr_camera cam)

Starts the cameras.