Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
VAAPI::CVaapiRenderPicture Class Reference

#include <VAAPI.h>

Inheritance diagram for VAAPI::CVaapiRenderPicture:

Public Member Functions

 CVaapiRenderPicture (int id)
void GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) override
void GetStrides (int(&strides)[YuvImage::MAX_PLANES]) override
- 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])

Public Attributes

VideoPicture DVDPic
CVaapiProcessedPicture procPic
AVFrame * avFrame = nullptr
bool valid = false
VADisplay vadsp

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

◆ CVaapiRenderPicture()

VAAPI::CVaapiRenderPicture::CVaapiRenderPicture ( int id)

Member Function Documentation

◆ GetPlanes()

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

Reimplemented from CVideoBuffer.

◆ GetStrides()

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

Reimplemented from CVideoBuffer.

Member Data Documentation

◆ avFrame

AVFrame* VAAPI::CVaapiRenderPicture::avFrame = nullptr

◆ DVDPic

VideoPicture VAAPI::CVaapiRenderPicture::DVDPic

◆ procPic

CVaapiProcessedPicture VAAPI::CVaapiRenderPicture::procPic

◆ vadsp

VADisplay VAAPI::CVaapiRenderPicture::vadsp

◆ valid

bool VAAPI::CVaapiRenderPicture::valid = false

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