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;
96 DecklinkReader(
int device,
int video_mode,
int pixel_format,
int channels,
int sample_depth);
110 std::shared_ptr<Frame> GetFrame(int64_t requested_frame);
111 unsigned long GetCurrentFrameNumber();
117 string Name() {
return "DecklinkReader"; };
121 void SetJson(
string value);
122 Json::Value JsonValue();
123 void SetJsonValue(Json::Value root);
Header file for ReaderBase class.
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
This abstract class is the base class, used by all readers in libopenshot.
string Name()
Return the type name of the class.
Header file for CacheMemory class.
bool IsOpen()
Determine if reader is open or closed.
Header file for all Exception classes.
Header file for Frame class.
This namespace is the default namespace for all code in the openshot library.
This class is a memory-based cache manager for Frame objects.
This class uses the Blackmagic Decklink libraries, to open video streams on Blackmagic devices...