FFmpeg
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 SetAncillaryData (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
 
IDeckLinkVideoFrameAncillary * _ancillary
 
int _height
 
int _width
 

Private Attributes

std::atomic< int_refs
 

Detailed Description

Definition at line 49 of file decklink_enc.cpp.

Constructor & Destructor Documentation

◆ decklink_frame() [1/2]

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

Definition at line 52 of file decklink_enc.cpp.

◆ decklink_frame() [2/2]

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

Definition at line 54 of file decklink_enc.cpp.

Member Function Documentation

◆ GetWidth()

virtual long STDMETHODCALLTYPE decklink_frame::GetWidth ( void  )
inlinevirtual

Definition at line 56 of file decklink_enc.cpp.

Referenced by GetRowBytes().

◆ GetHeight()

virtual long STDMETHODCALLTYPE decklink_frame::GetHeight ( void  )
inlinevirtual

Definition at line 57 of file decklink_enc.cpp.

◆ GetRowBytes()

virtual long STDMETHODCALLTYPE decklink_frame::GetRowBytes ( void  )
inlinevirtual

Definition at line 58 of file decklink_enc.cpp.

◆ GetPixelFormat()

virtual BMDPixelFormat STDMETHODCALLTYPE decklink_frame::GetPixelFormat ( void  )
inlinevirtual

Definition at line 65 of file decklink_enc.cpp.

◆ GetFlags()

virtual BMDFrameFlags STDMETHODCALLTYPE decklink_frame::GetFlags ( void  )
inlinevirtual

Definition at line 72 of file decklink_enc.cpp.

◆ GetBytes()

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

Definition at line 80 of file decklink_enc.cpp.

◆ GetTimecode()

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

Definition at line 93 of file decklink_enc.cpp.

◆ GetAncillaryData()

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

Definition at line 94 of file decklink_enc.cpp.

◆ SetAncillaryData()

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

Definition at line 104 of file decklink_enc.cpp.

◆ QueryInterface()

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

Definition at line 112 of file decklink_enc.cpp.

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE decklink_frame::AddRef ( void  )
inlinevirtual

Definition at line 113 of file decklink_enc.cpp.

◆ Release()

virtual ULONG STDMETHODCALLTYPE decklink_frame::Release ( void  )
inlinevirtual

Definition at line 114 of file decklink_enc.cpp.

Field Documentation

◆ _ctx

struct decklink_ctx* decklink_frame::_ctx

Definition at line 127 of file decklink_enc.cpp.

◆ _avframe

AVFrame* decklink_frame::_avframe

Definition at line 128 of file decklink_enc.cpp.

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

◆ _avpacket

AVPacket* decklink_frame::_avpacket

Definition at line 129 of file decklink_enc.cpp.

Referenced by GetBytes(), and Release().

◆ _codec_id

AVCodecID decklink_frame::_codec_id

Definition at line 130 of file decklink_enc.cpp.

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

◆ _ancillary

IDeckLinkVideoFrameAncillary* decklink_frame::_ancillary

Definition at line 131 of file decklink_enc.cpp.

Referenced by GetAncillaryData(), Release(), and SetAncillaryData().

◆ _height

int decklink_frame::_height

Definition at line 132 of file decklink_enc.cpp.

Referenced by GetHeight().

◆ _width

int decklink_frame::_width

Definition at line 133 of file decklink_enc.cpp.

Referenced by GetWidth().

◆ _refs

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

Definition at line 136 of file decklink_enc.cpp.

Referenced by AddRef(), and Release().


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