Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <YUV2RGBShaderGL.h>
Public Member Functions | |
YUV2RGBProgressiveShader (bool rect, EShaderFormat format, bool stretch, AVColorPrimaries dstPrimaries, AVColorPrimaries srcPrimaries, bool toneMap, ETONEMAPMETHOD toneMapMethod, std::shared_ptr< GLSLOutput > output, bool gammaCorrection) | |
Public Member Functions inherited from Shaders::GL::BaseYUV2RGBGLSLShader | |
BaseYUV2RGBGLSLShader (bool rect, EShaderFormat format, bool stretch, AVColorPrimaries dst, AVColorPrimaries src, bool toneMap, ETONEMAPMETHOD toneMapMethod, std::shared_ptr< GLSLOutput > output) | |
~BaseYUV2RGBGLSLShader () override | |
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, const AVMasteringDisplayMetadata &displayMetadata, bool hasLightMetadata, AVContentLightMetadata lightMetadata) |
void | SetToneMapParam (ETONEMAPMETHOD method, 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) |
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 () |
YUV2RGBProgressiveShader::YUV2RGBProgressiveShader | ( | bool | rect, |
EShaderFormat | format, | ||
bool | stretch, | ||
AVColorPrimaries | dstPrimaries, | ||
AVColorPrimaries | srcPrimaries, | ||
bool | toneMap, | ||
ETONEMAPMETHOD | toneMapMethod, | ||
std::shared_ptr< GLSLOutput > | output, | ||
bool | gammaCorrection ) |