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

#include <VideoBufferPoolDMA.h>

Inheritance diagram for CVideoBufferPoolDMA:
IVideoBufferPool

Public Member Functions

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

Static Public Member Functions

static std::shared_ptr< IVideoBufferPoolCreatePool ()
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ CVideoBufferPoolDMA()

CVideoBufferPoolDMA::CVideoBufferPoolDMA ( )
default

◆ ~CVideoBufferPoolDMA()

CVideoBufferPoolDMA::~CVideoBufferPoolDMA ( )
override

Member Function Documentation

◆ Configure()

void CVideoBufferPoolDMA::Configure ( AVPixelFormat format,
int size )
overridevirtual

Reimplemented from IVideoBufferPool.

◆ CreatePool()

std::shared_ptr< IVideoBufferPool > CVideoBufferPoolDMA::CreatePool ( )
static

◆ Get()

CVideoBuffer * CVideoBufferPoolDMA::Get ( )
overridevirtual

Implements IVideoBufferPool.

◆ IsCompatible()

bool CVideoBufferPoolDMA::IsCompatible ( AVPixelFormat format,
int size )
overridevirtual

Reimplemented from IVideoBufferPool.

◆ IsConfigured()

bool CVideoBufferPoolDMA::IsConfigured ( )
overridevirtual

Reimplemented from IVideoBufferPool.

◆ Released()

void CVideoBufferPoolDMA::Released ( CVideoBufferManager & videoBufferManager)
overridevirtual

Reimplemented from IVideoBufferPool.

◆ Return()

void CVideoBufferPoolDMA::Return ( int id)
overridevirtual

Implements IVideoBufferPool.

Member Data Documentation

◆ m_all

std::vector<CVideoBufferDMA*> CVideoBufferPoolDMA::m_all
protected

◆ m_critSection

CCriticalSection CVideoBufferPoolDMA::m_critSection
protected

◆ m_free

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

◆ m_used

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

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