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

#include <videocolourspace.h>

Collaboration diagram for VideoColourSpace:
Collaboration graph
[legend]

Public Member Functions

 VideoColourSpace (VideoCStd colour_std=kCSTD_ITUR_BT_601)
 
 ~VideoColourSpace ()=default
 
PictureAttributeSupported SupportedAttributes (void) const
 
void SetSupportedAttributes (PictureAttributeSupported supported)
 
void * GetMatrix (void)
 
bool HasChanged (void) const
 
int GetPictureAttribute (PictureAttribute attribute)
 
int SetPictureAttribute (PictureAttribute attribute, int value)
 
void SetColourSpace (VideoCStd csp=kCSTD_Unknown)
 

Private Member Functions

void SetStudioLevels (bool studio)
 
void SetBrightness (int value)
 
void SetContrast (int value)
 
void SetHue (int value)
 
void SetSaturation (int value)
 
void SaveValue (PictureAttribute attribute, int value)
 
void Update (void)
 
void Debug (void)
 

Private Attributes

PictureAttributeSupported m_supported_attributes
 
QMap< PictureAttribute, int > m_db_settings
 
bool m_changed
 
bool m_studioLevels
 
float m_brightness
 
float m_contrast
 
float m_saturation
 
float m_hue
 
VideoCStd m_colourSpace
 
Matrix m_matrix
 

Detailed Description

Definition at line 32 of file videocolourspace.h.

Constructor & Destructor Documentation

◆ VideoColourSpace()

VideoColourSpace::VideoColourSpace ( VideoCStd  colour_std = kCSTD_ITUR_BT_601)
explicit

Definition at line 87 of file videocolourspace.cpp.

◆ ~VideoColourSpace()

VideoColourSpace::~VideoColourSpace ( )
default

Member Function Documentation

◆ SupportedAttributes()

PictureAttributeSupported VideoColourSpace::SupportedAttributes ( void  ) const
inline

Definition at line 38 of file videocolourspace.h.

◆ SetSupportedAttributes()

void VideoColourSpace::SetSupportedAttributes ( PictureAttributeSupported  supported)

◆ GetMatrix()

void* VideoColourSpace::GetMatrix ( void  )
inline

◆ HasChanged()

bool VideoColourSpace::HasChanged ( void  ) const
inline

Definition at line 43 of file videocolourspace.h.

◆ GetPictureAttribute()

int VideoColourSpace::GetPictureAttribute ( PictureAttribute  attribute)

◆ SetPictureAttribute()

int VideoColourSpace::SetPictureAttribute ( PictureAttribute  attribute,
int  value 
)

◆ SetColourSpace()

void VideoColourSpace::SetColourSpace ( VideoCStd  csp = kCSTD_Unknown)

Definition at line 227 of file videocolourspace.cpp.

Referenced by VideoOutputVDPAU::InitPictureAttributes().

◆ SetStudioLevels()

void VideoColourSpace::SetStudioLevels ( bool  studio)
private

Definition at line 233 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

◆ SetBrightness()

void VideoColourSpace::SetBrightness ( int  value)
private

Definition at line 239 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

◆ SetContrast()

void VideoColourSpace::SetContrast ( int  value)
private

Definition at line 245 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

◆ SetHue()

void VideoColourSpace::SetHue ( int  value)
private

Definition at line 251 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

◆ SetSaturation()

void VideoColourSpace::SetSaturation ( int  value)
private

Definition at line 257 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

◆ SaveValue()

void VideoColourSpace::SaveValue ( PictureAttribute  attribute,
int  value 
)
private

Definition at line 263 of file videocolourspace.cpp.

Referenced by SetPictureAttribute().

◆ Update()

void VideoColourSpace::Update ( void  )
private

◆ Debug()

void VideoColourSpace::Debug ( void  )
private

Definition at line 214 of file videocolourspace.cpp.

Referenced by Update().

Member Data Documentation

◆ m_supported_attributes

PictureAttributeSupported VideoColourSpace::m_supported_attributes
private

◆ m_db_settings

QMap<PictureAttribute,int> VideoColourSpace::m_db_settings
private

Definition at line 62 of file videocolourspace.h.

Referenced by GetPictureAttribute(), SaveValue(), and VideoColourSpace().

◆ m_changed

bool VideoColourSpace::m_changed
private

Definition at line 64 of file videocolourspace.h.

Referenced by HasChanged(), and Update().

◆ m_studioLevels

bool VideoColourSpace::m_studioLevels
private

Definition at line 65 of file videocolourspace.h.

Referenced by Debug(), SetStudioLevels(), and Update().

◆ m_brightness

float VideoColourSpace::m_brightness
private

Definition at line 66 of file videocolourspace.h.

Referenced by Debug(), SetBrightness(), and Update().

◆ m_contrast

float VideoColourSpace::m_contrast
private

Definition at line 67 of file videocolourspace.h.

Referenced by Debug(), SetContrast(), and Update().

◆ m_saturation

float VideoColourSpace::m_saturation
private

Definition at line 68 of file videocolourspace.h.

Referenced by Debug(), SetSaturation(), and Update().

◆ m_hue

float VideoColourSpace::m_hue
private

Definition at line 69 of file videocolourspace.h.

Referenced by Debug(), SetHue(), and Update().

◆ m_colourSpace

VideoCStd VideoColourSpace::m_colourSpace
private

Definition at line 70 of file videocolourspace.h.

Referenced by SetColourSpace(), and Update().

◆ m_matrix

Matrix VideoColourSpace::m_matrix
private

Definition at line 71 of file videocolourspace.h.

Referenced by Debug(), GetMatrix(), and Update().


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