FFmpeg
Loading...
Searching...
No Matches
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 riid, 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 55 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 58 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 60 of file decklink_enc.cpp.

Member Function Documentation

◆ GetWidth()

virtual long STDMETHODCALLTYPE decklink_frame::GetWidth ( void )
inlinevirtual

Definition at line 62 of file decklink_enc.cpp.

Referenced by GetRowBytes().

◆ GetHeight()

virtual long STDMETHODCALLTYPE decklink_frame::GetHeight ( void )
inlinevirtual

Definition at line 63 of file decklink_enc.cpp.

◆ GetRowBytes()

virtual long STDMETHODCALLTYPE decklink_frame::GetRowBytes ( void )
inlinevirtual

Definition at line 64 of file decklink_enc.cpp.

◆ GetPixelFormat()

virtual BMDPixelFormat STDMETHODCALLTYPE decklink_frame::GetPixelFormat ( void )
inlinevirtual

Definition at line 71 of file decklink_enc.cpp.

◆ GetFlags()

virtual BMDFrameFlags STDMETHODCALLTYPE decklink_frame::GetFlags ( void )
inlinevirtual

Definition at line 78 of file decklink_enc.cpp.

◆ GetBytes()

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

Definition at line 86 of file decklink_enc.cpp.

◆ GetTimecode()

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

Definition at line 99 of file decklink_enc.cpp.

◆ GetAncillaryData()

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

Definition at line 100 of file decklink_enc.cpp.

◆ SetAncillaryData()

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

Definition at line 110 of file decklink_enc.cpp.

◆ QueryInterface()

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

Definition at line 118 of file decklink_enc.cpp.

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE decklink_frame::AddRef ( void )
inlinevirtual

Definition at line 132 of file decklink_enc.cpp.

Referenced by QueryInterface().

◆ Release()

virtual ULONG STDMETHODCALLTYPE decklink_frame::Release ( void )
inlinevirtual

Definition at line 133 of file decklink_enc.cpp.

Field Documentation

◆ _ctx

struct decklink_ctx* decklink_frame::_ctx

Definition at line 146 of file decklink_enc.cpp.

Referenced by decklink_frame(), and decklink_frame().

◆ _avframe

AVFrame* decklink_frame::_avframe

◆ _avpacket

AVPacket* decklink_frame::_avpacket

Definition at line 148 of file decklink_enc.cpp.

Referenced by decklink_frame(), decklink_frame(), GetBytes(), and Release().

◆ _codec_id

AVCodecID decklink_frame::_codec_id

◆ _ancillary

IDeckLinkVideoFrameAncillary* decklink_frame::_ancillary

◆ _height

int decklink_frame::_height

Definition at line 151 of file decklink_enc.cpp.

Referenced by decklink_frame(), decklink_frame(), and GetHeight().

◆ _width

int decklink_frame::_width

Definition at line 152 of file decklink_enc.cpp.

Referenced by decklink_frame(), decklink_frame(), and GetWidth().

◆ _refs

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

Definition at line 155 of file decklink_enc.cpp.

Referenced by AddRef(), decklink_frame(), decklink_frame(), and Release().


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