kodi
Public Member Functions | Protected Attributes | List of all members
VAAPI::CVideoSurfaces Class Reference

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
 

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