28 #ifndef OPENSHOT_DECKLINK_WRITER_H 29 #define OPENSHOT_DECKLINK_WRITER_H 67 IDeckLinkDisplayModeIterator *displayModeIterator;
68 IDeckLinkOutput *deckLinkOutput;
69 IDeckLinkVideoConversion *m_deckLinkConverter;
70 pthread_mutex_t sleepMutex;
71 pthread_cond_t sleepCond;
72 IDeckLinkIterator *deckLinkIterator;
74 IDeckLinkDisplayMode *displayMode;
75 BMDVideoInputFlags inputFlags;
76 BMDDisplayMode selectedDisplayMode;
77 BMDPixelFormat pixelFormat;
81 bool foundDisplayMode;
85 int g_audioSampleDepth;
93 DecklinkWriter(
int device,
int video_mode,
int pixel_format,
int channels,
int sample_depth);
99 void WriteFrame(std::shared_ptr<Frame> frame);
102 void WriteFrame(
ReaderBase* reader,
int start,
int length);
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
Header file for DecklinkOutput class.
This abstract class is the base class, used by all readers in libopenshot.
Header file for CacheMemory class.
bool IsOpen()
Determine if writer is open or closed.
Header file for all Exception classes.
Header file for Frame class.
Header file for WriterBase class.
This abstract class is the base class, used by writers. Writers are types of classes that encode vide...
This namespace is the default namespace for all code in the openshot library.
This class uses the Blackmagic Decklink libraries, to send video streams to Blackmagic devices...