Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CRendererSoftware::CRenderBufferImpl Class Reference

#include <RendererSoftware.h>

Inheritance diagram for CRendererSoftware::CRenderBufferImpl:
CRenderBuffer

Public Member Functions

 CRenderBufferImpl (AVPixelFormat av_pix_format, unsigned width, unsigned height)
 
 ~CRenderBufferImpl ()
 
void AppendPicture (const VideoPicture &picture) override
 
bool GetDataPlanes (uint8_t *(&planes)[3], int(&strides)[3]) override
 
void ReleasePicture () override
 
bool UploadBuffer () override
 
- Public Member Functions inherited from CRenderBuffer
virtual ~CRenderBuffer ()=default
 
unsigned GetWidth () const
 
unsigned GetHeight () const
 
bool IsLoaded ()
 
virtual HRESULT GetResource (ID3D11Resource **ppResource, unsigned *index) const
 
virtual unsigned GetViewCount () const
 
virtual ID3D11View * GetView (unsigned viewIdx)
 

Additional Inherited Members

- Public Attributes inherited from CRenderBuffer
AVPixelFormat av_format
 
CVideoBuffervideoBuffer = nullptr
 
unsigned int pictureFlags = 0
 
AVColorPrimaries m_originalPrimaries = AVCOL_PRI_BT709
 
AVColorPrimaries primaries = AVCOL_PRI_BT709
 
AVColorSpace color_space = AVCOL_SPC_BT709
 
AVColorTransferCharacteristic color_transfer = AVCOL_TRC_BT709
 
bool full_range = false
 
int bits = 8
 
uint8_t texBits = 8
 
AVPixelFormat pixelFormat = AV_PIX_FMT_NONE
 
bool hasDisplayMetadata = false
 
bool hasLightMetadata = false
 
AVMasteringDisplayMetadata displayMetadata = {}
 
AVContentLightMetadata lightMetadata = {}
 
std::string stereoMode
 
uint64_t frameIdx = 0
 
- Protected Member Functions inherited from CRenderBuffer
 CRenderBuffer (AVPixelFormat av_pix_format, unsigned width, unsigned height)
 
void QueueCopyFromGPU ()
 
- Protected Attributes inherited from CRenderBuffer
unsigned int m_width
 
unsigned int m_height
 
unsigned int m_widthTex
 
unsigned int m_heightTex
 
Microsoft::WRL::ComPtr< ID3D11Texture2D > m_staging
 
D3D11_TEXTURE2D_DESC m_sDesc {}
 
bool m_bPending = false
 
bool m_bLoaded = false
 

Constructor & Destructor Documentation

◆ CRenderBufferImpl()

CRendererSoftware::CRenderBufferImpl::CRenderBufferImpl ( AVPixelFormat av_pix_format,
unsigned width,
unsigned height )
explicit

◆ ~CRenderBufferImpl()

CRendererSoftware::CRenderBufferImpl::~CRenderBufferImpl ( )

Member Function Documentation

◆ AppendPicture()

void CRendererSoftware::CRenderBufferImpl::AppendPicture ( const VideoPicture & picture)
overridevirtual

Reimplemented from CRenderBuffer.

◆ GetDataPlanes()

bool CRendererSoftware::CRenderBufferImpl::GetDataPlanes ( uint8_t *(&) planes[3],
int(&) strides[3] )
overridevirtual

Reimplemented from CRenderBuffer.

◆ ReleasePicture()

void CRendererSoftware::CRenderBufferImpl::ReleasePicture ( )
overridevirtual

Reimplemented from CRenderBuffer.

◆ UploadBuffer()

bool CRendererSoftware::CRenderBufferImpl::UploadBuffer ( )
overridevirtual

Reimplemented from CRenderBuffer.


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