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

Constructor & Destructor Documentation

◆ decklink_input_callback()

decklink_input_callback::decklink_input_callback ( AVFormatContext _avctx)
explicit

Definition at line 598 of file decklink_dec.cpp.

◆ ~decklink_input_callback()

decklink_input_callback::~decklink_input_callback ( )

Definition at line 607 of file decklink_dec.cpp.

Member Function Documentation

◆ QueryInterface()

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

Definition at line 583 of file decklink_dec.cpp.

◆ AddRef()

ULONG decklink_input_callback::AddRef ( void  )
virtual

Definition at line 611 of file decklink_dec.cpp.

◆ Release()

ULONG decklink_input_callback::Release ( void  )
virtual

Definition at line 616 of file decklink_dec.cpp.

◆ VideoInputFormatChanged()

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

Definition at line 968 of file decklink_dec.cpp.

◆ VideoInputFrameArrived()

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

Definition at line 724 of file decklink_dec.cpp.

Field Documentation

◆ _refs

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

Definition at line 590 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 593 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 594 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 595 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().


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