Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CAMLVideoBuffer Class Reference

#include <DVDVideoCodecAmlogic.h>

Inheritance diagram for CAMLVideoBuffer:
CVideoBuffer

Public Member Functions

 CAMLVideoBuffer (int id)
 
void Set (CDVDVideoCodecAmlogic *codec, std::shared_ptr< CAMLCodec > amlcodec, int omxPts, int amlDuration, uint32_t bufferIndex)
 
- 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 GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES])
 
virtual void GetStrides (int(&strides)[YuvImage::MAX_PLANES])
 
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])
 

Public Attributes

CDVDVideoCodecAmlogicm_codec
 
std::shared_ptr< CAMLCodecm_amlCodec
 
int m_omxPts
 
int m_amlDuration
 
uint32_t m_bufferIndex
 

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)
 
- 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
 

Constructor & Destructor Documentation

◆ CAMLVideoBuffer()

CAMLVideoBuffer::CAMLVideoBuffer ( int  id)
inline

Member Function Documentation

◆ Set()

void CAMLVideoBuffer::Set ( CDVDVideoCodecAmlogic codec,
std::shared_ptr< CAMLCodec amlcodec,
int  omxPts,
int  amlDuration,
uint32_t  bufferIndex 
)
inline

Member Data Documentation

◆ m_amlCodec

std::shared_ptr<CAMLCodec> CAMLVideoBuffer::m_amlCodec

◆ m_amlDuration

int CAMLVideoBuffer::m_amlDuration

◆ m_bufferIndex

uint32_t CAMLVideoBuffer::m_bufferIndex

◆ m_codec

CDVDVideoCodecAmlogic* CAMLVideoBuffer::m_codec

◆ m_omxPts

int CAMLVideoBuffer::m_omxPts

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