MythTV  master
Macros | Enumerations | Functions
videoouttypes.h File Reference
#include <QString>
#include <QObject>
#include <QSize>
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  PIPState {
  kPIPOff = 0, kPIPonTV, kPIPStandAlone, kPBPLeft,
  kPBPRight
}
 
enum  PIPLocation {
  kPIPTopLeft = 0, kPIPBottomLeft, kPIPTopRight, kPIPBottomRight,
  kPIP_END
}
 
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 {
  kStereoscopicModeNone, kStereoscopicModeSideBySide, kStereoscopicModeSideBySideDiscard, kStereoscopicModeTopAndBottom,
  kStereoscopicModeTopAndBottomDiscard
}
 
enum  PrimariesMode { PrimariesDisabled = 0, PrimariesAuto, PrimariesAlways }
 
enum  VideoErrorState { kError_None = 0x00, kError_Unknown = 0x01 }
 

Functions

QString StereoscopictoString (StereoscopicMode mode)
 
bool is_interlaced (FrameScanType scan)
 
bool is_progressive (FrameScanType scan)
 
QString toString (FrameScanType scan, bool brief=false)
 
QString toString (PIPState State)
 
QString toString (PIPLocation location)
 
QString toString (AspectOverrideMode aspectmode)
 
QString toString (LetterBoxColour letterboxcolour)
 
float get_aspect_override (AspectOverrideMode aspectmode, float orig)
 
QString toString (AdjustFillMode aspectmode)
 
QString toString (PictureAttribute pictureattribute)
 
QString toDBString (PictureAttribute pictureattribute)
 
QString toString (PictureAttributeSupported supported)
 
PictureAttributeSupported toMask (PictureAttribute pictureattribute)
 
PictureAttribute next (PictureAttributeSupported supported, PictureAttribute attribute)
 

Macro Definition Documentation

◆ ALL_PICTURE_ATTRIBUTES

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

Definition at line 113 of file videoouttypes.h.

Enumeration Type Documentation

◆ PIPState

enum PIPState
Enumerator
kPIPOff 
kPIPonTV 
kPIPStandAlone 
kPBPLeft 
kPBPRight 

Definition at line 10 of file videoouttypes.h.

◆ PIPLocation

Enumerator
kPIPTopLeft 
kPIPBottomLeft 
kPIPTopRight 
kPIPBottomRight 
kPIP_END 

Definition at line 19 of file videoouttypes.h.

◆ ZoomDirection

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

Definition at line 28 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 46 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 57 of file videoouttypes.h.

◆ LetterBoxColour

Enumerator
kLetterBoxColour_Toggle 
kLetterBoxColour_Black 
kLetterBoxColour_Gray25 
kLetterBoxColour_END 

Definition at line 72 of file videoouttypes.h.

◆ FrameScanType

Enumerator
kScan_Ignore 
kScan_Detect 
kScan_Interlaced 
kScan_Intr2ndField 
kScan_Progressive 

Definition at line 80 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 89 of file videoouttypes.h.

◆ PictureAttributeSupported

Enumerator
kPictureAttributeSupported_None 
kPictureAttributeSupported_Brightness 
kPictureAttributeSupported_Contrast 
kPictureAttributeSupported_Colour 
kPictureAttributeSupported_Hue 
kPictureAttributeSupported_Range 
kPictureAttributeSupported_Volume 

Definition at line 102 of file videoouttypes.h.

◆ StereoscopicMode

Enumerator
kStereoscopicModeNone 
kStereoscopicModeSideBySide 
kStereoscopicModeSideBySideDiscard 
kStereoscopicModeTopAndBottom 
kStereoscopicModeTopAndBottomDiscard 

Definition at line 120 of file videoouttypes.h.

◆ PrimariesMode

Enumerator
PrimariesDisabled 
PrimariesAuto 
PrimariesAlways 

Definition at line 129 of file videoouttypes.h.

◆ VideoErrorState

Enumerator
kError_None 
kError_Unknown 

Definition at line 154 of file videoouttypes.h.

Function Documentation

◆ StereoscopictoString()

QString StereoscopictoString ( StereoscopicMode  mode)
inline

Definition at line 136 of file videoouttypes.h.

Referenced by TV::Handle3D().

◆ is_interlaced()

bool is_interlaced ( FrameScanType  scan)
inline

◆ is_progressive()

bool is_progressive ( FrameScanType  scan)
inline

Definition at line 165 of file videoouttypes.h.

◆ toString() [1/8]

QString toString ( FrameScanType  scan,
bool  brief = false 
)
inline

Definition at line 170 of file videoouttypes.h.

◆ toString() [2/8]

QString toString ( PIPState  State)
inline

Definition at line 200 of file videoouttypes.h.

◆ toString() [3/8]

QString toString ( PIPLocation  location)
inline

Definition at line 213 of file videoouttypes.h.

◆ toString() [4/8]

QString toString ( AspectOverrideMode  aspectmode)
inline

Definition at line 228 of file videoouttypes.h.

◆ toString() [5/8]

QString toString ( LetterBoxColour  letterboxcolour)
inline

Definition at line 245 of file videoouttypes.h.

◆ get_aspect_override()

float get_aspect_override ( AspectOverrideMode  aspectmode,
float  orig 
)
inline

Definition at line 259 of file videoouttypes.h.

Referenced by VideoOutWindow::SetVideoAspectRatio().

◆ toString() [6/8]

QString toString ( AdjustFillMode  aspectmode)
inline

Definition at line 275 of file videoouttypes.h.

◆ toString() [7/8]

QString toString ( PictureAttribute  pictureattribute)
inline

Definition at line 304 of file videoouttypes.h.

◆ toDBString()

QString toDBString ( PictureAttribute  pictureattribute)
inline

◆ toString() [8/8]

QString toString ( PictureAttributeSupported  supported)
inline

Definition at line 351 of file videoouttypes.h.

◆ toMask()

PictureAttributeSupported toMask ( PictureAttribute  pictureattribute)
inline

◆ next()

PictureAttribute next ( PictureAttributeSupported  supported,
PictureAttribute  attribute 
)
inline