Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoBufferPoolFFmpeg Class Reference
Inheritance diagram for CVideoBufferPoolFFmpeg:
IVideoBufferPool

Public Member Functions

 ~CVideoBufferPoolFFmpeg () override
 
void Return (int id) override
 
CVideoBufferGet () override
 
- Public Member Functions inherited from IVideoBufferPool
virtual ~IVideoBufferPool ()=default
 
virtual void Configure (AVPixelFormat format, int size)
 
virtual bool IsConfigured ()
 
virtual bool IsCompatible (AVPixelFormat format, int size)
 
virtual void Released (CVideoBufferManager &videoBufferManager)
 
virtual void Discard (CVideoBufferManager *bm, ReadyToDispose cb)
 
std::shared_ptr< IVideoBufferPoolGetPtr ()
 

Protected Attributes

CCriticalSection m_critSection
 
std::vector< CVideoBufferFFmpeg * > m_all
 
std::deque< intm_used
 
std::deque< intm_free
 

Constructor & Destructor Documentation

◆ ~CVideoBufferPoolFFmpeg()

CVideoBufferPoolFFmpeg::~CVideoBufferPoolFFmpeg ( )
override

Member Function Documentation

◆ Get()

CVideoBuffer * CVideoBufferPoolFFmpeg::Get ( )
overridevirtual

Implements IVideoBufferPool.

◆ Return()

void CVideoBufferPoolFFmpeg::Return ( int id)
overridevirtual

Implements IVideoBufferPool.

Member Data Documentation

◆ m_all

std::vector<CVideoBufferFFmpeg*> CVideoBufferPoolFFmpeg::m_all
protected

◆ m_critSection

CCriticalSection CVideoBufferPoolFFmpeg::m_critSection
protected

◆ m_free

std::deque<int> CVideoBufferPoolFFmpeg::m_free
protected

◆ m_used

std::deque<int> CVideoBufferPoolFFmpeg::m_used
protected

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