#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) |
|
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 (float param) |
|
|
static bool | CreateLUTView (int lutSize, uint16_t *lutData, bool isRGB, ID3D11ShaderResourceView **ppLUTView) |
|
§ COutputShader()
COutputShader::COutputShader |
( |
| ) |
|
|
explicitdefault |
§ ~COutputShader()
COutputShader::~COutputShader |
( |
| ) |
|
|
default |
§ ApplyEffectParameters()
void COutputShader::ApplyEffectParameters |
( |
CD3DEffect & |
effect, |
|
|
unsigned |
sourceWidth, |
|
|
unsigned |
sourceHeight |
|
) |
| |
§ Create()
bool COutputShader::Create |
( |
bool |
useLUT, |
|
|
bool |
useDithering, |
|
|
int |
ditherDepth, |
|
|
bool |
toneMapping |
|
) |
| |
§ CreateLUTView()
bool COutputShader::CreateLUTView |
( |
int |
lutSize, |
|
|
uint16_t * |
lutData, |
|
|
bool |
isRGB, |
|
|
ID3D11ShaderResourceView ** |
ppLUTView |
|
) |
| |
|
static |
§ 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 |
( |
float |
param | ) |
|
|
inline |
The documentation for this class was generated from the following files: