MythTV  master
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
MythOpenGLTonemap Class Reference

#include <libmythtv/opengl/mythopengltonemap.h>

Inheritance diagram for MythOpenGLTonemap:
[legend]
Collaboration diagram for MythOpenGLTonemap:
[legend]

Public Slots

void UpdateColourSpace (bool PrimariesChanged)
 

Public Member Functions

 MythOpenGLTonemap (MythRenderOpenGL *Render, MythVideoColourSpace *ColourSpace)
 
 ~MythOpenGLTonemap () override
 
MythVideoTextureOpenGLMap (std::vector< MythVideoTextureOpenGL * > &Inputs, QSize DisplaySize)
 
MythVideoTextureOpenGLGetTexture ()
 

Private Member Functions

bool CreateShader (size_t InputSize, VideoFrameType Type, QSize Size)
 
bool CreateTexture (QSize Size)
 

Private Attributes

MythRenderOpenGLm_render { nullptr }
 
QOpenGLExtraFunctions * m_extra { nullptr }
 
MythVideoColourSpacem_colourSpace { nullptr }
 
QOpenGLShaderProgram * m_shader { nullptr }
 
GLuint m_storageBuffer { 0 }
 
MythVideoTextureOpenGLm_texture { nullptr }
 
size_t m_inputCount { 0 }
 
QSize m_inputSize { 0, 0 }
 
VideoFrameType m_inputType { FMT_NONE }
 
QSize m_outputSize { 0, 0 }
 

Detailed Description

Definition at line 12 of file mythopengltonemap.h.

Constructor & Destructor Documentation

◆ MythOpenGLTonemap()

MythOpenGLTonemap::MythOpenGLTonemap ( MythRenderOpenGL Render,
MythVideoColourSpace ColourSpace 
)

Definition at line 24 of file mythopengltonemap.cpp.

◆ ~MythOpenGLTonemap()

MythOpenGLTonemap::~MythOpenGLTonemap ( )
override

Definition at line 41 of file mythopengltonemap.cpp.

Member Function Documentation

◆ Map()

MythVideoTextureOpenGL * MythOpenGLTonemap::Map ( std::vector< MythVideoTextureOpenGL * > &  Inputs,
QSize  DisplaySize 
)

Definition at line 73 of file mythopengltonemap.cpp.

Referenced by MythOpenGLVideo::RenderFrame().

◆ GetTexture()

MythVideoTextureOpenGL * MythOpenGLTonemap::GetTexture ( )

Definition at line 68 of file mythopengltonemap.cpp.

Referenced by MythOpenGLVideo::RenderFrame().

◆ UpdateColourSpace

void MythOpenGLTonemap::UpdateColourSpace ( bool  PrimariesChanged)
slot

Definition at line 58 of file mythopengltonemap.cpp.

Referenced by CreateShader(), and MythOpenGLTonemap().

◆ CreateShader()

bool MythOpenGLTonemap::CreateShader ( size_t  InputSize,
VideoFrameType  Type,
QSize  Size 
)
private

Definition at line 128 of file mythopengltonemap.cpp.

Referenced by Map().

◆ CreateTexture()

bool MythOpenGLTonemap::CreateTexture ( QSize  Size)
private

Definition at line 158 of file mythopengltonemap.cpp.

Referenced by Map().

Member Data Documentation

◆ m_render

MythRenderOpenGL* MythOpenGLTonemap::m_render { nullptr }
private

◆ m_extra

QOpenGLExtraFunctions* MythOpenGLTonemap::m_extra { nullptr }
private

Definition at line 33 of file mythopengltonemap.h.

Referenced by CreateTexture(), Map(), and MythOpenGLTonemap().

◆ m_colourSpace

MythVideoColourSpace* MythOpenGLTonemap::m_colourSpace { nullptr }
private

Definition at line 34 of file mythopengltonemap.h.

Referenced by MythOpenGLTonemap(), UpdateColourSpace(), and ~MythOpenGLTonemap().

◆ m_shader

QOpenGLShaderProgram* MythOpenGLTonemap::m_shader { nullptr }
private

Definition at line 35 of file mythopengltonemap.h.

Referenced by CreateShader(), Map(), UpdateColourSpace(), and ~MythOpenGLTonemap().

◆ m_storageBuffer

GLuint MythOpenGLTonemap::m_storageBuffer { 0 }
private

Definition at line 36 of file mythopengltonemap.h.

Referenced by Map(), and ~MythOpenGLTonemap().

◆ m_texture

MythVideoTextureOpenGL* MythOpenGLTonemap::m_texture { nullptr }
private

Definition at line 37 of file mythopengltonemap.h.

Referenced by CreateTexture(), GetTexture(), Map(), and ~MythOpenGLTonemap().

◆ m_inputCount

size_t MythOpenGLTonemap::m_inputCount { 0 }
private

Definition at line 38 of file mythopengltonemap.h.

Referenced by CreateShader(), and Map().

◆ m_inputSize

QSize MythOpenGLTonemap::m_inputSize { 0, 0 }
private

Definition at line 39 of file mythopengltonemap.h.

Referenced by CreateShader(), and Map().

◆ m_inputType

VideoFrameType MythOpenGLTonemap::m_inputType { FMT_NONE }
private

Definition at line 40 of file mythopengltonemap.h.

Referenced by CreateShader(), and Map().

◆ m_outputSize

QSize MythOpenGLTonemap::m_outputSize { 0, 0 }
private

Definition at line 41 of file mythopengltonemap.h.

Referenced by CreateTexture(), and Map().


The documentation for this class was generated from the following files: