OpenShot Library | libopenshot
0.2.7
|
Implementation of the Blackmagic Decklink API (used by the DecklinkReader) More...
#include <DecklinkInput.h>
Public Member Functions | |
virtual ULONG STDMETHODCALLTYPE | AddRef (void) |
DeckLinkInputDelegate (pthread_cond_t *m_sleepCond, IDeckLinkOutput *deckLinkOutput, IDeckLinkVideoConversion *deckLinkConverter) | |
unsigned long | GetCurrentFrameNumber () |
std::shared_ptr< openshot::Frame > | GetFrame (int64_t requested_frame) |
virtual HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID iid, LPVOID *ppv) |
virtual ULONG STDMETHODCALLTYPE | Release (void) |
virtual HRESULT STDMETHODCALLTYPE | VideoInputFormatChanged (BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode *, BMDDetectedVideoInputFormatFlags) |
virtual HRESULT STDMETHODCALLTYPE | VideoInputFrameArrived (IDeckLinkVideoInputFrame *, IDeckLinkAudioInputPacket *) |
~DeckLinkInputDelegate () | |
Public Attributes | |
IDeckLinkVideoConversion * | deckLinkConverter |
IDeckLinkOutput * | deckLinkOutput |
unsigned long | final_frameCount |
openshot::CacheMemory | final_frames |
unsigned long | frameCount |
BMDTimecodeFormat | g_timecodeFormat |
std::deque< IDeckLinkMutableVideoFrame * > | raw_video_frames |
pthread_cond_t * | sleepCond |
Implementation of the Blackmagic Decklink API (used by the DecklinkReader)
Definition at line 32 of file DecklinkInput.h.
DeckLinkInputDelegate::DeckLinkInputDelegate | ( | pthread_cond_t * | m_sleepCond, |
IDeckLinkOutput * | deckLinkOutput, | ||
IDeckLinkVideoConversion * | deckLinkConverter | ||
) |
Definition at line 19 of file DecklinkInput.cpp.
DeckLinkInputDelegate::~DeckLinkInputDelegate | ( | ) |
Definition at line 32 of file DecklinkInput.cpp.
|
virtual |
Definition at line 37 of file DecklinkInput.cpp.
Referenced by QueryInterface().
unsigned long DeckLinkInputDelegate::GetCurrentFrameNumber | ( | ) |
Definition at line 61 of file DecklinkInput.cpp.
Referenced by openshot::DecklinkReader::GetCurrentFrameNumber(), GetFrame(), and QueryInterface().
std::shared_ptr< openshot::Frame > DeckLinkInputDelegate::GetFrame | ( | int64_t | requested_frame | ) |
Definition at line 69 of file DecklinkInput.cpp.
Referenced by openshot::DecklinkReader::GetFrame(), and QueryInterface().
|
inlinevirtual |
Definition at line 51 of file DecklinkInput.h.
|
virtual |
Definition at line 46 of file DecklinkInput.cpp.
Referenced by QueryInterface().
|
virtual |
Definition at line 248 of file DecklinkInput.cpp.
Referenced by QueryInterface().
|
virtual |
Definition at line 97 of file DecklinkInput.cpp.
Referenced by QueryInterface().
IDeckLinkVideoConversion* DeckLinkInputDelegate::deckLinkConverter |
Definition at line 46 of file DecklinkInput.h.
Referenced by DeckLinkInputDelegate(), and VideoInputFrameArrived().
IDeckLinkOutput* DeckLinkInputDelegate::deckLinkOutput |
Definition at line 45 of file DecklinkInput.h.
Referenced by DeckLinkInputDelegate(), and VideoInputFrameArrived().
unsigned long DeckLinkInputDelegate::final_frameCount |
Definition at line 38 of file DecklinkInput.h.
Referenced by GetCurrentFrameNumber(), and VideoInputFrameArrived().
openshot::CacheMemory DeckLinkInputDelegate::final_frames |
Definition at line 42 of file DecklinkInput.h.
Referenced by DeckLinkInputDelegate(), GetFrame(), and VideoInputFrameArrived().
unsigned long DeckLinkInputDelegate::frameCount |
Definition at line 37 of file DecklinkInput.h.
Referenced by VideoInputFrameArrived().
BMDTimecodeFormat DeckLinkInputDelegate::g_timecodeFormat |
Definition at line 36 of file DecklinkInput.h.
Referenced by VideoInputFrameArrived().
std::deque<IDeckLinkMutableVideoFrame*> DeckLinkInputDelegate::raw_video_frames |
Definition at line 41 of file DecklinkInput.h.
Referenced by VideoInputFrameArrived().
pthread_cond_t* DeckLinkInputDelegate::sleepCond |
Definition at line 35 of file DecklinkInput.h.
Referenced by DeckLinkInputDelegate().