MythTV  master
Macros | Functions
videooutwindow.cpp File Reference
#include <QApplication>
#include "mythconfig.h"
#include "mythmiscutil.h"
#include "osd.h"
#include "mythplayer.h"
#include "videodisplayprofile.h"
#include "decoderbase.h"
#include "mythcorecontext.h"
#include "videooutwindow.h"
#include <cmath>
Include dependency graph for videooutwindow.cpp:

Go to the source code of this file.


#define LOC   QString("VideoWin: ")


static QSize fix_alignment (QSize raw)
 Correct for underalignment. More...
static float fix_aspect (float raw)
 Correct for rounding errors. More...
static float snap (float value, float snapto, float diff)

Macro Definition Documentation


#define LOC   QString("VideoWin: ")

Definition at line 39 of file videooutwindow.cpp.

Function Documentation

◆ fix_alignment()

static QSize fix_alignment ( QSize  raw)

Correct for underalignment.

Definition at line 1078 of file videooutwindow.cpp.

Referenced by VideoOutWindow::MoveResize().

◆ fix_aspect()

static float fix_aspect ( float  raw)

Correct for rounding errors.

Definition at line 1055 of file videooutwindow.cpp.

Referenced by VideoOutWindow::ApplyLetterboxing(), and VideoOutWindow::PrintMoveResizeDebug().

◆ snap()

static float snap ( float  value,
float  snapto,
float  diff