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

Public Types

enum class  Mode { Generic , Screen_capture }
 

Public Attributes

std::vector< unique_frame > blank_frames
 
video_desc desc = {}
 
int fd = -1
 
struct spa_video_info format = {}
 
unique_frame in_flight_frame
 
enum vcap_pw_state::Mode mode = Mode::Generic
 
std::mutex mut
 
uint32_t node = PW_ID_ANY
 
pipewire_state_common pw
 
synchronized_queue< unique_frame, QUEUE_SIZE > sending_frames
 
pw_stream_uniq stream
 
spa_hook_uniq stream_listener
 
struct { 
 
   bool   crop = true 
 
   uint32_t   fps = 0 
 
   std::string   restore_file = "" 
 
   bool   show_cursor = false 
 
   std::string   target = "" 
 
} user_options 
 

Detailed Description

Definition at line 80 of file pipewire.cpp.

Member Enumeration Documentation

◆ Mode

enum class vcap_pw_state::Mode
strong
Enumerator
Generic 
Screen_capture 

Definition at line 102 of file pipewire.cpp.

102 {
103 Generic,
enum vcap_pw_state::Mode mode

Member Data Documentation

◆ blank_frames

std::vector<unique_frame> vcap_pw_state::blank_frames

Definition at line 87 of file pipewire.cpp.

◆ crop

bool vcap_pw_state::crop = true

Definition at line 111 of file pipewire.cpp.

Referenced by parse_params().

◆ desc

video_desc vcap_pw_state::desc = {}

Definition at line 90 of file pipewire.cpp.

90{};

◆ fd

int vcap_pw_state::fd = -1

Definition at line 95 of file pipewire.cpp.

Referenced by start_pipewire().

◆ format

struct spa_video_info vcap_pw_state::format = {}

Definition at line 100 of file pipewire.cpp.

100{};

◆ fps

uint32_t vcap_pw_state::fps = 0

Definition at line 110 of file pipewire.cpp.

Referenced by parse_params(), and start_pipewire().

◆ in_flight_frame

unique_frame vcap_pw_state::in_flight_frame

Definition at line 84 of file pipewire.cpp.

◆ mode

enum vcap_pw_state::Mode vcap_pw_state::mode = Mode::Generic

Referenced by parse_params(), and start_pipewire().

◆ mut

std::mutex vcap_pw_state::mut

Definition at line 86 of file pipewire.cpp.

◆ node

uint32_t vcap_pw_state::node = PW_ID_ANY

Definition at line 96 of file pipewire.cpp.

Referenced by start_pipewire().

◆ pw

pipewire_state_common vcap_pw_state::pw

Definition at line 81 of file pipewire.cpp.

Referenced by start_pipewire().

◆ restore_file

std::string vcap_pw_state::restore_file = ""

Definition at line 109 of file pipewire.cpp.

Referenced by parse_params().

◆ sending_frames

synchronized_queue<unique_frame, QUEUE_SIZE> vcap_pw_state::sending_frames

Definition at line 88 of file pipewire.cpp.

◆ show_cursor

bool vcap_pw_state::show_cursor = false

Definition at line 108 of file pipewire.cpp.

Referenced by parse_params().

◆ stream

pw_stream_uniq vcap_pw_state::stream

Definition at line 98 of file pipewire.cpp.

Referenced by start_pipewire().

◆ stream_listener

spa_hook_uniq vcap_pw_state::stream_listener

Definition at line 99 of file pipewire.cpp.

Referenced by start_pipewire().

◆ target

std::string vcap_pw_state::target = ""

Definition at line 112 of file pipewire.cpp.

Referenced by parse_params(), and start_pipewire().

◆ [struct]

struct { ... } vcap_pw_state::user_options

Referenced by parse_params(), and start_pipewire().


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