Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <VTB.h>
Public Member Functions | |
CVideoBufferVTB (IVideoBufferPool &pool, int id) | |
~CVideoBufferVTB () override | |
void | SetRef (AVFrame *frame) |
void | Unref () |
CVPixelBufferRef | GetPB () |
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_t * | GetMemPtr () |
virtual void | GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) |
virtual void | GetStrides (int(&strides)[YuvImage::MAX_PLANES]) |
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]) |
Public Attributes | |
GLuint | m_fence = 0 |
Protected Attributes | |
CVPixelBufferRef | m_pbRef = nullptr |
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< IVideoBufferPool > | m_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) | |
CVideoBufferVTB::CVideoBufferVTB | ( | IVideoBufferPool & | pool, |
int | id ) |
|
override |
CVPixelBufferRef CVideoBufferVTB::GetPB | ( | ) |
void CVideoBufferVTB::SetRef | ( | AVFrame * | frame | ) |
void CVideoBufferVTB::Unref | ( | ) |
GLuint VTB::CVideoBufferVTB::m_fence = 0 |
|
protected |
|
protected |