#include <WinVideoFilter.h>
|
| COutputShader ()=default |
|
| ~COutputShader ()=default |
|
void | ApplyEffectParameters (CD3DEffect &effect, unsigned sourceWidth, unsigned sourceHeight) |
|
void | GetDefines (DefinesMap &map) const |
|
bool | Create (bool useLUT, bool useDithering, int ditherDepth, bool toneMapping, int toneMethod, bool HLGtoPQ) |
|
void | Render (CD3DTexture &sourceTexture, CRect sourceRect, const CPoint points[4], CD3DTexture &target, unsigned range=0, float contrast=0.5f, float brightness=0.5f) |
|
void | Render (CD3DTexture &sourceTexture, CRect sourceRect, CRect destRect, CD3DTexture &target, unsigned range=0, float contrast=0.5f, float brightness=0.5f) |
|
void | SetLUT (int lutSize, ID3D11ShaderResourceView *pLUTView) |
|
void | SetDisplayMetadata (bool hasDisplayMetadata, AVMasteringDisplayMetadata displayMetadata, bool hasLightMetadata, AVContentLightMetadata lightMetadata) |
|
void | SetToneMapParam (int method, float param) |
|
std::string | GetDebugInfo () |
|
◆ COutputShader()
COutputShader::COutputShader |
( |
| ) |
|
|
explicitdefault |
◆ ~COutputShader()
COutputShader::~COutputShader |
( |
| ) |
|
|
default |
◆ ApplyEffectParameters()
void COutputShader::ApplyEffectParameters |
( |
CD3DEffect & |
effect, |
|
|
unsigned |
sourceWidth, |
|
|
unsigned |
sourceHeight |
|
) |
| |
◆ Create()
◆ CreateLUTView()
bool COutputShader::CreateLUTView |
( |
int |
lutSize, |
|
|
uint16_t * |
lutData, |
|
|
bool |
isRGB, |
|
|
ID3D11ShaderResourceView ** |
ppLUTView |
|
) |
| |
|
static |
◆ GetDebugInfo()
std::string COutputShader::GetDebugInfo |
( |
| ) |
|
◆ GetDefines()
◆ Render() [1/2]
void COutputShader::Render |
( |
CD3DTexture & |
sourceTexture, |
|
|
CRect |
sourceRect, |
|
|
const CPoint |
points[4], |
|
|
CD3DTexture & |
target, |
|
|
unsigned |
range = 0 , |
|
|
float |
contrast = 0.5f , |
|
|
float |
brightness = 0.5f |
|
) |
| |
◆ Render() [2/2]
void COutputShader::Render |
( |
CD3DTexture & |
sourceTexture, |
|
|
CRect |
sourceRect, |
|
|
CRect |
destRect, |
|
|
CD3DTexture & |
target, |
|
|
unsigned |
range = 0 , |
|
|
float |
contrast = 0.5f , |
|
|
float |
brightness = 0.5f |
|
) |
| |
◆ SetDisplayMetadata()
void COutputShader::SetDisplayMetadata |
( |
bool |
hasDisplayMetadata, |
|
|
AVMasteringDisplayMetadata |
displayMetadata, |
|
|
bool |
hasLightMetadata, |
|
|
AVContentLightMetadata |
lightMetadata |
|
) |
| |
◆ SetLUT()
void COutputShader::SetLUT |
( |
int |
lutSize, |
|
|
ID3D11ShaderResourceView * |
pLUTView |
|
) |
| |
◆ SetToneMapParam()
void COutputShader::SetToneMapParam |
( |
int |
method, |
|
|
float |
param |
|
) |
| |
The documentation for this class was generated from the following files: