MythTV  0.26-pre
Public Member Functions | Private Member Functions | Private Attributes
VideoColourSpace Class Reference

#include <videocolourspace.h>

List of all members.

Public Member Functions

 VideoColourSpace (VideoCStd colour_std=kCSTD_ITUR_BT_601)
 ~VideoColourSpace ()
PictureAttributeSupported SupportedAttributes (void) const
void SetSupportedAttributes (PictureAttributeSupported supported)
voidGetMatrix (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, intm_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

Definition at line 87 of file videocolourspace.cpp.

Definition at line 36 of file videocolourspace.h.


Member Function Documentation

Definition at line 38 of file videocolourspace.h.

bool VideoColourSpace::HasChanged ( void  ) const [inline]

Definition at line 43 of file videocolourspace.h.

Definition at line 227 of file videocolourspace.cpp.

Referenced by VideoOutputVDPAU::InitPictureAttributes().

Definition at line 233 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

Definition at line 239 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

void VideoColourSpace::SetContrast ( int  value) [private]

Definition at line 245 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

void VideoColourSpace::SetHue ( int  value) [private]

Definition at line 251 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

Definition at line 257 of file videocolourspace.cpp.

Referenced by SetPictureAttribute(), and VideoColourSpace().

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

Definition at line 263 of file videocolourspace.cpp.

Referenced by SetPictureAttribute().

Definition at line 214 of file videocolourspace.cpp.

Referenced by Update().


Member Data Documentation

Definition at line 62 of file videocolourspace.h.

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

Definition at line 64 of file videocolourspace.h.

Referenced by HasChanged(), and Update().

Definition at line 65 of file videocolourspace.h.

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

Definition at line 66 of file videocolourspace.h.

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

Definition at line 67 of file videocolourspace.h.

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

Definition at line 68 of file videocolourspace.h.

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

float VideoColourSpace::m_hue [private]

Definition at line 69 of file videocolourspace.h.

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

Definition at line 70 of file videocolourspace.h.

Referenced by SetColourSpace(), and Update().

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends