UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
state_uv Struct Reference
Collaboration diagram for state_uv:
Collaboration graph

Public Member Functions

 state_uv () noexcept
 
 ~state_uv ()
 

Static Public Member Functions

static void should_exit_capture_callback (void *udata)
 

Public Attributes

struct state_audio * audio {}
 
struct vidcap * capture_device {}
 
struct display * display_device {}
 
uint32_t magic = state_magic
 
struct module root_module
 
bool should_exit_capture = false
 
video_rxtx * state_video_rxtx {}
 

Static Public Attributes

static constexpr uint32_t state_magic = to_fourcc('U', 'G', 'S', 'T')
 

Detailed Description

Definition at line 147 of file main.cpp.

Constructor & Destructor Documentation

◆ state_uv()

state_uv::state_uv ( )
inlinenoexcept

Definition at line 149 of file main.cpp.

149 {
152 }
void init_root_module(struct module *root_mod)
Definition host.cpp:610
void register_should_exit_callback(struct module *mod, void(*callback)(void *), void *udata)
Definition host.cpp:1144
struct module root_module
Definition main.cpp:162
static void should_exit_capture_callback(void *udata)
Definition main.cpp:166

References init_root_module(), register_should_exit_callback(), root_module, and should_exit_capture_callback().

Here is the call graph for this function:

◆ ~state_uv()

state_uv::~state_uv ( )
inline

Definition at line 153 of file main.cpp.

153 {
155 }
void module_done(struct module *module_data)
Definition module.c:93

References module_done(), and root_module.

Here is the call graph for this function:

Member Function Documentation

◆ should_exit_capture_callback()

static void state_uv::should_exit_capture_callback ( void * udata)
inlinestatic

Definition at line 166 of file main.cpp.

166 {
167 auto *s = (state_uv *) udata;
168 s->should_exit_capture = true;
169 }

Referenced by state_uv().

Member Data Documentation

◆ audio

struct state_audio* state_uv::audio {}

Definition at line 160 of file main.cpp.

160{};

◆ capture_device

struct vidcap* state_uv::capture_device {}

Definition at line 157 of file main.cpp.

157{};

◆ display_device

struct display* state_uv::display_device {}

Definition at line 158 of file main.cpp.

158{};

◆ magic

uint32_t state_uv::magic = state_magic

Definition at line 148 of file main.cpp.

◆ root_module

struct module state_uv::root_module

Definition at line 162 of file main.cpp.

Referenced by state_uv(), and ~state_uv().

◆ should_exit_capture

bool state_uv::should_exit_capture = false

Definition at line 170 of file main.cpp.

◆ state_magic

uint32_t state_uv::state_magic = to_fourcc('U', 'G', 'S', 'T')
staticconstexpr

Definition at line 171 of file main.cpp.

Referenced by capture_thread().

◆ state_video_rxtx

video_rxtx* state_uv::state_video_rxtx {}

Definition at line 164 of file main.cpp.

164{};

The documentation for this struct was generated from the following file: