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

#include <RendererShaders.h>

Inheritance diagram for CRendererShaders::CRenderBufferImpl:

Public Member Functions

 CRenderBufferImpl (AVPixelFormat av_pix_format, unsigned width, unsigned height)
 ~CRenderBufferImpl ()
void AppendPicture (const VideoPicture &picture) override
bool UploadBuffer () override
unsigned GetViewCount () const override
ID3D11View * GetView (unsigned viewIdx) override
void ReleasePicture () 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 bool GetDataPlanes (uint8_t *(&planes)[3], int(&strides)[3])

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

CRendererShaders::CRenderBufferImpl::CRenderBufferImpl ( AVPixelFormat av_pix_format,
unsigned width,
unsigned height )

◆ ~CRenderBufferImpl()

CRendererShaders::CRenderBufferImpl::~CRenderBufferImpl ( )

Member Function Documentation

◆ AppendPicture()

void CRendererShaders::CRenderBufferImpl::AppendPicture ( const VideoPicture & picture)

Reimplemented from CRenderBuffer.

◆ GetView()

ID3D11View * CRendererShaders::CRenderBufferImpl::GetView ( unsigned viewIdx)

Reimplemented from CRenderBuffer.

◆ GetViewCount()

unsigned CRendererShaders::CRenderBufferImpl::GetViewCount ( ) const

Reimplemented from CRenderBuffer.

◆ ReleasePicture()

void CRendererShaders::CRenderBufferImpl::ReleasePicture ( )

Reimplemented from CRenderBuffer.

◆ UploadBuffer()

bool CRendererShaders::CRenderBufferImpl::UploadBuffer ( )

Reimplemented from CRenderBuffer.

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