OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
56 #ifndef OPENSHOT_DECKLINK_OUTPUT_H
57 #define OPENSHOT_DECKLINK_OUTPUT_H
67 #include "DeckLinkAPI.h"
118 virtual HRESULT STDMETHODCALLTYPE
QueryInterface (REFIID iid, LPVOID *ppv) {
return E_NOINTERFACE;}
119 virtual ULONG STDMETHODCALLTYPE
AddRef () {
return 1;}
120 virtual ULONG STDMETHODCALLTYPE
Release () {
return 1;}
122 virtual HRESULT STDMETHODCALLTYPE
ScheduledFrameCompleted (IDeckLinkVideoFrame* completedFrame, BMDOutputFrameCompletionResult result);
131 void WriteFrame(std::shared_ptr<openshot::Frame> frame);
135 pthread_mutex_t m_mutex;
OutputSignal m_outputSignal
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv)
virtual ULONG STDMETHODCALLTYPE Release()
virtual HRESULT STDMETHODCALLTYPE RenderAudioSamples(bool preroll)
~DeckLinkOutputDelegate()
std::map< int, uint8_t * > temp_cache
virtual ULONG STDMETHODCALLTYPE AddRef()
void WriteFrame(std::shared_ptr< openshot::Frame > frame)
Custom method to write new frames.
unsigned long m_totalFramesScheduled
BMDAudioSampleRate m_audioSampleRate
IDeckLinkOutput * deckLinkOutput
unsigned long m_audioBufferSampleLength
unsigned long audioSamplesPerFrame
BMDTimeValue frameRateDuration
Header file for CacheMemory class.
virtual HRESULT STDMETHODCALLTYPE ScheduledPlaybackHasStopped()
IDeckLinkDisplayMode * displayMode
std::deque< uint8_t * > final_frames
unsigned long m_framesPerSecond
BMDTimeValue frameRateScale
Header file for Frame class.
unsigned long m_audioBufferOffset
virtual HRESULT STDMETHODCALLTYPE ScheduledFrameCompleted(IDeckLinkVideoFrame *completedFrame, BMDOutputFrameCompletionResult result)
Header file for OpenMPUtilities (set some common macros)
void ScheduleNextFrame(bool prerolling)
Schedule the next frame.
DeckLinkOutputDelegate(IDeckLinkDisplayMode *displayMode, IDeckLinkOutput *deckLinkOutput)
unsigned long m_audioSampleDepth
IDeckLinkMutableVideoFrame * m_currentFrame
std::deque< std::shared_ptr< openshot::Frame > > raw_video_frames
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
unsigned long m_audioChannelCount