Monado OpenXR Runtime
|
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"
Go to the source code of this file.
Data Structures | |
struct | wmr_camera_open_config |
Functions | |
struct wmr_camera * | wmr_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... | |
Interface to read WMR cameras.
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.
cam | Camera container |
camera_id | Which camera to affect |
exposure | Time the shutter is open, observed values 60-6000. |
gain | Amplification of the analog signal, observed values: 16-255. |
Referenced by update_expgain().
bool wmr_camera_start | ( | struct wmr_camera * | cam | ) |
Starts the cameras.