OpenShot Library | libopenshot  0.1.9
Public Member Functions | Public Attributes | List of all members
DeckLinkInputDelegate Class Reference

Implementation of the Blackmagic Decklink API (used by the DecklinkReader) More...

#include <DecklinkInput.h>

Inheritance diagram for DeckLinkInputDelegate:

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::FrameGetFrame (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
 
deque< IDeckLinkMutableVideoFrame * > raw_video_frames
 
pthread_cond_t * sleepCond
 

Detailed Description

Implementation of the Blackmagic Decklink API (used by the DecklinkReader)

Definition at line 70 of file DecklinkInput.h.

Constructor & Destructor Documentation

◆ DeckLinkInputDelegate()

DeckLinkInputDelegate::DeckLinkInputDelegate ( pthread_cond_t *  m_sleepCond,
IDeckLinkOutput *  deckLinkOutput,
IDeckLinkVideoConversion *  deckLinkConverter 
)

Definition at line 57 of file DecklinkInput.cpp.

◆ ~DeckLinkInputDelegate()

DeckLinkInputDelegate::~DeckLinkInputDelegate ( )

Definition at line 70 of file DecklinkInput.cpp.

Member Function Documentation

◆ AddRef()

ULONG DeckLinkInputDelegate::AddRef ( void  )
virtual

Definition at line 75 of file DecklinkInput.cpp.

◆ GetCurrentFrameNumber()

unsigned long DeckLinkInputDelegate::GetCurrentFrameNumber ( )

Definition at line 99 of file DecklinkInput.cpp.

◆ GetFrame()

std::shared_ptr< openshot::Frame > DeckLinkInputDelegate::GetFrame ( int64_t  requested_frame)

Definition at line 107 of file DecklinkInput.cpp.

◆ QueryInterface()

virtual HRESULT STDMETHODCALLTYPE DeckLinkInputDelegate::QueryInterface ( REFIID  iid,
LPVOID *  ppv 
)
inlinevirtual

Definition at line 89 of file DecklinkInput.h.

◆ Release()

ULONG DeckLinkInputDelegate::Release ( void  )
virtual

Definition at line 84 of file DecklinkInput.cpp.

◆ VideoInputFormatChanged()

HRESULT DeckLinkInputDelegate::VideoInputFormatChanged ( BMDVideoInputFormatChangedEvents  events,
IDeckLinkDisplayMode *  mode,
BMDDetectedVideoInputFormatFlags   
)
virtual

Definition at line 285 of file DecklinkInput.cpp.

◆ VideoInputFrameArrived()

HRESULT DeckLinkInputDelegate::VideoInputFrameArrived ( IDeckLinkVideoInputFrame *  videoFrame,
IDeckLinkAudioInputPacket *  audioFrame 
)
virtual

Definition at line 135 of file DecklinkInput.cpp.

Member Data Documentation

◆ deckLinkConverter

IDeckLinkVideoConversion* DeckLinkInputDelegate::deckLinkConverter

Definition at line 84 of file DecklinkInput.h.

◆ deckLinkOutput

IDeckLinkOutput* DeckLinkInputDelegate::deckLinkOutput

Definition at line 83 of file DecklinkInput.h.

◆ final_frameCount

unsigned long DeckLinkInputDelegate::final_frameCount

Definition at line 76 of file DecklinkInput.h.

◆ final_frames

openshot::CacheMemory DeckLinkInputDelegate::final_frames

Definition at line 80 of file DecklinkInput.h.

◆ frameCount

unsigned long DeckLinkInputDelegate::frameCount

Definition at line 75 of file DecklinkInput.h.

◆ g_timecodeFormat

BMDTimecodeFormat DeckLinkInputDelegate::g_timecodeFormat

Definition at line 74 of file DecklinkInput.h.

◆ raw_video_frames

deque<IDeckLinkMutableVideoFrame*> DeckLinkInputDelegate::raw_video_frames

Definition at line 79 of file DecklinkInput.h.

◆ sleepCond

pthread_cond_t* DeckLinkInputDelegate::sleepCond

Definition at line 73 of file DecklinkInput.h.


The documentation for this class was generated from the following files: