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
 
IDeckLinkVideoInputFrame * last_video_frame
 

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

◆ ~decklink_input_callback()

decklink_input_callback::~decklink_input_callback ( )

Definition at line 609 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 615 of file decklink_dec.cpp.

◆ Release()

ULONG decklink_input_callback::Release ( void  )
virtual

Definition at line 620 of file decklink_dec.cpp.

◆ VideoInputFormatChanged()

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

Definition at line 984 of file decklink_dec.cpp.

◆ VideoInputFrameArrived()

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

Definition at line 728 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().

◆ last_video_frame

IDeckLinkVideoInputFrame* decklink_input_callback::last_video_frame
private

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