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 48 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 51 of file decklink_enc.cpp.

Referenced by decklink_write_video_packet().

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

Definition at line 53 of file decklink_enc.cpp.

Member Function Documentation

virtual long STDMETHODCALLTYPE decklink_frame::GetWidth ( void  )
inlinevirtual

Definition at line 55 of file decklink_enc.cpp.

Referenced by GetRowBytes().

virtual long STDMETHODCALLTYPE decklink_frame::GetHeight ( void  )
inlinevirtual

Definition at line 56 of file decklink_enc.cpp.

virtual long STDMETHODCALLTYPE decklink_frame::GetRowBytes ( void  )
inlinevirtual

Definition at line 57 of file decklink_enc.cpp.

virtual BMDPixelFormat STDMETHODCALLTYPE decklink_frame::GetPixelFormat ( void  )
inlinevirtual

Definition at line 64 of file decklink_enc.cpp.

virtual BMDFrameFlags STDMETHODCALLTYPE decklink_frame::GetFlags ( void  )
inlinevirtual

Definition at line 71 of file decklink_enc.cpp.

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

Definition at line 79 of file decklink_enc.cpp.

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

Definition at line 92 of file decklink_enc.cpp.

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

Definition at line 93 of file decklink_enc.cpp.

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

Definition at line 103 of file decklink_enc.cpp.

Referenced by ff_decklink_write_trailer().

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

Definition at line 111 of file decklink_enc.cpp.

virtual ULONG STDMETHODCALLTYPE decklink_frame::AddRef ( void  )
inlinevirtual

Definition at line 112 of file decklink_enc.cpp.

virtual ULONG STDMETHODCALLTYPE decklink_frame::Release ( void  )
inlinevirtual

Definition at line 113 of file decklink_enc.cpp.

Referenced by decklink_write_video_packet().

Field Documentation

struct decklink_ctx* decklink_frame::_ctx

Definition at line 126 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 129 of file decklink_enc.cpp.

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

IDeckLinkVideoFrameAncillary* decklink_frame::_ancillary

Definition at line 130 of file decklink_enc.cpp.

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

int decklink_frame::_height

Definition at line 131 of file decklink_enc.cpp.

Referenced by GetHeight().

int decklink_frame::_width

Definition at line 132 of file decklink_enc.cpp.

Referenced by GetWidth().

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

Definition at line 135 of file decklink_enc.cpp.

Referenced by AddRef(), and Release().


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