Go to the documentation of this file. 1 #ifndef MYTHOPENGLTONEMAP_H
2 #define MYTHOPENGLTONEMAP_H
33 QOpenGLExtraFunctions*
m_extra {
nullptr };
MythOpenGLTonemap(MythRenderOpenGL *Render, MythVideoColourSpace *ColourSpace)
MythVideoTextureOpenGL * Map(std::vector< MythVideoTextureOpenGL * > &Inputs, QSize DisplaySize)
MythVideoTextureOpenGL * m_texture
bool CreateTexture(QSize Size)
~MythOpenGLTonemap() override
MythVideoColourSpace * m_colourSpace
bool CreateShader(size_t InputSize, VideoFrameType Type, QSize Size)
void UpdateColourSpace(bool PrimariesChanged)
MythVideoTextureOpenGL * GetTexture()
VideoFrameType m_inputType
QOpenGLShaderProgram * m_shader
MythVideoColourSpace contains a QMatrix4x4 that can convert YCbCr data to RGB.
MythRenderOpenGL * m_render
QOpenGLExtraFunctions * m_extra