FFmpeg  4.0
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

ULONG m_refCount
 
pthread_mutex_t m_mutex
 
AVFormatContextavctx
 
decklink_ctxctx
 
int no_video
 
int64_t initial_video_pts
 
int64_t initial_audio_pts
 

Detailed Description

Definition at line 534 of file decklink_dec.cpp.

Constructor & Destructor Documentation

◆ decklink_input_callback()

decklink_input_callback::decklink_input_callback ( AVFormatContext _avctx)

Definition at line 556 of file decklink_dec.cpp.

Referenced by ff_decklink_read_header().

◆ ~decklink_input_callback()

decklink_input_callback::~decklink_input_callback ( )

Definition at line 566 of file decklink_dec.cpp.

Member Function Documentation

◆ QueryInterface()

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

Definition at line 540 of file decklink_dec.cpp.

◆ AddRef()

ULONG decklink_input_callback::AddRef ( void  )
virtual

Definition at line 571 of file decklink_dec.cpp.

◆ Release()

ULONG decklink_input_callback::Release ( void  )
virtual

Definition at line 580 of file decklink_dec.cpp.

◆ VideoInputFormatChanged()

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

Definition at line 831 of file decklink_dec.cpp.

◆ VideoInputFrameArrived()

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

Definition at line 648 of file decklink_dec.cpp.

Field Documentation

◆ m_refCount

ULONG decklink_input_callback::m_refCount
private

Definition at line 547 of file decklink_dec.cpp.

Referenced by AddRef(), and Release().

◆ m_mutex

pthread_mutex_t decklink_input_callback::m_mutex
private

◆ avctx

AVFormatContext* decklink_input_callback::avctx
private

Definition at line 549 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 551 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 552 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 553 of file decklink_dec.cpp.

Referenced by decklink_input_callback(), and VideoInputFrameArrived().


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