FFmpeg
Public Member Functions | Private Attributes
decklink_allocator Class Reference
Inheritance diagram for decklink_allocator:

Public Member Functions

 decklink_allocator ()
 
virtual ~decklink_allocator ()
 
virtual HRESULT STDMETHODCALLTYPE AllocateBuffer (unsigned int bufferSize, void **allocatedBuffer)
 
virtual HRESULT STDMETHODCALLTYPE ReleaseBuffer (void *buffer)
 
virtual HRESULT STDMETHODCALLTYPE Commit ()
 
virtual HRESULT STDMETHODCALLTYPE Decommit ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID iid, LPVOID *ppv)
 
virtual ULONG STDMETHODCALLTYPE AddRef (void)
 
virtual ULONG STDMETHODCALLTYPE Release (void)
 

Private Attributes

std::atomic< int_refs
 

Detailed Description

Definition at line 104 of file decklink_dec.cpp.

Constructor & Destructor Documentation

◆ decklink_allocator()

decklink_allocator::decklink_allocator ( )
inline

Definition at line 107 of file decklink_dec.cpp.

◆ ~decklink_allocator()

virtual decklink_allocator::~decklink_allocator ( )
inlinevirtual

Definition at line 108 of file decklink_dec.cpp.

Member Function Documentation

◆ AllocateBuffer()

virtual HRESULT STDMETHODCALLTYPE decklink_allocator::AllocateBuffer ( unsigned int  bufferSize,
void **  allocatedBuffer 
)
inlinevirtual

Definition at line 111 of file decklink_dec.cpp.

◆ ReleaseBuffer()

virtual HRESULT STDMETHODCALLTYPE decklink_allocator::ReleaseBuffer ( void *  buffer)
inlinevirtual

Definition at line 119 of file decklink_dec.cpp.

◆ Commit()

virtual HRESULT STDMETHODCALLTYPE decklink_allocator::Commit ( )
inlinevirtual

Definition at line 124 of file decklink_dec.cpp.

◆ Decommit()

virtual HRESULT STDMETHODCALLTYPE decklink_allocator::Decommit ( )
inlinevirtual

Definition at line 125 of file decklink_dec.cpp.

◆ QueryInterface()

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

Definition at line 128 of file decklink_dec.cpp.

◆ AddRef()

virtual ULONG STDMETHODCALLTYPE decklink_allocator::AddRef ( void  )
inlinevirtual

Definition at line 129 of file decklink_dec.cpp.

◆ Release()

virtual ULONG STDMETHODCALLTYPE decklink_allocator::Release ( void  )
inlinevirtual

Definition at line 130 of file decklink_dec.cpp.

Field Documentation

◆ _refs

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

Definition at line 139 of file decklink_dec.cpp.

Referenced by AddRef(), and Release().


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