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

Public Member Functions

 hd_rum_translator_state ()
 
 ~hd_rum_translator_state ()
 

Public Attributes

int bufsize = 0
 
struct control_state * control_state = nullptr
 
void * decompress = nullptr
 
struct module mod
 
int qempty = 1
 
pthread_cond_t qempty_cond
 
pthread_mutex_t qempty_mtx
 
int qfull = 0
 
pthread_cond_t qfull_cond
 
pthread_mutex_t qfull_mtx
 
struct item * qhead = nullptr
 
struct item * qtail = nullptr
 
struct item * queue = nullptr
 
struct state_recompress * recompress = nullptr
 
vector< replica * > replicas
 
std::shared_ptr< socket_udp > server_socket
 

Detailed Description

Definition at line 147 of file hd-rum-translator.cpp.

Constructor & Destructor Documentation

◆ hd_rum_translator_state()

hd_rum_translator_state::hd_rum_translator_state ( )
inline

Definition at line 148 of file hd-rum-translator.cpp.

148 {
150 pthread_mutex_init(&qempty_mtx, NULL);
151 pthread_mutex_init(&qfull_mtx, NULL);
152 pthread_cond_init(&qempty_cond, NULL);
153 pthread_cond_init(&qfull_cond, NULL);
154 }
void init_root_module(struct module *root_mod)
Definition host.cpp:610

References init_root_module(), mod, qempty_cond, qempty_mtx, qfull_cond, and qfull_mtx.

Here is the call graph for this function:

◆ ~hd_rum_translator_state()

hd_rum_translator_state::~hd_rum_translator_state ( )
inline

Definition at line 155 of file hd-rum-translator.cpp.

155 {
156 pthread_mutex_destroy(&qempty_mtx);
157 pthread_mutex_destroy(&qfull_mtx);
158 pthread_cond_destroy(&qempty_cond);
159 pthread_cond_destroy(&qfull_cond);
161 }
void module_done(struct module *module_data)
Definition module.c:93

References mod, module_done(), qempty_cond, qempty_mtx, qfull_cond, and qfull_mtx.

Here is the call graph for this function:

Member Data Documentation

◆ bufsize

int hd_rum_translator_state::bufsize = 0

Definition at line 163 of file hd-rum-translator.cpp.

Referenced by writer().

◆ control_state

struct control_state* hd_rum_translator_state::control_state = nullptr

Definition at line 164 of file hd-rum-translator.cpp.

Referenced by hd_rum_translator_deinit().

◆ decompress

void* hd_rum_translator_state::decompress = nullptr

Definition at line 177 of file hd-rum-translator.cpp.

Referenced by hd_rum_translator_deinit(), and writer().

◆ mod

struct module hd_rum_translator_state::mod

◆ qempty

int hd_rum_translator_state::qempty = 1

Definition at line 168 of file hd-rum-translator.cpp.

Referenced by writer().

◆ qempty_cond

pthread_cond_t hd_rum_translator_state::qempty_cond

◆ qempty_mtx

pthread_mutex_t hd_rum_translator_state::qempty_mtx

◆ qfull

int hd_rum_translator_state::qfull = 0

Definition at line 169 of file hd-rum-translator.cpp.

Referenced by writer().

◆ qfull_cond

pthread_cond_t hd_rum_translator_state::qfull_cond

◆ qfull_mtx

pthread_mutex_t hd_rum_translator_state::qfull_mtx

◆ qhead

struct item* hd_rum_translator_state::qhead = nullptr

Definition at line 166 of file hd-rum-translator.cpp.

Referenced by writer().

◆ qtail

struct item* hd_rum_translator_state::qtail = nullptr

Definition at line 167 of file hd-rum-translator.cpp.

Referenced by writer().

◆ queue

struct item* hd_rum_translator_state::queue = nullptr

Definition at line 165 of file hd-rum-translator.cpp.

Referenced by hd_rum_translator_deinit().

◆ recompress

struct state_recompress* hd_rum_translator_state::recompress = nullptr

◆ replicas

vector<replica *> hd_rum_translator_state::replicas

Definition at line 175 of file hd-rum-translator.cpp.

Referenced by create_output_port(), hd_rum_translator_deinit(), and writer().

◆ server_socket

std::shared_ptr<socket_udp> hd_rum_translator_state::server_socket

Definition at line 176 of file hd-rum-translator.cpp.

Referenced by create_output_port(), and writer().


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