Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDolbyVisionEffect Class Reference

Runs decoded Dolby Vision frames through the system Dolby Vision video renderer effect MFT, which reshapes P010 + RPU into display-referred RGB. More...

#include <DolbyVisionEffect.h>

Classes

struct  StreamInfo
 

Public Member Functions

 ~CDolbyVisionEffect ()
 
bool Open (bool hdrOutput, float fps, const StreamInfo &stream)
 
bool IsHdrOutput () const
 
DXGI_FORMAT GetOutputFormat () const
 
HRESULT Process (ID3D11Resource *decoderTexture, unsigned arrayIndex, const std::vector< uint8_t > &rpu, LONGLONG sampleTime, ID3D11Texture2D **output)
 

Static Public Member Functions

static bool IsAvailable ()
 

Detailed Description

Runs decoded Dolby Vision frames through the system Dolby Vision video renderer effect MFT, which reshapes P010 + RPU into display-referred RGB.

Constructor & Destructor Documentation

◆ ~CDolbyVisionEffect()

CDolbyVisionEffect::~CDolbyVisionEffect ( )

Member Function Documentation

◆ GetOutputFormat()

DXGI_FORMAT CDolbyVisionEffect::GetOutputFormat ( ) const

◆ IsAvailable()

bool CDolbyVisionEffect::IsAvailable ( )
static

◆ IsHdrOutput()

bool CDolbyVisionEffect::IsHdrOutput ( ) const
inline

◆ Open()

bool CDolbyVisionEffect::Open ( bool hdrOutput,
float fps,
const StreamInfo & stream )

◆ Process()

HRESULT CDolbyVisionEffect::Process ( ID3D11Resource * decoderTexture,
unsigned arrayIndex,
const std::vector< uint8_t > & rpu,
LONGLONG sampleTime,
ID3D11Texture2D ** output )
Parameters
[out]outputRGB texture owned by the effect, valid until the pool wraps around
Returns
S_OK with an output, S_FALSE when the effect has no output for this frame yet

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