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

Go to the source code of this file.

Functions

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)
 

Function Documentation

◆ fix_alignment()

static QSize fix_alignment ( QSize  raw)
static

Correct for underalignment.

Definition at line 1024 of file videooutwindow.cpp.

Referenced by VideoOutWindow::MoveResize().

◆ fix_aspect()

static float fix_aspect ( float  raw)
static

Correct for rounding errors.

Definition at line 1002 of file videooutwindow.cpp.

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

◆ snap()

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