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

Public Attributes

std::queue< Ipc_frame_uniq > frame_queue
 
std::condition_variable frame_submitted_cv
 
clk::duration frame_time
 
std::vector< Ipc_frame_uniq > free_frames
 
ipc_frame_conv_func_t ipc_conv = ipc_frame_from_ug_frame
 
std::mutex mut
 
clk::time_point next_frame = clk::now()
 
std::atomic< bool > should_exit = false
 
int target_height = DEFAULT_SCALE_H
 
int target_width = DEFAULT_SCALE_W
 
std::thread worker_thread
 

Detailed Description

Definition at line 87 of file preview.cpp.

Member Data Documentation

◆ frame_queue

std::queue<Ipc_frame_uniq> state_preview_filter::frame_queue

Definition at line 93 of file preview.cpp.

Referenced by filter(), and worker().

◆ frame_submitted_cv

std::condition_variable state_preview_filter::frame_submitted_cv

Definition at line 89 of file preview.cpp.

Referenced by done(), filter(), and worker().

◆ frame_time

clk::duration state_preview_filter::frame_time

Definition at line 100 of file preview.cpp.

Referenced by filter().

◆ free_frames

std::vector<Ipc_frame_uniq> state_preview_filter::free_frames

Definition at line 92 of file preview.cpp.

Referenced by filter(), and worker().

◆ ipc_conv

ipc_frame_conv_func_t state_preview_filter::ipc_conv = ipc_frame_from_ug_frame

Definition at line 98 of file preview.cpp.

Referenced by filter().

◆ mut

std::mutex state_preview_filter::mut

Definition at line 88 of file preview.cpp.

Referenced by filter(), and worker().

◆ next_frame

clk::time_point state_preview_filter::next_frame = clk::now()

Definition at line 101 of file preview.cpp.

Referenced by filter().

◆ should_exit

std::atomic<bool> state_preview_filter::should_exit = false

Definition at line 90 of file preview.cpp.

Referenced by worker().

◆ target_height

int state_preview_filter::target_height = DEFAULT_SCALE_H

Definition at line 96 of file preview.cpp.

Referenced by filter().

◆ target_width

int state_preview_filter::target_width = DEFAULT_SCALE_W

Definition at line 95 of file preview.cpp.

Referenced by filter().

◆ worker_thread

std::thread state_preview_filter::worker_thread

Definition at line 103 of file preview.cpp.


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