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