Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CConvolutionShader1Pass Class Reference

#include <WinVideoFilter.h>

Inheritance diagram for CConvolutionShader1Pass:
CConvolutionShader CWinShader

Public Member Functions

bool Create (ESCALINGMETHOD method, COutputShader *pCLUT=nullptr) override
 
void Render (CD3DTexture &sourceTexture, unsigned int sourceWidth, unsigned int sourceHeight, unsigned int destWidth, unsigned int destHeight, CRect sourceRect, CRect destRect, bool useLimitRange, CD3DTexture *target) override
 
 CConvolutionShader1Pass ()
 
- Public Member Functions inherited from CConvolutionShader
 CConvolutionShader ()
 
virtual ~CConvolutionShader ()
 

Protected Member Functions

void PrepareParameters (unsigned int sourceWidth, unsigned int sourceHeight, CRect sourceRect, CRect destRect)
 
void SetShaderParameters (CD3DTexture &sourceTexture, float *texSteps, int texStepsCount, bool useLimitRange) override
 
- Protected Member Functions inherited from CConvolutionShader
virtual bool ChooseKernelD3DFormat ()
 
virtual bool CreateHQKernel (ESCALINGMETHOD method)
 
- Protected Member Functions inherited from CWinShader
 CWinShader ()
 
virtual ~CWinShader ()
 
virtual bool CreateVertexBuffer (unsigned int vertCount, unsigned int vertSize)
 
virtual bool LockVertexBuffer (void **data)
 
virtual bool UnlockVertexBuffer ()
 
virtual bool LoadEffect (const std::string &filename, DefinesMap *defines)
 
virtual bool Execute (const std::vector< CD3DTexture * > &targets, unsigned int vertexIndexStep)
 
virtual void SetStepParams (UINT stepIndex)
 
virtual bool CreateInputLayout (D3D11_INPUT_ELEMENT_DESC *layout, unsigned numElements)
 

Additional Inherited Members

- Protected Attributes inherited from CConvolutionShader
CD3DTexture m_HQKernelTexture
 
DXGI_FORMAT m_KernelFormat
 
bool m_floattex
 
bool m_rgba
 
COutputShaderm_pOutShader
 
- Protected Attributes inherited from CWinShader
CD3DEffect m_effect
 
CD3DTexturem_target { nullptr }
 

Constructor & Destructor Documentation

◆ CConvolutionShader1Pass()

CConvolutionShader1Pass::CConvolutionShader1Pass ( )
inline

Member Function Documentation

◆ Create()

bool CConvolutionShader1Pass::Create ( ESCALINGMETHOD  method,
COutputShader pCLUT = nullptr 
)
overridevirtual

Implements CConvolutionShader.

◆ PrepareParameters()

void CConvolutionShader1Pass::PrepareParameters ( unsigned int  sourceWidth,
unsigned int  sourceHeight,
CRect  sourceRect,
CRect  destRect 
)
protected

◆ Render()

void CConvolutionShader1Pass::Render ( CD3DTexture sourceTexture,
unsigned int  sourceWidth,
unsigned int  sourceHeight,
unsigned int  destWidth,
unsigned int  destHeight,
CRect  sourceRect,
CRect  destRect,
bool  useLimitRange,
CD3DTexture target 
)
overridevirtual

Implements CConvolutionShader.

◆ SetShaderParameters()

void CConvolutionShader1Pass::SetShaderParameters ( CD3DTexture sourceTexture,
float *  texSteps,
int  texStepsCount,
bool  useLimitRange 
)
overrideprotectedvirtual

Implements CConvolutionShader.


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