Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
VAAPI::CVideoSurfaces Class Reference

#include <VAAPI.h>

Public Member Functions

void AddSurface (VASurfaceID surf)
 
void ClearReference (VASurfaceID surf)
 
bool MarkRender (VASurfaceID surf)
 
void ClearRender (VASurfaceID surf)
 
bool IsValid (VASurfaceID surf)
 
VASurfaceID GetFree (VASurfaceID surf)
 
VASurfaceID GetAtIndex (int idx)
 
VASurfaceID RemoveNext (bool skiprender=false)
 
void Reset ()
 
int Size ()
 
bool HasFree ()
 
bool HasRefs ()
 
int NumFree ()
 

Protected Attributes

std::map< VASurfaceID, int > m_state
 
std::list< VASurfaceID > m_freeSurfaces
 
CCriticalSection m_section
 

Member Function Documentation

§ AddSurface()

void CVideoSurfaces::AddSurface ( VASurfaceID  surf)

§ ClearReference()

void CVideoSurfaces::ClearReference ( VASurfaceID  surf)

§ ClearRender()

void CVideoSurfaces::ClearRender ( VASurfaceID  surf)

§ GetAtIndex()

VASurfaceID CVideoSurfaces::GetAtIndex ( int  idx)

§ GetFree()

VASurfaceID CVideoSurfaces::GetFree ( VASurfaceID  surf)

§ HasFree()

bool CVideoSurfaces::HasFree ( )

§ HasRefs()

bool CVideoSurfaces::HasRefs ( )

§ IsValid()

bool CVideoSurfaces::IsValid ( VASurfaceID  surf)

§ MarkRender()

bool CVideoSurfaces::MarkRender ( VASurfaceID  surf)

§ NumFree()

int CVideoSurfaces::NumFree ( )

§ RemoveNext()

VASurfaceID CVideoSurfaces::RemoveNext ( bool  skiprender = false)

§ Reset()

void CVideoSurfaces::Reset ( void  )

§ Size()

int CVideoSurfaces::Size ( )

Member Data Documentation

§ m_freeSurfaces

std::list<VASurfaceID> VAAPI::CVideoSurfaces::m_freeSurfaces
protected

§ m_section

CCriticalSection VAAPI::CVideoSurfaces::m_section
protected

§ m_state

std::map<VASurfaceID, int> VAAPI::CVideoSurfaces::m_state
protected

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