MythTV  master
Macros | Enumerations | Functions
videoouttypes.h File Reference
#include <QString>
#include <QObject>
Include dependency graph for videoouttypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALL_PICTURE_ATTRIBUTES
 

Enumerations

enum  ZoomDirection {
  kZoomHome = 0, kZoomIn, kZoomOut, kZoomVerticalIn,
  kZoomVerticalOut, kZoomHorizontalIn, kZoomHorizontalOut, kZoomUp,
  kZoomDown, kZoomLeft, kZoomRight, kZoomAspectUp,
  kZoomAspectDown, kZoom_END
}
 
enum  AspectOverrideMode {
  kAspect_Toggle = -1, kAspect_Off = 0, kAspect_4_3, kAspect_16_9,
  kAspect_14_9, kAspect_2_35_1, kAspect_END
}
 
enum  AdjustFillMode {
  kAdjustFill_Toggle = -1, kAdjustFill_Off = 0, kAdjustFill_Half, kAdjustFill_Full,
  kAdjustFill_HorizontalStretch, kAdjustFill_VerticalStretch, kAdjustFill_HorizontalFill, kAdjustFill_VerticalFill,
  kAdjustFill_END, kAdjustFill_AutoDetect_DefaultOff, kAdjustFill_AutoDetect_DefaultHalf
}
 
enum  LetterBoxColour { kLetterBoxColour_Toggle = -1, kLetterBoxColour_Black = 0, kLetterBoxColour_Gray25, kLetterBoxColour_END }
 
enum  FrameScanType {
  kScan_Ignore = -1, kScan_Detect = 0, kScan_Interlaced = 1, kScan_Intr2ndField = 2,
  kScan_Progressive = 3
}
 
enum  PictureAttribute {
  kPictureAttribute_None = 0, kPictureAttribute_MIN = 0, kPictureAttribute_Brightness = 1, kPictureAttribute_Contrast,
  kPictureAttribute_Colour, kPictureAttribute_Hue, kPictureAttribute_Range, kPictureAttribute_Volume,
  kPictureAttribute_MAX
}
 
enum  PictureAttributeSupported {
  kPictureAttributeSupported_None = 0x00, kPictureAttributeSupported_Brightness = 0x01, kPictureAttributeSupported_Contrast = 0x02, kPictureAttributeSupported_Colour = 0x04,
  kPictureAttributeSupported_Hue = 0x08, kPictureAttributeSupported_Range = 0x10, kPictureAttributeSupported_Volume = 0x20
}
 
enum  StereoscopicMode { kStereoscopicModeAuto, kStereoscopicModeIgnore3D, kStereoscopicModeSideBySideDiscard, kStereoscopicModeTopAndBottomDiscard }
 
enum  PrimariesMode { PrimariesDisabled = 0, PrimariesRelaxed, PrimariesExact }
 
enum  VideoErrorState { kError_None = 0x00, kError_Unknown = 0x01 }
 

Functions

QString toUserString (PrimariesMode Mode)
 
QString toDBString (PrimariesMode Mode)
 
PrimariesMode toPrimariesMode (const QString &Mode)
 
QString StereoscopictoString (StereoscopicMode Mode)
 
bool is_interlaced (FrameScanType Scan)
 
bool is_progressive (FrameScanType Scan)
 
QString ScanTypeToUserString (FrameScanType Scan, bool Forced=false)
 
QString ScanTypeToString (FrameScanType Scan)
 
QString toString (AspectOverrideMode Aspectmode)
 
QString toString (LetterBoxColour LetterboxColour)
 
float get_aspect_override (AspectOverrideMode Aspectmode, float Original)
 
QString toString (AdjustFillMode Aspectmode)
 
QString toString (PictureAttribute PictureAttribute)
 
QString toDBString (PictureAttribute PictureAttribute)
 
QString toString (PictureAttributeSupported Supported)
 
PictureAttributeSupported toMask (PictureAttribute PictureAttribute)
 
PictureAttribute next_picattr (PictureAttributeSupported Supported, PictureAttribute Attribute)
 

Macro Definition Documentation

◆ ALL_PICTURE_ATTRIBUTES

#define ALL_PICTURE_ATTRIBUTES
Value:
kPictureAttributeSupported_Contrast | \
kPictureAttributeSupported_Colour | \
kPictureAttributeSupported_Hue | \
kPictureAttributeSupported_Range)

Definition at line 93 of file videoouttypes.h.

Enumeration Type Documentation

◆ ZoomDirection

Enumerator
kZoomHome 
kZoomIn 
kZoomOut 
kZoomVerticalIn 
kZoomVerticalOut 
kZoomHorizontalIn 
kZoomHorizontalOut 
kZoomUp 
kZoomDown 
kZoomLeft 
kZoomRight 
kZoomAspectUp 
kZoomAspectDown 
kZoom_END 

Definition at line 8 of file videoouttypes.h.

◆ AspectOverrideMode

Enumerator
kAspect_Toggle 
kAspect_Off 
kAspect_4_3 
kAspect_16_9 
kAspect_14_9 
kAspect_2_35_1 
kAspect_END 

Definition at line 26 of file videoouttypes.h.

◆ AdjustFillMode

Enumerator
kAdjustFill_Toggle 
kAdjustFill_Off 
kAdjustFill_Half 
kAdjustFill_Full 
kAdjustFill_HorizontalStretch 
kAdjustFill_VerticalStretch 
kAdjustFill_HorizontalFill 
kAdjustFill_VerticalFill 
kAdjustFill_END 
kAdjustFill_AutoDetect_DefaultOff 
kAdjustFill_AutoDetect_DefaultHalf 

Definition at line 37 of file videoouttypes.h.

◆ LetterBoxColour

Enumerator
kLetterBoxColour_Toggle 
kLetterBoxColour_Black 
kLetterBoxColour_Gray25 
kLetterBoxColour_END 

Definition at line 52 of file videoouttypes.h.

◆ FrameScanType

Enumerator
kScan_Ignore 
kScan_Detect 
kScan_Interlaced 
kScan_Intr2ndField 
kScan_Progressive 

Definition at line 60 of file videoouttypes.h.

◆ PictureAttribute

Enumerator
kPictureAttribute_None 
kPictureAttribute_MIN 
kPictureAttribute_Brightness 
kPictureAttribute_Contrast 
kPictureAttribute_Colour 
kPictureAttribute_Hue 
kPictureAttribute_Range 
kPictureAttribute_Volume 
kPictureAttribute_MAX 

Definition at line 69 of file videoouttypes.h.

◆ PictureAttributeSupported

Enumerator
kPictureAttributeSupported_None 
kPictureAttributeSupported_Brightness 
kPictureAttributeSupported_Contrast 
kPictureAttributeSupported_Colour 
kPictureAttributeSupported_Hue 
kPictureAttributeSupported_Range 
kPictureAttributeSupported_Volume 

Definition at line 82 of file videoouttypes.h.

◆ StereoscopicMode

Enumerator
kStereoscopicModeAuto 
kStereoscopicModeIgnore3D 
kStereoscopicModeSideBySideDiscard 
kStereoscopicModeTopAndBottomDiscard 

Definition at line 100 of file videoouttypes.h.

◆ PrimariesMode

Enumerator
PrimariesDisabled 
PrimariesRelaxed 
PrimariesExact 

Definition at line 108 of file videoouttypes.h.

◆ VideoErrorState

Enumerator
kError_None 
kError_Unknown 

Definition at line 148 of file videoouttypes.h.

Function Documentation

◆ toUserString()

QString toUserString ( PrimariesMode  Mode)
inline

Definition at line 115 of file videoouttypes.h.

Referenced by ColourPrimaries().

◆ toDBString() [1/2]

QString toDBString ( PrimariesMode  Mode)
inline

◆ toPrimariesMode()

PrimariesMode toPrimariesMode ( const QString &  Mode)
inline

Definition at line 129 of file videoouttypes.h.

Referenced by MythVideoColourSpace::MythVideoColourSpace().

◆ StereoscopictoString()

QString StereoscopictoString ( StereoscopicMode  Mode)
inline

Definition at line 136 of file videoouttypes.h.

Referenced by MythVideoBounds::SetStereoOverride().

◆ is_interlaced()

bool is_interlaced ( FrameScanType  Scan)
inline

◆ is_progressive()

bool is_progressive ( FrameScanType  Scan)
inline

Definition at line 159 of file videoouttypes.h.

◆ ScanTypeToUserString()

QString ScanTypeToUserString ( FrameScanType  Scan,
bool  Forced = false 
)
inline

◆ ScanTypeToString()

QString ScanTypeToString ( FrameScanType  Scan)
inline

◆ toString() [1/5]

QString toString ( AspectOverrideMode  Aspectmode)
inline

Definition at line 189 of file videoouttypes.h.

◆ toString() [2/5]

QString toString ( LetterBoxColour  LetterboxColour)
inline

Definition at line 204 of file videoouttypes.h.

◆ get_aspect_override()

float get_aspect_override ( AspectOverrideMode  Aspectmode,
float  Original 
)
inline

Definition at line 216 of file videoouttypes.h.

Referenced by MythVideoBounds::SetVideoAspectRatio().

◆ toString() [3/5]

QString toString ( AdjustFillMode  Aspectmode)
inline

Definition at line 231 of file videoouttypes.h.

◆ toString() [4/5]

QString toString ( PictureAttribute  PictureAttribute)
inline

Definition at line 250 of file videoouttypes.h.

◆ toDBString() [2/2]

QString toDBString ( PictureAttribute  PictureAttribute)
inline

Definition at line 266 of file videoouttypes.h.

◆ toString() [5/5]

QString toString ( PictureAttributeSupported  Supported)
inline

Definition at line 282 of file videoouttypes.h.

◆ toMask()

PictureAttributeSupported toMask ( PictureAttribute  PictureAttribute)
inline

◆ next_picattr()

PictureAttribute next_picattr ( PictureAttributeSupported  Supported,
PictureAttribute  Attribute 
)
inline

Definition at line 316 of file videoouttypes.h.

Referenced by TV::NextPictureAdjustType().

PictureAttributeSupported
PictureAttributeSupported
Definition: videoouttypes.h:83
kPictureAttributeSupported_Brightness
@ kPictureAttributeSupported_Brightness
Definition: videoouttypes.h:85