![]() |
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#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) |
CVideoBuffer * | Get (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, CreatePoolFunc > | m_poolFactories |
CVideoBufferManager::CVideoBufferManager | ( | ) |
CVideoBuffer * CVideoBufferManager::Get | ( | AVPixelFormat | format, |
int | size, | ||
IVideoBufferPool ** | pPool | ||
) |
void CVideoBufferManager::ReadyForDisposal | ( | IVideoBufferPool * | pool | ) |
void CVideoBufferManager::RegisterPool | ( | const std::shared_ptr< IVideoBufferPool > & | pool | ) |
void CVideoBufferManager::RegisterPoolFactory | ( | const std::string & | id, |
CreatePoolFunc | createFunc | ||
) |
void CVideoBufferManager::ReleasePool | ( | IVideoBufferPool * | pool | ) |
void CVideoBufferManager::ReleasePools | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |