xbmc
Public Member Functions | Protected Attributes | List of all members
CVideoBufferSysMem Class Reference
Inheritance diagram for CVideoBufferSysMem:
Inheritance graph
[legend]
Collaboration diagram for CVideoBufferSysMem:
Collaboration graph
[legend]

Public Member Functions

 CVideoBufferSysMem (IVideoBufferPool &pool, int id, AVPixelFormat format, int size)
 
uint8_t * GetMemPtr () override
 
void GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) override
 
void GetStrides (int(&strides)[YuvImage::MAX_PLANES]) override
 
void SetPixelFormat (const AVPixelFormat pixFormat) override
 
void SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES]) override
 
void SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES], const int(&planeOffsets)[YuvImage::MAX_PLANES]) override
 
bool Alloc ()
 
- Public Member Functions inherited from CVideoBuffer
void Acquire ()
 
void Acquire (std::shared_ptr< IVideoBufferPool > pool)
 
void Release ()
 
int GetId () const
 
virtual AVPixelFormat GetFormat ()
 

Protected Attributes

int m_width = 0
 
int m_height = 0
 
int m_size = 0
 
uint8_t * m_data = nullptr
 
YuvImage m_image
 
- Protected Attributes inherited from CVideoBuffer
AVPixelFormat m_pixFormat = AV_PIX_FMT_NONE
 
std::atomic_int m_refCount
 
int m_id
 
std::shared_ptr< IVideoBufferPoolm_pool
 

Additional Inherited Members

- Static Public Member Functions inherited from CVideoBuffer
static bool CopyPicture (YuvImage *pDst, YuvImage *pSrc)
 
static bool CopyNV12Picture (YuvImage *pDst, YuvImage *pSrc)
 
static bool CopyYUV422PackedPicture (YuvImage *pDst, YuvImage *pSrc)
 
- Protected Member Functions inherited from CVideoBuffer
 CVideoBuffer (int id)
 

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