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 586 of file decklink_dec.cpp.

Constructor & Destructor Documentation

◆ decklink_input_callback()

decklink_input_callback::decklink_input_callback ( AVFormatContext _avctx)

Definition at line 607 of file decklink_dec.cpp.

◆ ~decklink_input_callback()

decklink_input_callback::~decklink_input_callback ( )

Definition at line 616 of file decklink_dec.cpp.

Member Function Documentation

◆ QueryInterface()

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

Definition at line 592 of file decklink_dec.cpp.

◆ AddRef()

ULONG decklink_input_callback::AddRef ( void  )
virtual

Definition at line 620 of file decklink_dec.cpp.

◆ Release()

ULONG decklink_input_callback::Release ( void  )
virtual

Definition at line 625 of file decklink_dec.cpp.

◆ VideoInputFormatChanged()

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

Definition at line 923 of file decklink_dec.cpp.

◆ VideoInputFrameArrived()

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

Definition at line 687 of file decklink_dec.cpp.

Field Documentation

◆ _refs

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

Definition at line 599 of file decklink_dec.cpp.

Referenced by AddRef(), and Release().

◆ avctx

AVFormatContext* decklink_input_callback::avctx
private

Definition at line 600 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().

◆ ctx

decklink_ctx* decklink_input_callback::ctx
private

◆ no_video

int decklink_input_callback::no_video
private

Definition at line 602 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 603 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 604 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().


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