FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields | Private Attributes
decklink_frame Class Reference
Inheritance diagram for decklink_frame:

Public Member Functions

 decklink_frame (struct decklink_ctx *ctx, AVFrame *avframe, AVCodecID codec_id, int height, int width)
 
 decklink_frame (struct decklink_ctx *ctx, AVPacket *avpacket, AVCodecID codec_id, int height, int width)
 
virtual long STDMETHODCALLTYPE GetWidth (void)
 
virtual long STDMETHODCALLTYPE GetHeight (void)
 
virtual long STDMETHODCALLTYPE GetRowBytes (void)
 
virtual BMDPixelFormat
STDMETHODCALLTYPE 
GetPixelFormat (void)
 
virtual BMDFrameFlags
STDMETHODCALLTYPE 
GetFlags (void)
 
virtual HRESULT STDMETHODCALLTYPE GetBytes (void **buffer)
 
virtual HRESULT STDMETHODCALLTYPE GetTimecode (BMDTimecodeFormat format, IDeckLinkTimecode **timecode)
 
virtual HRESULT STDMETHODCALLTYPE GetAncillaryData (IDeckLinkVideoFrameAncillary **ancillary)
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID iid, LPVOID *ppv)
 
virtual ULONG STDMETHODCALLTYPE AddRef (void)
 
virtual ULONG STDMETHODCALLTYPE Release (void)
 

Data Fields

struct decklink_ctx_ctx
 
AVFrame_avframe
 
AVPacket_avpacket
 
AVCodecID _codec_id
 
int _height
 
int _width
 

Private Attributes

std::atomic< int_refs
 

Detailed Description

Definition at line 44 of file decklink_enc.cpp.

Constructor & Destructor Documentation

decklink_frame::decklink_frame ( struct decklink_ctx ctx,
AVFrame avframe,
AVCodecID  codec_id,
int  height,
int  width 
)
inline

Definition at line 47 of file decklink_enc.cpp.

decklink_frame::decklink_frame ( struct decklink_ctx ctx,
AVPacket avpacket,
AVCodecID  codec_id,
int  height,
int  width 
)
inline

Definition at line 49 of file decklink_enc.cpp.

Member Function Documentation

virtual long STDMETHODCALLTYPE decklink_frame::GetWidth ( void  )
inlinevirtual

Definition at line 52 of file decklink_enc.cpp.

Referenced by GetRowBytes().

virtual long STDMETHODCALLTYPE decklink_frame::GetHeight ( void  )
inlinevirtual

Definition at line 53 of file decklink_enc.cpp.

virtual long STDMETHODCALLTYPE decklink_frame::GetRowBytes ( void  )
inlinevirtual

Definition at line 54 of file decklink_enc.cpp.

virtual BMDPixelFormat STDMETHODCALLTYPE decklink_frame::GetPixelFormat ( void  )
inlinevirtual

Definition at line 61 of file decklink_enc.cpp.

virtual BMDFrameFlags STDMETHODCALLTYPE decklink_frame::GetFlags ( void  )
inlinevirtual

Definition at line 68 of file decklink_enc.cpp.

virtual HRESULT STDMETHODCALLTYPE decklink_frame::GetBytes ( void **  buffer)
inlinevirtual

Definition at line 76 of file decklink_enc.cpp.

virtual HRESULT STDMETHODCALLTYPE decklink_frame::GetTimecode ( BMDTimecodeFormat  format,
IDeckLinkTimecode **  timecode 
)
inlinevirtual

Definition at line 89 of file decklink_enc.cpp.

virtual HRESULT STDMETHODCALLTYPE decklink_frame::GetAncillaryData ( IDeckLinkVideoFrameAncillary **  ancillary)
inlinevirtual

Definition at line 90 of file decklink_enc.cpp.

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

Definition at line 92 of file decklink_enc.cpp.

virtual ULONG STDMETHODCALLTYPE decklink_frame::AddRef ( void  )
inlinevirtual

Definition at line 93 of file decklink_enc.cpp.

virtual ULONG STDMETHODCALLTYPE decklink_frame::Release ( void  )
inlinevirtual

Definition at line 94 of file decklink_enc.cpp.

Field Documentation

struct decklink_ctx* decklink_frame::_ctx

Definition at line 105 of file decklink_enc.cpp.

Referenced by decklink_output_callback::ScheduledFrameCompleted().

AVFrame* decklink_frame::_avframe
AVPacket* decklink_frame::_avpacket
AVCodecID decklink_frame::_codec_id

Definition at line 108 of file decklink_enc.cpp.

Referenced by GetBytes(), GetFlags(), GetPixelFormat(), and GetRowBytes().

int decklink_frame::_height

Definition at line 109 of file decklink_enc.cpp.

Referenced by GetHeight().

int decklink_frame::_width

Definition at line 110 of file decklink_enc.cpp.

Referenced by GetWidth().

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

Definition at line 113 of file decklink_enc.cpp.

Referenced by AddRef(), and Release().


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