Monado OpenXR Runtime
gui_scene_record.c File Reference

Recording scene gui. More...

#include "xrt/xrt_config_have.h"
#include "xrt/xrt_config_drivers.h"
#include "os/os_threading.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_sink.h"
#include "util/u_file.h"
#include "util/u_json.h"
#include "util/u_frame.h"
#include "util/u_format.h"
#include "xrt/xrt_frame.h"
#include "xrt/xrt_prober.h"
#include "xrt/xrt_tracking.h"
#include "xrt/xrt_frameserver.h"
#include "gui_imgui.h"
#include "gui_common.h"
#include "gui_window_record.h"
#include "stb_image_write.h"
#include <assert.h>
Include dependency graph for gui_scene_record.c:

Data Structures

struct  camera_window
 
struct  record_scene
 

Functions

static void window_set_camera_source (struct camera_window *cw, uint32_t width, uint32_t height, enum xrt_format format)
 
static void window_destroy (struct camera_window *cw)
 
static bool window_has_source (struct camera_window *cw)
 
static struct camera_windowwindow_create (struct gui_program *p, const char *camera)
 
static bool is_camera_elp (const char *product, const char *manufacturer)
 
static bool is_camera_index (const char *product, const char *manufacturer)
 
static bool is_camera_leap_motion (const char *product, const char *manufacturer)
 
static void on_video_device (struct xrt_prober *xp, struct xrt_prober_device *pdev, const char *product, const char *manufacturer, const char *serial, void *ptr)
 
static void scene_render (struct gui_scene *scene, struct gui_program *p)
 
static void scene_destroy (struct gui_scene *scene, struct gui_program *p)
 
void gui_scene_record (struct gui_program *p, const char *camera)
 

Detailed Description

Recording scene gui.

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