31 #ifndef OPENSHOT_DECKLINK_WRITER_H
32 #define OPENSHOT_DECKLINK_WRITER_H
68 IDeckLinkDisplayModeIterator *displayModeIterator;
69 IDeckLinkOutput *deckLinkOutput;
70 IDeckLinkVideoConversion *m_deckLinkConverter;
71 pthread_mutex_t sleepMutex;
72 pthread_cond_t sleepCond;
73 IDeckLinkIterator *deckLinkIterator;
75 IDeckLinkDisplayMode *displayMode;
76 BMDVideoInputFlags inputFlags;
77 BMDDisplayMode selectedDisplayMode;
78 BMDPixelFormat pixelFormat;
82 bool foundDisplayMode;
86 int g_audioSampleDepth;
94 DecklinkWriter(
int device,
int video_mode,
int pixel_format,
int channels,
int sample_depth);
100 void WriteFrame(std::shared_ptr<Frame> frame);
Header file for CacheMemory class.
Header file for DecklinkOutput class.
Header file for all Exception classes.
Header file for Frame class.
Header file for WriterBase class.
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
This class uses the Blackmagic Decklink libraries, to send video streams to Blackmagic devices.
void Close()
Close the device and video stream.
void WriteFrame(std::shared_ptr< Frame > frame)
This method is required for all derived classes of WriterBase. Write a Frame to the video file.
bool IsOpen()
Determine if writer is open or closed.
void Open()
Open device and video stream - which is called by the constructor automatically.
DecklinkWriter(int device, int video_mode, int pixel_format, int channels, int sample_depth)
This abstract class is the base class, used by all readers in libopenshot.
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.