![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RenderBufferSysMem.h>
Public Member Functions | |
CRenderBufferSysMem ()=default | |
~CRenderBufferSysMem () override=default | |
bool | Allocate (AVPixelFormat format, unsigned int width, unsigned int height) override |
size_t | GetFrameSize () const override |
uint8_t * | GetMemory () override |
![]() | |
CBaseRenderBuffer () | |
~CBaseRenderBuffer () override=default | |
void | Acquire () override |
void | Acquire (std::shared_ptr< IRenderBufferPool > pool) override |
void | Release () override |
IRenderBufferPool * | GetPool () override |
DataAccess | GetMemoryAccess () const override |
DataAlignment | GetMemoryAlignment () const override |
![]() | |
virtual | ~IRenderBuffer ()=default |
virtual void | Update () |
virtual void | ReleaseMemory () |
virtual bool | UploadTexture ()=0 |
virtual void | BindToUnit (unsigned int unit) |
virtual void | SetHeader (void *header) |
AVPixelFormat | GetFormat () const |
unsigned int | GetWidth () const |
unsigned int | GetHeight () const |
bool | IsLoaded () const |
void | SetLoaded (bool bLoaded) |
bool | IsRendered () const |
void | SetRendered (bool bRendered) |
unsigned int | GetRotation () const |
void | SetRotation (unsigned int rotationDegCCW) |
Static Public Member Functions | |
static size_t | GetBufferSize (AVPixelFormat format, unsigned int width, unsigned int height) |
Protected Attributes | |
std::vector< uint8_t > | m_data |
![]() | |
std::atomic_int | m_refCount |
std::shared_ptr< IRenderBufferPool > | m_pool |
![]() | |
AVPixelFormat | m_format = AV_PIX_FMT_NONE |
unsigned int | m_width = 0 |
unsigned int | m_height = 0 |
bool | m_bLoaded = false |
bool | m_bRendered = false |
unsigned int | m_rotationDegCCW = 0 |
|
default |
|
overridedefault |
|
overridevirtual |
Implements KODI::RETRO::IRenderBuffer.
|
static |
|
overridevirtual |
Implements KODI::RETRO::IRenderBuffer.
|
overridevirtual |
Implements KODI::RETRO::IRenderBuffer.
|
protected |