MythTV  0.26-pre
Typedefs | Enumerations | Functions
videoouttypes.h File Reference

Go to the source code of this file.

Typedefs

typedef enum PIPState PIPState
typedef enum PIPLocation PIPLocation
typedef enum ZoomDirection ZoomDirection
typedef enum AspectOverrideMode AspectOverrideMode
typedef enum AdjustFillMode AdjustFillMode
typedef enum LetterBoxColour LetterBoxColour
typedef enum FrameScanType FrameScanType
typedef enum PictureAttribute PictureAttribute
typedef enum
PictureAttributeSupported 
PictureAttributeSupported
typedef enum StereoscopicMode StereoscopicMode
typedef enum VideoErrorState VideoErrorState

Enumerations

enum  PIPState {
  kPIPOff = 0, kPIPonTV, kPIPStandAlone, kPBPLeft,
  kPBPRight
}
enum  PIPLocation {
  kPIPTopLeft = 0, kPIPBottomLeft, kPIPTopRight, kPIPBottomRight,
  kPIP_END
}
enum  ZoomDirection {
  kZoomHome = 0, kZoomIn, kZoomOut, kZoomUp,
  kZoomDown, kZoomLeft, kZoomRight, kZoomAspectUp,
  kZoomAspectDown
}
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 = 1, kPictureAttribute_Brightness = 1, kPictureAttribute_Contrast,
  kPictureAttribute_Colour, kPictureAttribute_Hue, kPictureAttribute_StudioLevels, kPictureAttribute_Volume,
  kPictureAttribute_MAX
}
enum  PictureAttributeSupported {
  kPictureAttributeSupported_None = 0x00, kPictureAttributeSupported_Brightness = 0x01, kPictureAttributeSupported_Contrast = 0x02, kPictureAttributeSupported_Colour = 0x04,
  kPictureAttributeSupported_Hue = 0x08, kPictureAttributeSupported_StudioLevels = 0x10, kPictureAttributeSupported_Volume = 0x20
}
enum  StereoscopicMode {
  kStereoscopicModeNone, kStereoscopicModeSideBySide, kStereoscopicModeSideBySideDiscard, kStereoscopicModeTopAndBottom,
  kStereoscopicModeTopAndBottomDiscard
}
enum  VideoErrorState { kError_None = 0x00, kError_Unknown = 0x01, kError_Decode = 0x02, kError_Switch_Renderer = 0x04 }

Functions

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

Typedef Documentation

typedef enum PIPState PIPState
typedef enum PIPLocation PIPLocation

Enumeration Type Documentation

enum PIPState
Enumerator:
kPIPOff 
kPIPonTV 
kPIPStandAlone 
kPBPLeft 
kPBPRight 

Definition at line 10 of file videoouttypes.h.

Enumerator:
kPIPTopLeft 
kPIPBottomLeft 
kPIPTopRight 
kPIPBottomRight 
kPIP_END 

Definition at line 19 of file videoouttypes.h.

Enumerator:
kZoomHome 
kZoomIn 
kZoomOut 
kZoomUp 
kZoomDown 
kZoomLeft 
kZoomRight 
kZoomAspectUp 
kZoomAspectDown 

Definition at line 28 of file videoouttypes.h.

Enumerator:
kAspect_Toggle 
kAspect_Off 
kAspect_4_3 
kAspect_16_9 
kAspect_14_9 
kAspect_2_35_1 
kAspect_END 

Definition at line 41 of file videoouttypes.h.

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 52 of file videoouttypes.h.

Enumerator:
kLetterBoxColour_Toggle 
kLetterBoxColour_Black 
kLetterBoxColour_Gray25 
kLetterBoxColour_END 

Definition at line 67 of file videoouttypes.h.

Enumerator:
kScan_Ignore 
kScan_Detect 
kScan_Interlaced 
kScan_Intr2ndField 
kScan_Progressive 

Definition at line 75 of file videoouttypes.h.

Enumerator:
kPictureAttribute_None 
kPictureAttribute_MIN 
kPictureAttribute_Brightness 
kPictureAttribute_Contrast 
kPictureAttribute_Colour 
kPictureAttribute_Hue 
kPictureAttribute_StudioLevels 
kPictureAttribute_Volume 
kPictureAttribute_MAX 

Definition at line 84 of file videoouttypes.h.

Enumerator:
kPictureAttributeSupported_None 
kPictureAttributeSupported_Brightness 
kPictureAttributeSupported_Contrast 
kPictureAttributeSupported_Colour 
kPictureAttributeSupported_Hue 
kPictureAttributeSupported_StudioLevels 
kPictureAttributeSupported_Volume 

Definition at line 97 of file videoouttypes.h.

Enumerator:
kStereoscopicModeNone 
kStereoscopicModeSideBySide 
kStereoscopicModeSideBySideDiscard 
kStereoscopicModeTopAndBottom 
kStereoscopicModeTopAndBottomDiscard 

Definition at line 108 of file videoouttypes.h.

Enumerator:
kError_None 
kError_Unknown 
kError_Decode 
kError_Switch_Renderer 

Definition at line 135 of file videoouttypes.h.


Function Documentation

QString StereoscopictoString ( StereoscopicMode  mode) [inline]

Definition at line 117 of file videoouttypes.h.

Referenced by TV::Handle3D().

bool is_interlaced ( FrameScanType  scan) [inline]

Definition at line 143 of file videoouttypes.h.

Referenced by MythPlayer::GetCodecDescription(), and MythPlayer::SetScanType().

bool is_progressive ( FrameScanType  scan) [inline]

Definition at line 148 of file videoouttypes.h.

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

Definition at line 153 of file videoouttypes.h.

QString toString ( PIPLocation  location) [inline]

Definition at line 184 of file videoouttypes.h.

QString toString ( AspectOverrideMode  aspectmode) [inline]

Definition at line 200 of file videoouttypes.h.

QString toString ( LetterBoxColour  letterboxcolour) [inline]

Definition at line 218 of file videoouttypes.h.

QString toXString ( LetterBoxColour  letterboxcolour) [inline]

Definition at line 233 of file videoouttypes.h.

Referenced by VideoOutputXv::Init().

float get_aspect_override ( AspectOverrideMode  aspectmode,
float  orig 
) [inline]

Definition at line 248 of file videoouttypes.h.

Referenced by VideoOutWindow::SetVideoAspectRatio().

QString toString ( AdjustFillMode  aspectmode) [inline]

Definition at line 264 of file videoouttypes.h.

QString toString ( PictureAttribute  pictureattribute) [inline]

Definition at line 294 of file videoouttypes.h.

QString toDBString ( PictureAttribute  pictureattribute) [inline]
QString toXVString ( PictureAttribute  pictureattribute) [inline]
QString toString ( PictureAttributeSupported  supported) [inline]

Definition at line 372 of file videoouttypes.h.

PictureAttributeSupported toMask ( PictureAttribute  pictureattribute) [inline]
PictureAttribute next ( PictureAttributeSupported  supported,
PictureAttribute  attribute 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends