53 #ifndef OPENSHOT_DECKLINK_INPUT_H 54 #define OPENSHOT_DECKLINK_INPUT_H 64 #include "DeckLinkAPI.h" 65 #include "../include/Frame.h" 67 #include "../include/OpenMPUtilities.h" 86 DeckLinkInputDelegate(pthread_cond_t* m_sleepCond, IDeckLinkOutput* deckLinkOutput, IDeckLinkVideoConversion* deckLinkConverter);
89 virtual HRESULT STDMETHODCALLTYPE
QueryInterface(REFIID iid, LPVOID *ppv) {
return E_NOINTERFACE; }
90 virtual ULONG STDMETHODCALLTYPE
AddRef(
void);
91 virtual ULONG STDMETHODCALLTYPE
Release(
void);
92 virtual HRESULT STDMETHODCALLTYPE
VideoInputFormatChanged(BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode*, BMDDetectedVideoInputFormatFlags);
93 virtual HRESULT STDMETHODCALLTYPE
VideoInputFrameArrived(IDeckLinkVideoInputFrame*, IDeckLinkAudioInputPacket*);
96 std::shared_ptr<openshot::Frame>
GetFrame(int64_t requested_frame);
101 pthread_mutex_t m_mutex;
Header file for CacheMemory class.
This class is a memory-based cache manager for Frame objects.