Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoBufferManager Class Reference

#include <VideoBuffer.h>

Public Member Functions

 CVideoBufferManager ()
 
void RegisterPool (const std::shared_ptr< IVideoBufferPool > &pool)
 
void RegisterPoolFactory (const std::string &id, CreatePoolFunc createFunc)
 
void ReleasePools ()
 
void ReleasePool (IVideoBufferPool *pool)
 
CVideoBufferGet (AVPixelFormat format, int size, IVideoBufferPool **pPool)
 
void ReadyForDisposal (IVideoBufferPool *pool)
 

Protected Attributes

CCriticalSection m_critSection
 
std::list< std::shared_ptr< IVideoBufferPool > > m_pools
 
std::list< std::shared_ptr< IVideoBufferPool > > m_discardedPools
 
std::map< std::string, CreatePoolFuncm_poolFactories
 

Constructor & Destructor Documentation

◆ CVideoBufferManager()

CVideoBufferManager::CVideoBufferManager ( )

Member Function Documentation

◆ Get()

CVideoBuffer * CVideoBufferManager::Get ( AVPixelFormat format,
int size,
IVideoBufferPool ** pPool )

◆ ReadyForDisposal()

void CVideoBufferManager::ReadyForDisposal ( IVideoBufferPool * pool)

◆ RegisterPool()

void CVideoBufferManager::RegisterPool ( const std::shared_ptr< IVideoBufferPool > & pool)

◆ RegisterPoolFactory()

void CVideoBufferManager::RegisterPoolFactory ( const std::string & id,
CreatePoolFunc createFunc )

◆ ReleasePool()

void CVideoBufferManager::ReleasePool ( IVideoBufferPool * pool)

◆ ReleasePools()

void CVideoBufferManager::ReleasePools ( )

Member Data Documentation

◆ m_critSection

CCriticalSection CVideoBufferManager::m_critSection
protected

◆ m_discardedPools

std::list<std::shared_ptr<IVideoBufferPool> > CVideoBufferManager::m_discardedPools
protected

◆ m_poolFactories

std::map<std::string, CreatePoolFunc> CVideoBufferManager::m_poolFactories
protected

◆ m_pools

std::list<std::shared_ptr<IVideoBufferPool> > CVideoBufferManager::m_pools
protected

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