OpenShot Library | libopenshot
0.2.4
|
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter) More...
#include <DecklinkOutput.h>
Public Member Functions | |
virtual ULONG STDMETHODCALLTYPE | AddRef () |
DeckLinkOutputDelegate (IDeckLinkDisplayMode *displayMode, IDeckLinkOutput *deckLinkOutput) | |
virtual HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID iid, LPVOID *ppv) |
virtual ULONG STDMETHODCALLTYPE | Release () |
virtual HRESULT STDMETHODCALLTYPE | RenderAudioSamples (bool preroll) |
virtual HRESULT STDMETHODCALLTYPE | ScheduledFrameCompleted (IDeckLinkVideoFrame *completedFrame, BMDOutputFrameCompletionResult result) |
virtual HRESULT STDMETHODCALLTYPE | ScheduledPlaybackHasStopped () |
void | ScheduleNextFrame (bool prerolling) |
Schedule the next frame. More... | |
void | WriteFrame (std::shared_ptr< openshot::Frame > frame) |
Custom method to write new frames. More... | |
~DeckLinkOutputDelegate () | |
Protected Attributes | |
unsigned long | audioSamplesPerFrame |
IDeckLinkOutput * | deckLinkOutput |
IDeckLinkDisplayMode * | displayMode |
std::deque< uint8_t *> | final_frames |
unsigned long | frameCount |
BMDTimeValue | frameRateDuration |
BMDTimeValue | frameRateScale |
int | height |
void * | m_audioBuffer |
unsigned long | m_audioBufferOffset |
unsigned long | m_audioBufferSampleLength |
unsigned long | m_audioChannelCount |
unsigned long | m_audioSampleDepth |
BMDAudioSampleRate | m_audioSampleRate |
IDeckLinkMutableVideoFrame * | m_currentFrame |
unsigned long | m_framesPerSecond |
OutputSignal | m_outputSignal |
unsigned long | m_totalFramesScheduled |
std::deque< std::shared_ptr< openshot::Frame > > | raw_video_frames |
std::map< int, uint8_t *> | temp_cache |
int | width |
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
Definition at line 78 of file DecklinkOutput.h.
DeckLinkOutputDelegate::DeckLinkOutputDelegate | ( | IDeckLinkDisplayMode * | displayMode, |
IDeckLinkOutput * | deckLinkOutput | ||
) |
Definition at line 60 of file DecklinkOutput.cpp.
DeckLinkOutputDelegate::~DeckLinkOutputDelegate | ( | ) |
Definition at line 89 of file DecklinkOutput.cpp.
|
inlinevirtual |
Definition at line 119 of file DecklinkOutput.h.
|
inlinevirtual |
Definition at line 118 of file DecklinkOutput.h.
|
inlinevirtual |
Definition at line 120 of file DecklinkOutput.h.
|
virtual |
Definition at line 112 of file DecklinkOutput.cpp.
Referenced by Release().
|
virtual |
Definition at line 96 of file DecklinkOutput.cpp.
Referenced by Release().
|
virtual |
Definition at line 106 of file DecklinkOutput.cpp.
Referenced by Release().
void DeckLinkOutputDelegate::ScheduleNextFrame | ( | bool | prerolling | ) |
Schedule the next frame.
Definition at line 147 of file DecklinkOutput.cpp.
Referenced by Release(), ScheduledFrameCompleted(), and WriteFrame().
void DeckLinkOutputDelegate::WriteFrame | ( | std::shared_ptr< openshot::Frame > | frame | ) |
Custom method to write new frames.
Definition at line 201 of file DecklinkOutput.cpp.
Referenced by Release(), and openshot::DecklinkWriter::WriteFrame().
|
protected |
Definition at line 89 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 106 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), ScheduleNextFrame(), and WriteFrame().
|
protected |
Definition at line 107 of file DecklinkOutput.h.
|
protected |
Definition at line 102 of file DecklinkOutput.h.
Referenced by ScheduleNextFrame(), and WriteFrame().
|
protected |
Definition at line 94 of file DecklinkOutput.h.
Referenced by WriteFrame().
|
protected |
Definition at line 98 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), and ScheduleNextFrame().
|
protected |
Definition at line 98 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), and ScheduleNextFrame().
|
protected |
Definition at line 91 of file DecklinkOutput.h.
Referenced by ScheduleNextFrame(), and WriteFrame().
|
protected |
Definition at line 83 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 85 of file DecklinkOutput.h.
|
protected |
Definition at line 84 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 86 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 88 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 87 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 110 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), and ScheduleNextFrame().
|
protected |
Definition at line 90 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), and WriteFrame().
|
protected |
Definition at line 82 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate().
|
protected |
Definition at line 81 of file DecklinkOutput.h.
Referenced by DeckLinkOutputDelegate(), ScheduleNextFrame(), and WriteFrame().
|
protected |
Definition at line 103 of file DecklinkOutput.h.
Referenced by WriteFrame().
|
protected |
Definition at line 96 of file DecklinkOutput.h.
Referenced by WriteFrame().
|
protected |
Definition at line 92 of file DecklinkOutput.h.
Referenced by ScheduleNextFrame(), and WriteFrame().