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

#include <mythopengltonemap.h>

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

Public Slots

void UpdateColourSpace (bool PrimariesChanged)
 

Public Member Functions

 MythOpenGLTonemap (MythRenderOpenGL *Render, VideoColourSpace *ColourSpace)
 
 ~MythOpenGLTonemap () override
 
MythVideoTextureMap (vector< MythVideoTexture * > &Inputs, QSize DisplaySize)
 
MythVideoTextureGetTexture (void)
 

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 }
 
VideoColourSpacem_colourSpace { nullptr }
 
QOpenGLShaderProgram * m_shader { nullptr }
 
GLuint m_storageBuffer { 0 }
 
MythVideoTexturem_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,
VideoColourSpace 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()

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

Definition at line 74 of file mythopengltonemap.cpp.

Referenced by MythOpenGLVideo::PrepareFrame().

◆ GetTexture()

MythVideoTexture * MythOpenGLTonemap::GetTexture ( void  )

Definition at line 69 of file mythopengltonemap.cpp.

Referenced by MythOpenGLVideo::PrepareFrame().

◆ 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

VideoColourSpace* 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

MythVideoTexture* 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: