Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RendererDXVA.h>
Public Member Functions | |
CRenderBufferImpl (AVPixelFormat av_pix_format, unsigned width, unsigned height) | |
~CRenderBufferImpl () | |
bool | UploadBuffer () override |
HRESULT | GetResource (ID3D11Resource **ppResource, unsigned *index) const override |
Public Member Functions inherited from CRenderBuffer | |
virtual | ~CRenderBuffer ()=default |
unsigned | GetWidth () const |
unsigned | GetHeight () const |
bool | IsLoaded () |
virtual void | AppendPicture (const VideoPicture &picture) |
virtual void | ReleasePicture () |
virtual bool | GetDataPlanes (uint8_t *(&planes)[3], int(&strides)[3]) |
virtual unsigned | GetViewCount () const |
virtual ID3D11View * | GetView (unsigned viewIdx) |
Static Public Member Functions | |
static DXGI_FORMAT | GetDXGIFormat (AVPixelFormat format, DXGI_FORMAT default_fmt=DXGI_FORMAT_UNKNOWN) |
Additional Inherited Members | |
Public Attributes inherited from CRenderBuffer | |
AVPixelFormat | av_format |
CVideoBuffer * | videoBuffer = 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 |
|
explicit |
CRendererDXVA::CRenderBufferImpl::~CRenderBufferImpl | ( | ) |
|
static |
|
overridevirtual |
Reimplemented from CRenderBuffer.
|
overridevirtual |
Reimplemented from CRenderBuffer.