DetectLetterbox Class Reference

#include <DetectLetterbox.h>

List of all members.

Public Member Functions

 DetectLetterbox (MythPlayer *const player)
 ~DetectLetterbox ()
void SetDetectLetterbox (bool detect)
bool GetDetectLetterbox () const
void Detect (VideoFrame *frame)
 Detects if this frame is or is not letterboxed.
void SwitchTo (VideoFrame *frame)
 Switch to the mode detected by DetectLetterbox.

Private Attributes

bool isDetectLetterbox
int firstFrameChecked
AdjustFillMode detectLetterboxDefaultMode
AdjustFillMode detectLetterboxDetectedMode
long long detectLetterboxSwitchFrame
long long detectLetterboxPossibleHalfFrame
long long detectLetterboxPossibleFullFrame
int detectLetterboxConsecutiveCounter
MythPlayerm_player
int detectLetterboxLimit
QMutex detectLetterboxLock

Detailed Description

Definition at line 9 of file DetectLetterbox.h.


Constructor & Destructor Documentation

DetectLetterbox::DetectLetterbox ( MythPlayer *const   player  ) 

Definition at line 9 of file DetectLetterbox.cpp.

DetectLetterbox::~DetectLetterbox (  ) 

Definition at line 25 of file DetectLetterbox.cpp.


Member Function Documentation

void DetectLetterbox::SetDetectLetterbox ( bool  detect  ) 

Definition at line 329 of file DetectLetterbox.cpp.

Referenced by TV::OSDDialogEvent(), and MythPlayer::ToggleAdjustFill().

bool DetectLetterbox::GetDetectLetterbox (  )  const

Definition at line 337 of file DetectLetterbox.cpp.

Referenced by Detect(), TV::OSDDialogEvent(), and SwitchTo().

void DetectLetterbox::Detect ( VideoFrame frame  ) 

Detects if this frame is or is not letterboxed.

If a change is detected detectLetterboxSwitchFrame and detectLetterboxDetectedMode are set.

Definition at line 35 of file DetectLetterbox.cpp.

Referenced by MythPlayer::ReleaseNextVideoFrame().

void DetectLetterbox::SwitchTo ( VideoFrame frame  ) 

Switch to the mode detected by DetectLetterbox.

Switch fill mode if a switch was detected for this frame.

Definition at line 293 of file DetectLetterbox.cpp.

Referenced by MythPlayer::DisplayNormalFrame().


Member Data Documentation

Definition at line 20 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), GetDetectLetterbox(), and SetDetectLetterbox().

Definition at line 21 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), and SetDetectLetterbox().

Definition at line 23 of file DetectLetterbox.h.

Referenced by Detect(), and DetectLetterbox().

Definition at line 24 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), SetDetectLetterbox(), and SwitchTo().

Definition at line 25 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), SetDetectLetterbox(), and SwitchTo().

Definition at line 26 of file DetectLetterbox.h.

Referenced by Detect(), and DetectLetterbox().

Definition at line 27 of file DetectLetterbox.h.

Referenced by Detect(), and DetectLetterbox().

Definition at line 28 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), and SwitchTo().

Definition at line 30 of file DetectLetterbox.h.

Referenced by Detect(), DetectLetterbox(), SetDetectLetterbox(), and SwitchTo().

Definition at line 32 of file DetectLetterbox.h.

Referenced by Detect(), and DetectLetterbox().

Definition at line 33 of file DetectLetterbox.h.

Referenced by Detect(), and SwitchTo().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:57 2012 for MythTV by  doxygen 1.6.3