|
Kodi Documentation
19.0
Kodi is an open source media player and entertainment hub.
|
#include <YUV2RGBShaderGLES.h>
Public Member Functions | |
| YUV2RGBBobShader (EShaderFormat format, AVColorPrimaries dstPrimaries, AVColorPrimaries srcPrimaries, bool toneMap) | |
| void | OnCompiledAndLinked () override |
| bool | OnEnabled () override |
Public Member Functions inherited from Shaders::BaseYUV2RGBGLSLShader | |
| BaseYUV2RGBGLSLShader (bool rect, EShaderFormat format, bool stretch, AVColorPrimaries dst, AVColorPrimaries src, bool toneMap, std::shared_ptr< GLSLOutput > output) | |
| virtual | ~BaseYUV2RGBGLSLShader () |
| void | SetField (int field) |
| void | SetWidth (int w) |
| void | SetHeight (int h) |
| void | SetColParams (AVColorSpace colSpace, int bits, bool limited, int textureBits) |
| void | SetBlack (float black) |
| void | SetContrast (float contrast) |
| void | SetNonLinStretch (float stretch) |
| void | SetDisplayMetadata (bool hasDisplayMetadata, AVMasteringDisplayMetadata displayMetadata, bool hasLightMetadata, AVContentLightMetadata lightMetadata) |
| void | SetToneMapParam (float param) |
| void | SetConvertFullColorRange (bool convertFullRange) |
| GLint | GetVertexLoc () |
| GLint | GetYcoordLoc () |
| GLint | GetUcoordLoc () |
| GLint | GetVcoordLoc () |
| void | SetMatrices (const GLfloat *p, const GLfloat *m) |
| void | SetAlpha (GLfloat alpha) |
| BaseYUV2RGBGLSLShader (EShaderFormat format, AVColorPrimaries dst, AVColorPrimaries src, bool toneMap) | |
| ~BaseYUV2RGBGLSLShader () | |
| void | SetField (int field) |
| void | SetWidth (int w) |
| void | SetHeight (int h) |
| void | SetColParams (AVColorSpace colSpace, int bits, bool limited, int textureBits) |
| void | SetBlack (float black) |
| void | SetContrast (float contrast) |
| void | SetConvertFullColorRange (bool convertFullRange) |
| void | SetDisplayMetadata (bool hasDisplayMetadata, AVMasteringDisplayMetadata displayMetadata, bool hasLightMetadata, AVContentLightMetadata lightMetadata) |
| void | SetToneMapParam (float param) |
| GLint | GetVertexLoc () |
| GLint | GetYcoordLoc () |
| GLint | GetUcoordLoc () |
| GLint | GetVcoordLoc () |
| void | SetMatrices (const GLfloat *p, const GLfloat *m) |
| void | SetAlpha (GLfloat alpha) |
Public Member Functions inherited from Shaders::CGLSLShaderProgram | |
| CGLSLShaderProgram () | |
| CGLSLShaderProgram (const std::string &vert, const std::string &frag) | |
| ~CGLSLShaderProgram () override | |
| bool | Enable () override |
| void | Disable () override |
| bool | CompileAndLink () override |
Public Member Functions inherited from Shaders::CShaderProgram | |
| CShaderProgram ()=default | |
| virtual | ~CShaderProgram () |
| bool | OK () const |
| CVertexShader * | VertexShader () |
| CPixelShader * | PixelShader () |
| virtual GLuint | ProgramHandle () |
Public Attributes | |
| GLint | m_hStepX |
| GLint | m_hStepY |
| GLint | m_hField |
Additional Inherited Members | |
Protected Member Functions inherited from Shaders::BaseYUV2RGBGLSLShader | |
| void | OnDisabled () override |
| void | Free () |
| void | OnDisabled () override |
| void | Free () |
Protected Member Functions inherited from Shaders::CGLSLShaderProgram | |
| void | Free () |
Protected Attributes inherited from Shaders::BaseYUV2RGBGLSLShader | |
| bool | m_convertFullRange |
| EShaderFormat | m_format |
| int | m_width |
| int | m_height |
| int | m_field |
| bool | m_hasDisplayMetadata = false |
| AVMasteringDisplayMetadata | m_displayMetadata |
| bool | m_hasLightMetadata = false |
| AVContentLightMetadata | m_lightMetadata |
| bool | m_toneMapping = false |
| float | m_toneMappingParam = 1.0 |
| float | m_black |
| float | m_contrast |
| float | m_stretch |
| const GLfloat * | m_proj = nullptr |
| const GLfloat * | m_model = nullptr |
| GLfloat | m_alpha = 1.0f |
| std::string | m_defines |
| std::shared_ptr< Shaders::GLSLOutput > | m_glslOutput |
| std::shared_ptr< CConvertMatrix > | m_pConvMatrix |
| GLint | m_hYTex = -1 |
| GLint | m_hUTex = -1 |
| GLint | m_hVTex = -1 |
| GLint | m_hYuvMat = -1 |
| GLint | m_hStretch = -1 |
| GLint | m_hStep = -1 |
| GLint | m_hGammaSrc = -1 |
| GLint | m_hGammaDstInv = -1 |
| GLint | m_hPrimMat = -1 |
| GLint | m_hToneP1 = -1 |
| GLint | m_hCoefsDst = -1 |
| GLint | m_hVertex = -1 |
| GLint | m_hYcoord = -1 |
| GLint | m_hUcoord = -1 |
| GLint | m_hVcoord = -1 |
| GLint | m_hProj = -1 |
| GLint | m_hModel = -1 |
| GLint | m_hAlpha = -1 |
Protected Attributes inherited from Shaders::CGLSLShaderProgram | |
| GLint | m_lastProgram |
| bool | m_validated = false |
Protected Attributes inherited from Shaders::CShaderProgram | |
| CVertexShader * | m_pVP = nullptr |
| CPixelShader * | m_pFP = nullptr |
| GLuint | m_shaderProgram = 0 |
| bool | m_ok = false |
| YUV2RGBBobShader::YUV2RGBBobShader | ( | EShaderFormat | format, |
| AVColorPrimaries | dstPrimaries, | ||
| AVColorPrimaries | srcPrimaries, | ||
| bool | toneMap | ||
| ) |
|
overridevirtual |
Reimplemented from Shaders::BaseYUV2RGBGLSLShader.
|
overridevirtual |
Reimplemented from Shaders::BaseYUV2RGBGLSLShader.
| GLint Shaders::YUV2RGBBobShader::m_hField |
| GLint Shaders::YUV2RGBBobShader::m_hStepX |
| GLint Shaders::YUV2RGBBobShader::m_hStepY |