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

Classes

struct  aud_desc
 
struct  vid_desc
 

Public Attributes

int audio_consumer_levels
 0 false, 1 true, -1 default
 
struct audio_desc audio_desc
 
AudioDriftFixer audio_drift_fixer {}
 
mutex audio_reconf_lock
 for audio and video reconf to be mutually exclusive
 
atomic_bool audio_reconfigure = false
 
buffer_pool_t buffer_pool
 
bool com_initialized = false
 
IDeckLink * deckLink
 
IDeckLinkProfileAttributes * deckLinkAttributes
 
IDeckLinkConfiguration * deckLinkConfiguration
 
IDeckLinkMutableVideoFrame * deckLinkFrame
 
IDeckLinkOutput * deckLinkOutput
 
PlaybackDelegate * delegate
 
PlaybackDelegate delegate
 
map< BMDDeckLinkConfigurationID, bmd_option > device_options
 
bool emit_timecode = false
 
BMDTimeValue frameRateDuration
 
BMDTimeScale frameRateScale
 
int frames
 
bool initialized = false
 
bool keep_device_defaults = false
 
bool low_latency = true
 
uint32_t magic = DECKLINK_MAGIC
 
int max_aud_chans = BMD_MAX_AUD_CH
 
int output_audio_channel_count
 
BMDPixelFormat pixelFormat {}
 
bool play_audio = false
 the BMD device will be used also for output audio
 
bmd_option profile_req
 
bmd_option quad_square_division_split {true, false}
 
HDRMetadata requested_hdr_mode {}
 
bool stereo = false
 
DeckLinkTimecode * timecode {}
 its lifespan controlled by AddRef()/Release() methods
 

Detailed Description

Definition at line 71 of file decklink.cpp.

Member Data Documentation

◆ audio_consumer_levels

int state_decklink::audio_consumer_levels

0 false, 1 true, -1 default

Definition at line 88 of file decklink.cpp.

◆ audio_desc

struct audio_desc state_decklink::audio_desc

Definition at line 74 of file decklink.cpp.

◆ audio_drift_fixer

AudioDriftFixer state_decklink::audio_drift_fixer {}

Definition at line 545 of file decklink.cpp.

545{};

Referenced by display_decklink_init(), display_decklink_put_audio_frame(), and settings_init().

◆ audio_reconf_lock

mutex state_decklink::audio_reconf_lock

for audio and video reconf to be mutually exclusive

Definition at line 541 of file decklink.cpp.

Referenced by display_decklink_reconfigure_audio().

◆ audio_reconfigure

atomic_bool state_decklink::audio_reconfigure = false

◆ buffer_pool

buffer_pool_t state_decklink::buffer_pool

◆ com_initialized

bool state_decklink::com_initialized = false

Definition at line 79 of file decklink.cpp.

Referenced by display_decklink_done(), and display_decklink_init().

◆ deckLink

IDeckLink * state_decklink::deckLink

Definition at line 80 of file decklink.cpp.

Referenced by display_decklink_done(), and display_decklink_init().

◆ deckLinkAttributes

IDeckLinkProfileAttributes* state_decklink::deckLinkAttributes

Definition at line 510 of file decklink.cpp.

Referenced by display_decklink_done(), display_decklink_init(), and set_audio_props().

◆ deckLinkConfiguration

IDeckLinkConfiguration* state_decklink::deckLinkConfiguration

Definition at line 509 of file decklink.cpp.

Referenced by display_decklink_done(), and display_decklink_init().

◆ deckLinkFrame

IDeckLinkMutableVideoFrame* state_decklink::deckLinkFrame

Definition at line 82 of file decklink.cpp.

Referenced by display_decklink_putf().

◆ deckLinkOutput

◆ delegate [1/2]

PlaybackDelegate* state_decklink::delegate

◆ delegate [2/2]

PlaybackDelegate state_decklink::delegate

Definition at line 506 of file decklink.cpp.

◆ device_options

map<BMDDeckLinkConfigurationID, bmd_option> state_decklink::device_options
Initial value:
= {
{ bmdDeckLinkConfigOutput1080pAsPsF, bmd_option{false, false}},
{ bmdDeckLinkConfigFieldFlickerRemoval, bmd_option{false, false}},
{ bmdDeckLinkConfigLowLatencyVideoOutput, bmd_option{true, false}}
}

Definition at line 530 of file decklink.cpp.

530 {
531 { bmdDeckLinkConfigOutput1080pAsPsF, bmd_option{false, false}},
532 { bmdDeckLinkConfigFieldFlickerRemoval, bmd_option{false, false}},
533 { bmdDeckLinkConfigLowLatencyVideoOutput, bmd_option{true, false}}
534 };

Referenced by display_decklink_init(), and settings_init().

◆ emit_timecode

bool state_decklink::emit_timecode = false

Definition at line 522 of file decklink.cpp.

Referenced by display_decklink_init(), display_decklink_putf(), and settings_init().

◆ frameRateDuration

BMDTimeValue state_decklink::frameRateDuration

Definition at line 84 of file decklink.cpp.

Referenced by display_decklink_reconfigure(), and get_mode().

◆ frameRateScale

BMDTimeScale state_decklink::frameRateScale

Definition at line 85 of file decklink.cpp.

Referenced by display_decklink_reconfigure(), and get_mode().

◆ frames

int state_decklink::frames

Definition at line 87 of file decklink.cpp.

◆ initialized

bool state_decklink::initialized = false

Definition at line 521 of file decklink.cpp.

Referenced by display_decklink_done(), and display_decklink_getf().

◆ keep_device_defaults

bool state_decklink::keep_device_defaults = false

Definition at line 543 of file decklink.cpp.

Referenced by display_decklink_init(), and settings_init().

◆ low_latency

◆ magic

uint32_t state_decklink::magic = DECKLINK_MAGIC

Definition at line 72 of file decklink.cpp.

Referenced by display_decklink_getf(), and display_decklink_putf().

◆ max_aud_chans

int state_decklink::max_aud_chans = BMD_MAX_AUD_CH

Definition at line 524 of file decklink.cpp.

Referenced by display_decklink_get_property(), and set_audio_props().

◆ output_audio_channel_count

int state_decklink::output_audio_channel_count

Definition at line 76 of file decklink.cpp.

◆ pixelFormat

BMDPixelFormat state_decklink::pixelFormat {}

Definition at line 526 of file decklink.cpp.

526{};

Referenced by allocate_new_decklink_frame(), and display_decklink_getf().

◆ play_audio

bool state_decklink::play_audio = false

the BMD device will be used also for output audio

Definition at line 523 of file decklink.cpp.

Referenced by display_decklink_done(), display_decklink_put_audio_frame(), display_decklink_reconfigure_audio(), and set_audio_props().

◆ profile_req

bmd_option state_decklink::profile_req

Definition at line 528 of file decklink.cpp.

Referenced by display_decklink_init(), and settings_init().

◆ quad_square_division_split

bmd_option state_decklink::quad_square_division_split {true, false}

Definition at line 529 of file decklink.cpp.

529{true, false};

Referenced by settings_init().

◆ requested_hdr_mode

HDRMetadata state_decklink::requested_hdr_mode {}

Definition at line 535 of file decklink.cpp.

535{};

Referenced by allocate_new_decklink_frame(), display_decklink_init(), and settings_init().

◆ stereo

bool state_decklink::stereo = false

◆ timecode

DeckLinkTimecode* state_decklink::timecode {}

its lifespan controlled by AddRef()/Release() methods

Todo
Should be actually allocated dynamically and

Definition at line 512 of file decklink.cpp.

512{};

Referenced by display_decklink_done(), display_decklink_init(), and display_decklink_putf().


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