#include <WinVideoFilter.h>
|
virtual | ~COutputShader () |
|
void | ApplyEffectParameters (CD3DEffect &effect, unsigned sourceWidth, unsigned sourceHeight) |
|
void | GetDefines (DefinesMap &map) const |
|
bool | Create (bool useCLUT, bool useDithering, int ditherDepth, bool toneMapping) |
|
void | Render (CD3DTexture &sourceTexture, unsigned sourceWidth, unsigned sourceHeight, CRect sourceRect, const CPoint points[4], CD3DTexture *target, unsigned range=0, float contrast=0.5f, float brightness=0.5f) |
|
void | Render (CD3DTexture &sourceTexture, unsigned sourceWidth, unsigned sourceHeight, CRect sourceRect, CRect destRect, CD3DTexture *target, unsigned range=0, float contrast=0.5f, float brightness=0.5f) |
|
void | SetCLUT (int clutSize, ID3D11ShaderResourceView *pCLUTView) |
|
void | SetDisplayMetadata (bool hasDisplayMetadata, AVMasteringDisplayMetadata displayMetadata, bool hasLightMetadata, AVContentLightMetadata lightMetadata) |
|
void | SetToneMapParam (float param) |
|
|
static bool | CreateCLUTView (int clutSize, uint16_t *clutData, bool isRGB, ID3D11ShaderResourceView **ppCLUTView) |
|
◆ ~COutputShader()
COutputShader::~COutputShader |
( |
| ) |
|
|
virtual |
◆ ApplyEffectParameters()
void COutputShader::ApplyEffectParameters |
( |
CD3DEffect & |
effect, |
|
|
unsigned |
sourceWidth, |
|
|
unsigned |
sourceHeight |
|
) |
| |
◆ Create()
bool COutputShader::Create |
( |
bool |
useCLUT, |
|
|
bool |
useDithering, |
|
|
int |
ditherDepth, |
|
|
bool |
toneMapping |
|
) |
| |
◆ CreateCLUTView()
bool COutputShader::CreateCLUTView |
( |
int |
clutSize, |
|
|
uint16_t * |
clutData, |
|
|
bool |
isRGB, |
|
|
ID3D11ShaderResourceView ** |
ppCLUTView |
|
) |
| |
|
static |
◆ GetDefines()
◆ Render() [1/2]
void COutputShader::Render |
( |
CD3DTexture & |
sourceTexture, |
|
|
unsigned |
sourceWidth, |
|
|
unsigned |
sourceHeight, |
|
|
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, |
|
|
unsigned |
sourceWidth, |
|
|
unsigned |
sourceHeight, |
|
|
CRect |
sourceRect, |
|
|
CRect |
destRect, |
|
|
CD3DTexture * |
target, |
|
|
unsigned |
range = 0 , |
|
|
float |
contrast = 0.5f , |
|
|
float |
brightness = 0.5f |
|
) |
| |
◆ SetCLUT()
void COutputShader::SetCLUT |
( |
int |
clutSize, |
|
|
ID3D11ShaderResourceView * |
pCLUTView |
|
) |
| |
◆ SetDisplayMetadata()
void COutputShader::SetDisplayMetadata |
( |
bool |
hasDisplayMetadata, |
|
|
AVMasteringDisplayMetadata |
displayMetadata, |
|
|
bool |
hasLightMetadata, |
|
|
AVContentLightMetadata |
lightMetadata |
|
) |
| |
◆ SetToneMapParam()
void COutputShader::SetToneMapParam |
( |
float |
param | ) |
|
|
inline |
The documentation for this class was generated from the following files: