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

Public Member Functions

 ~CVideoBufferPoolVTB () 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< CVideoBufferVTB * > m_all
 
std::deque< intm_used
 
std::deque< intm_free
 

Constructor & Destructor Documentation

◆ ~CVideoBufferPoolVTB()

CVideoBufferPoolVTB::~CVideoBufferPoolVTB ( )
override

Member Function Documentation

◆ Get()

CVideoBuffer * CVideoBufferPoolVTB::Get ( )
overridevirtual

Implements IVideoBufferPool.

◆ Return()

void CVideoBufferPoolVTB::Return ( int id)
overridevirtual

Implements IVideoBufferPool.

Member Data Documentation

◆ m_all

std::vector<CVideoBufferVTB*> VTB::CVideoBufferPoolVTB::m_all
protected

◆ m_critSection

CCriticalSection VTB::CVideoBufferPoolVTB::m_critSection
protected

◆ m_free

std::deque<int> VTB::CVideoBufferPoolVTB::m_free
protected

◆ m_used

std::deque<int> VTB::CVideoBufferPoolVTB::m_used
protected

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