FFmpeg
Public Member Functions | Private Attributes
decklink_input_callback Class Reference
Inheritance diagram for decklink_input_callback:

Public Member Functions

 decklink_input_callback (AVFormatContext *_avctx)
 
 ~decklink_input_callback ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID iid, LPVOID *ppv)
 
virtual ULONG STDMETHODCALLTYPE AddRef (void)
 
virtual ULONG STDMETHODCALLTYPE Release (void)
 
virtual HRESULT STDMETHODCALLTYPE VideoInputFormatChanged (BMDVideoInputFormatChangedEvents, IDeckLinkDisplayMode *, BMDDetectedVideoInputFormatFlags)
 
virtual HRESULT STDMETHODCALLTYPE VideoInputFrameArrived (IDeckLinkVideoInputFrame *, IDeckLinkAudioInputPacket *)
 

Private Attributes

std::atomic< int_refs
 
AVFormatContextavctx
 
decklink_ctxctx
 
int no_video
 
int64_t initial_video_pts
 
int64_t initial_audio_pts
 

Detailed Description

Definition at line 691 of file decklink_dec.cpp.

Constructor & Destructor Documentation

◆ decklink_input_callback()

decklink_input_callback::decklink_input_callback ( AVFormatContext _avctx)

Definition at line 712 of file decklink_dec.cpp.

◆ ~decklink_input_callback()

decklink_input_callback::~decklink_input_callback ( )

Definition at line 721 of file decklink_dec.cpp.

Member Function Documentation

◆ QueryInterface()

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

Definition at line 697 of file decklink_dec.cpp.

◆ AddRef()

ULONG decklink_input_callback::AddRef ( void  )
virtual

Definition at line 725 of file decklink_dec.cpp.

◆ Release()

ULONG decklink_input_callback::Release ( void  )
virtual

Definition at line 730 of file decklink_dec.cpp.

◆ VideoInputFormatChanged()

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

Definition at line 1082 of file decklink_dec.cpp.

◆ VideoInputFrameArrived()

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

Definition at line 838 of file decklink_dec.cpp.

Field Documentation

◆ _refs

std::atomic<int> decklink_input_callback::_refs
private

Definition at line 704 of file decklink_dec.cpp.

Referenced by AddRef(), and Release().

◆ avctx

AVFormatContext* decklink_input_callback::avctx
private

◆ ctx

decklink_ctx* decklink_input_callback::ctx
private

◆ no_video

int decklink_input_callback::no_video
private

Definition at line 707 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().

◆ initial_video_pts

int64_t decklink_input_callback::initial_video_pts
private

Definition at line 708 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().

◆ initial_audio_pts

int64_t decklink_input_callback::initial_audio_pts
private

Definition at line 709 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().


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