#include <DetectLetterbox.h>
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 |
| MythPlayer * | m_player |
| int | detectLetterboxLimit |
| QMutex | detectLetterboxLock |
Definition at line 9 of file DetectLetterbox.h.
| DetectLetterbox::DetectLetterbox | ( | MythPlayer *const | player | ) |
Definition at line 9 of file DetectLetterbox.cpp.
| DetectLetterbox::~DetectLetterbox | ( | ) |
Definition at line 25 of file DetectLetterbox.cpp.
| 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().
bool DetectLetterbox::isDetectLetterbox [private] |
Definition at line 20 of file DetectLetterbox.h.
Referenced by Detect(), DetectLetterbox(), GetDetectLetterbox(), and SetDetectLetterbox().
int DetectLetterbox::firstFrameChecked [private] |
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().
long long DetectLetterbox::detectLetterboxSwitchFrame [private] |
Definition at line 25 of file DetectLetterbox.h.
Referenced by Detect(), DetectLetterbox(), SetDetectLetterbox(), and SwitchTo().
long long DetectLetterbox::detectLetterboxPossibleHalfFrame [private] |
Definition at line 26 of file DetectLetterbox.h.
Referenced by Detect(), and DetectLetterbox().
long long DetectLetterbox::detectLetterboxPossibleFullFrame [private] |
Definition at line 27 of file DetectLetterbox.h.
Referenced by Detect(), and DetectLetterbox().
int DetectLetterbox::detectLetterboxConsecutiveCounter [private] |
Definition at line 28 of file DetectLetterbox.h.
Referenced by Detect(), DetectLetterbox(), and SwitchTo().
MythPlayer* DetectLetterbox::m_player [private] |
Definition at line 30 of file DetectLetterbox.h.
Referenced by Detect(), DetectLetterbox(), SetDetectLetterbox(), and SwitchTo().
int DetectLetterbox::detectLetterboxLimit [private] |
Definition at line 32 of file DetectLetterbox.h.
Referenced by Detect(), and DetectLetterbox().
QMutex DetectLetterbox::detectLetterboxLock [private] |
Definition at line 33 of file DetectLetterbox.h.
Referenced by Detect(), and SwitchTo().
1.6.3