|
MythTV master
|
#include <cmath>#include <QApplication>#include "libmythbase/mythconfig.h"#include "libmythbase/mythcorecontext.h"#include "libmythbase/mythlogging.h"#include "libmythbase/mythmiscutil.h"#include "libmythui/mythmainwindow.h"#include "mythplayer.h"#include "mythvideobounds.h"Go to the source code of this file.
Macros | |
| #define | LOC QString("VideoBounds: ") |
Functions | |
| static QRect | SCALED_RECT (QRect src, qreal scale) |
| static float | fix_aspect (float raw) |
| Correct for rounding errors. More... | |
| static float | snap (float value, float snapto, float diff) |
| #define LOC QString("VideoBounds: ") |
Definition at line 38 of file mythvideobounds.cpp.
|
static |
Correct for rounding errors.
Definition at line 917 of file mythvideobounds.cpp.
Referenced by MythVideoBounds::ApplyLetterboxing(), and MythVideoBounds::PrintMoveResizeDebug().
|
inlinestatic |
Definition at line 40 of file mythvideobounds.cpp.
Referenced by MythVideoBounds::EmbedPlayback(), MythVideoBounds::InitBounds(), MythVideoBounds::PhysicalDPIChanged(), MythVideoBounds::SetITVResize(), and MythVideoBounds::SetWindowSize().
|
static |
Definition at line 930 of file mythvideobounds.cpp.
Referenced by DecoderBase::SetSeekSnap(), MythVideoBounds::ToggleMoveBottomLine(), and MythVideoBounds::Zoom().