28 #ifndef OPENSHOT_DECKLINK_READER_H
29 #define OPENSHOT_DECKLINK_READER_H
67 IDeckLinkInput *deckLinkInput;
68 IDeckLinkDisplayModeIterator *displayModeIterator;
69 IDeckLinkOutput *m_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;
89 BMDTimeValue frameRateDuration, frameRateScale;
90 const char *displayModeName;
110 tr1::shared_ptr<Frame> GetFrame(
long int requested_frame)
throw(
ReaderClosed);
111 unsigned long GetCurrentFrameNumber();
117 string Name() {
return "DecklinkReader"; };
122 Json::Value JsonValue();
123 void SetJsonValue(Json::Value root)
throw(
InvalidFile);
Header file for ReaderBase class.
This abstract class is the base class, used by all readers in libopenshot.
Exception when a reader is closed, and a frame is requested.
string Name()
Return the type name of the class.
bool IsOpen()
Determine if reader is open or closed.
Cache * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
Header file for all Exception classes.
Header file for Frame class.
Exception when accessing a blackmagic decklink card.
Exception for files that can not be found or opened.
Header file for Cache class.
This class is a cache manager for Frame objects.
Exception for invalid JSON.
This class uses the Blackmagic Decklink libraries, to open video streams on Blackmagic devices...