#include <videocolourspace.h>
Public Member Functions | |
| VideoColourSpace (VideoCStd colour_std=kCSTD_ITUR_BT_601) | |
| ~VideoColourSpace () | |
| 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 |
Definition at line 32 of file videocolourspace.h.
| VideoColourSpace::VideoColourSpace | ( | VideoCStd | colour_std = kCSTD_ITUR_BT_601 |
) |
Definition at line 87 of file videocolourspace.cpp.
| VideoColourSpace::~VideoColourSpace | ( | ) | [inline] |
Definition at line 36 of file videocolourspace.h.
| PictureAttributeSupported VideoColourSpace::SupportedAttributes | ( | void | ) | const [inline] |
Definition at line 38 of file videocolourspace.h.
Referenced by VideoOutput::GetSupportedPictureAttributes().
| void VideoColourSpace::SetSupportedAttributes | ( | PictureAttributeSupported | supported | ) |
Definition at line 111 of file videocolourspace.cpp.
Referenced by OpenGLVideo::Init(), VideoOutputXv::InitPictureAttributes(), VideoOutputVDPAU::InitPictureAttributes(), VideoOutputOpenGL::InitPictureAttributes(), and VAAPIContext::InitPictureAttributes().
| void* VideoColourSpace::GetMatrix | ( | void | ) | [inline] |
Definition at line 42 of file videocolourspace.h.
Referenced by VideoOutputVDPAU::InitPictureAttributes(), OpenGLVideo::PrepareFrame(), and VideoOutputVDPAU::SetPictureAttribute().
| bool VideoColourSpace::HasChanged | ( | void | ) | const [inline] |
Definition at line 43 of file videocolourspace.h.
| int VideoColourSpace::GetPictureAttribute | ( | PictureAttribute | attribute | ) |
Definition at line 118 of file videocolourspace.cpp.
Referenced by VideoOutput::GetPictureAttribute(), VideoOutputXv::InitPictureAttributes(), and VAAPIContext::InitPictureAttributes().
| int VideoColourSpace::SetPictureAttribute | ( | PictureAttribute | attribute, | |
| int | value | |||
| ) |
Definition at line 125 of file videocolourspace.cpp.
Referenced by VideoOutput::SetPictureAttribute(), VideoOutputXv::SetPictureAttribute(), and VideoOutputVDPAU::SetPictureAttribute().
| void VideoColourSpace::SetColourSpace | ( | VideoCStd | csp = kCSTD_Unknown |
) |
Definition at line 227 of file videocolourspace.cpp.
Referenced by VideoOutputVDPAU::InitPictureAttributes().
| void VideoColourSpace::SetStudioLevels | ( | bool | studio | ) | [private] |
Definition at line 233 of file videocolourspace.cpp.
Referenced by SetPictureAttribute(), and VideoColourSpace().
| void VideoColourSpace::SetBrightness | ( | int | value | ) | [private] |
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().
| void VideoColourSpace::SetSaturation | ( | int | value | ) | [private] |
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().
| void VideoColourSpace::Update | ( | void | ) | [private] |
Definition at line 160 of file videocolourspace.cpp.
Referenced by SetBrightness(), SetColourSpace(), SetContrast(), SetHue(), SetSaturation(), and SetStudioLevels().
| void VideoColourSpace::Debug | ( | void | ) | [private] |
Definition at line 214 of file videocolourspace.cpp.
Referenced by Update().
Definition at line 61 of file videocolourspace.h.
Referenced by SetPictureAttribute(), SetSupportedAttributes(), and SupportedAttributes().
QMap<PictureAttribute,int> VideoColourSpace::m_db_settings [private] |
Definition at line 62 of file videocolourspace.h.
Referenced by GetPictureAttribute(), SaveValue(), and VideoColourSpace().
bool VideoColourSpace::m_changed [private] |
Definition at line 64 of file videocolourspace.h.
Referenced by HasChanged(), and Update().
bool VideoColourSpace::m_studioLevels [private] |
Definition at line 65 of file videocolourspace.h.
Referenced by Debug(), SetStudioLevels(), and Update().
float VideoColourSpace::m_brightness [private] |
Definition at line 66 of file videocolourspace.h.
Referenced by Debug(), SetBrightness(), and Update().
float VideoColourSpace::m_contrast [private] |
Definition at line 67 of file videocolourspace.h.
Referenced by Debug(), SetContrast(), and Update().
float VideoColourSpace::m_saturation [private] |
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.
VideoCStd VideoColourSpace::m_colourSpace [private] |
Definition at line 70 of file videocolourspace.h.
Referenced by SetColourSpace(), and Update().
Matrix VideoColourSpace::m_matrix [private] |
Definition at line 71 of file videocolourspace.h.
Referenced by Debug(), GetMatrix(), and Update().
1.6.3