|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <VideoBuffer.h>
Public Member Functions | |
| CVideoBufferManager () | |
| void | RegisterPool (std::shared_ptr< IVideoBufferPool > pool) |
| void | RegisterPoolFactory (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 | ( | std::shared_ptr< IVideoBufferPool > | pool | ) |
| void CVideoBufferManager::RegisterPoolFactory | ( | std::string | id, |
| CreatePoolFunc | createFunc | ||
| ) |
| void CVideoBufferManager::ReleasePool | ( | IVideoBufferPool * | pool | ) |
| void CVideoBufferManager::ReleasePools | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |