Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoBufferFFmpeg Class Reference
Inheritance diagram for CVideoBufferFFmpeg:
CVideoBuffer

Public Member Functions

 CVideoBufferFFmpeg (IVideoBufferPool &pool, int id)
 
 ~CVideoBufferFFmpeg () override
 
void GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) override
 
void GetStrides (int(&strides)[YuvImage::MAX_PLANES]) override
 
void SetRef (AVFrame *frame)
 
void Unref ()
 
- Public Member Functions inherited from CVideoBuffer
 CVideoBuffer ()=delete
 
virtual ~CVideoBuffer ()=default
 
void Acquire ()
 
void Acquire (std::shared_ptr< IVideoBufferPool > pool)
 
void Release ()
 
int GetId () const
 
virtual AVPixelFormat GetFormat ()
 
virtual uint8_tGetMemPtr ()
 
virtual void SetPixelFormat (const AVPixelFormat pixFormat)
 
virtual void SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES])
 
virtual void SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES], const int(&planeOffsets)[YuvImage::MAX_PLANES])
 

Protected Attributes

AVFrame * m_pFrame
 
- 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)
 

Constructor & Destructor Documentation

◆ CVideoBufferFFmpeg()

CVideoBufferFFmpeg::CVideoBufferFFmpeg ( IVideoBufferPool & pool,
int id )

◆ ~CVideoBufferFFmpeg()

CVideoBufferFFmpeg::~CVideoBufferFFmpeg ( )
override

Member Function Documentation

◆ GetPlanes()

void CVideoBufferFFmpeg::GetPlanes ( uint8_t *(&) planes[YuvImage::MAX_PLANES])
overridevirtual

Reimplemented from CVideoBuffer.

◆ GetStrides()

void CVideoBufferFFmpeg::GetStrides ( int(&) strides[YuvImage::MAX_PLANES])
overridevirtual

Reimplemented from CVideoBuffer.

◆ SetRef()

void CVideoBufferFFmpeg::SetRef ( AVFrame * frame)

◆ Unref()

void CVideoBufferFFmpeg::Unref ( )

Member Data Documentation

◆ m_pFrame

AVFrame* CVideoBufferFFmpeg::m_pFrame
protected

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