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

#include <WinVideoFilter.h>

Inheritance diagram for CConvolutionShader1Pass:
CConvolutionShader CWinShader

Public Member Functions

 CConvolutionShader1Pass ()=default
 
bool Create (ESCALINGMETHOD method, const std::shared_ptr< COutputShader > &pOutputShader=nullptr) override
 
void Render (CD3DTexture &sourceTexture, CD3DTexture &target, CRect sourceRect, CRect destRect, bool useLimitRange) override
 
- Public Member Functions inherited from CConvolutionShader
virtual ~CConvolutionShader ()=default
 

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
 CConvolutionShader ()=default
 
virtual bool ChooseKernelD3DFormat ()
 
virtual bool CreateHQKernel (ESCALINGMETHOD method)
 
- Protected Member Functions inherited from CWinShader
 CWinShader ()=default
 
virtual ~CWinShader ()=default
 
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 (unsigned stepIndex)
 
virtual bool CreateInputLayout (D3D11_INPUT_ELEMENT_DESC *layout, unsigned numElements)
 

Additional Inherited Members

- Protected Attributes inherited from CConvolutionShader
bool m_floattex = false
 
bool m_rgba = false
 
DXGI_FORMAT m_KernelFormat = DXGI_FORMAT_UNKNOWN
 
CD3DTexture m_HQKernelTexture
 
std::shared_ptr< COutputShaderm_pOutShader = nullptr
 
- Protected Attributes inherited from CWinShader
CD3DEffect m_effect
 
CD3DTexturem_target = nullptr
 

Constructor & Destructor Documentation

◆ CConvolutionShader1Pass()

CConvolutionShader1Pass::CConvolutionShader1Pass ( )
explicitdefault

Member Function Documentation

◆ Create()

bool CConvolutionShader1Pass::Create ( ESCALINGMETHOD method,
const std::shared_ptr< COutputShader > & pOutputShader = 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,
CD3DTexture & target,
CRect sourceRect,
CRect destRect,
bool useLimitRange )
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: