MythTV
master
|
#include <cmath>
#include <QApplication>
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythcorecontext.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 37 of file mythvideobounds.cpp.
|
inlinestatic |
Definition at line 39 of file mythvideobounds.cpp.
Referenced by MythVideoBounds::EmbedPlayback(), MythVideoBounds::InitBounds(), MythVideoBounds::PhysicalDPIChanged(), MythVideoBounds::SetITVResize(), and MythVideoBounds::SetWindowSize().
|
static |
Correct for rounding errors.
Definition at line 908 of file mythvideobounds.cpp.
Referenced by MythVideoBounds::ApplyLetterboxing(), and MythVideoBounds::PrintMoveResizeDebug().
|
static |
Definition at line 921 of file mythvideobounds.cpp.
Referenced by DecoderBase::SetSeekSnap(), MythVideoBounds::ToggleMoveBottomLine(), and MythVideoBounds::Zoom().