Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <YUV2RGBShaderGLES.h>
Public Member Functions | |
YUV2RGBProgressiveShader (EShaderFormat format, AVColorPrimaries dstPrimaries, AVColorPrimaries srcPrimaries, bool toneMap, ETONEMAPMETHOD toneMapMethod) | |
Public Member Functions inherited from Shaders::GLES::BaseYUV2RGBGLSLShader | |
BaseYUV2RGBGLSLShader (EShaderFormat format, AVColorPrimaries dst, AVColorPrimaries src, bool toneMap, ETONEMAPMETHOD toneMapMethod) | |
~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 | SetConvertFullColorRange (bool convertFullRange) |
void | SetDisplayMetadata (bool hasDisplayMetadata, const 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 () |
YUV2RGBProgressiveShader::YUV2RGBProgressiveShader | ( | EShaderFormat | format, |
AVColorPrimaries | dstPrimaries, | ||
AVColorPrimaries | srcPrimaries, | ||
bool | toneMap, | ||
ETONEMAPMETHOD | toneMapMethod ) |